| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 #include "core/loader/DocumentLoader.h" | 31 #include "core/loader/DocumentLoader.h" |
| 32 | 32 |
| 33 #include "ApplicationCacheHost.h" | |
| 34 #include "ArchiveResourceCollection.h" | |
| 35 #include "CachedResourceLoader.h" | |
| 36 #include "DOMWindow.h" | 33 #include "DOMWindow.h" |
| 37 #include "Document.h" | 34 #include "Document.h" |
| 38 #include "DocumentParser.h" | 35 #include "DocumentParser.h" |
| 39 #include "Event.h" | 36 #include "Event.h" |
| 40 #include "Frame.h" | 37 #include "Frame.h" |
| 41 #include "FrameTree.h" | 38 #include "FrameTree.h" |
| 42 #include "HTMLFormElement.h" | 39 #include "HTMLFormElement.h" |
| 43 #include "HTMLFrameOwnerElement.h" | 40 #include "HTMLFrameOwnerElement.h" |
| 44 #include "HistoryItem.h" | 41 #include "HistoryItem.h" |
| 45 #include "InspectorInstrumentation.h" | 42 #include "InspectorInstrumentation.h" |
| 46 #include "MHTMLArchive.h" | |
| 47 #include "MemoryCache.h" | |
| 48 #include "Page.h" | 43 #include "Page.h" |
| 49 #include "SecurityPolicy.h" | 44 #include "SecurityPolicy.h" |
| 50 #include "Settings.h" | 45 #include "Settings.h" |
| 51 #include "WebCoreMemoryInstrumentation.h" | 46 #include "WebCoreMemoryInstrumentation.h" |
| 52 #include "core/loader/DocumentWriter.h" | 47 #include "core/loader/DocumentWriter.h" |
| 53 #include "core/loader/FormState.h" | 48 #include "core/loader/FormState.h" |
| 54 #include "core/loader/FrameLoader.h" | 49 #include "core/loader/FrameLoader.h" |
| 55 #include "core/loader/FrameLoaderClient.h" | 50 #include "core/loader/FrameLoaderClient.h" |
| 56 #include "core/loader/ResourceLoader.h" | 51 #include "core/loader/ResourceLoader.h" |
| 57 #include "core/loader/TextResourceDecoder.h" | 52 #include "core/loader/TextResourceDecoder.h" |
| 58 #include "core/loader/UniqueIdentifier.h" | 53 #include "core/loader/UniqueIdentifier.h" |
| 54 #include "core/loader/appcache/ApplicationCacheHost.h" |
| 55 #include "core/loader/archive/ArchiveResourceCollection.h" |
| 56 #include "core/loader/archive/MHTMLArchive.h" |
| 57 #include "core/loader/cache/CachedResourceLoader.h" |
| 58 #include "core/loader/cache/MemoryCache.h" |
| 59 #include "core/platform/Logging.h" | 59 #include "core/platform/Logging.h" |
| 60 #include "core/platform/SchemeRegistry.h" | 60 #include "core/platform/SchemeRegistry.h" |
| 61 #include <wtf/Assertions.h> | 61 #include <wtf/Assertions.h> |
| 62 #include <wtf/MemoryInstrumentationHashMap.h> | 62 #include <wtf/MemoryInstrumentationHashMap.h> |
| 63 #include <wtf/MemoryInstrumentationHashSet.h> | 63 #include <wtf/MemoryInstrumentationHashSet.h> |
| 64 #include <wtf/MemoryInstrumentationVector.h> | 64 #include <wtf/MemoryInstrumentationVector.h> |
| 65 #include <wtf/text/CString.h> | 65 #include <wtf/text/CString.h> |
| 66 #include <wtf/text/WTFString.h> | 66 #include <wtf/text/WTFString.h> |
| 67 #include <wtf/unicode/Unicode.h> | 67 #include <wtf/unicode/Unicode.h> |
| 68 | 68 |
| (...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1167 commitLoad(resourceData->data(), resourceData->size()); | 1167 commitLoad(resourceData->data(), resourceData->size()); |
| 1168 } | 1168 } |
| 1169 | 1169 |
| 1170 void DocumentLoader::handledOnloadEvents() | 1170 void DocumentLoader::handledOnloadEvents() |
| 1171 { | 1171 { |
| 1172 m_wasOnloadHandled = true; | 1172 m_wasOnloadHandled = true; |
| 1173 applicationCacheHost()->stopDeferringEvents(); | 1173 applicationCacheHost()->stopDeferringEvents(); |
| 1174 } | 1174 } |
| 1175 | 1175 |
| 1176 } // namespace WebCore | 1176 } // namespace WebCore |
| OLD | NEW |