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 "Document.h" | |
34 #include "DocumentParser.h" | |
35 #include "Event.h" | |
36 #include "HTMLFormElement.h" | 33 #include "HTMLFormElement.h" |
37 #include "HTMLFrameOwnerElement.h" | 34 #include "HTMLFrameOwnerElement.h" |
38 #include "InspectorInstrumentation.h" | 35 #include "InspectorInstrumentation.h" |
39 #include "WebCoreMemoryInstrumentation.h" | 36 #include "core/dom/Document.h" |
| 37 #include "core/dom/DocumentParser.h" |
| 38 #include "core/dom/Event.h" |
| 39 #include "core/dom/WebCoreMemoryInstrumentation.h" |
40 #include "core/history/HistoryItem.h" | 40 #include "core/history/HistoryItem.h" |
41 #include "core/loader/DocumentWriter.h" | 41 #include "core/loader/DocumentWriter.h" |
42 #include "core/loader/FormState.h" | 42 #include "core/loader/FormState.h" |
43 #include "core/loader/FrameLoader.h" | 43 #include "core/loader/FrameLoader.h" |
44 #include "core/loader/FrameLoaderClient.h" | 44 #include "core/loader/FrameLoaderClient.h" |
45 #include "core/loader/ResourceLoader.h" | 45 #include "core/loader/ResourceLoader.h" |
46 #include "core/loader/TextResourceDecoder.h" | 46 #include "core/loader/TextResourceDecoder.h" |
47 #include "core/loader/UniqueIdentifier.h" | 47 #include "core/loader/UniqueIdentifier.h" |
48 #include "core/loader/appcache/ApplicationCacheHost.h" | 48 #include "core/loader/appcache/ApplicationCacheHost.h" |
49 #include "core/loader/archive/ArchiveResourceCollection.h" | 49 #include "core/loader/archive/ArchiveResourceCollection.h" |
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1173 commitLoad(resourceData->data(), resourceData->size()); | 1173 commitLoad(resourceData->data(), resourceData->size()); |
1174 } | 1174 } |
1175 | 1175 |
1176 void DocumentLoader::handledOnloadEvents() | 1176 void DocumentLoader::handledOnloadEvents() |
1177 { | 1177 { |
1178 m_wasOnloadHandled = true; | 1178 m_wasOnloadHandled = true; |
1179 applicationCacheHost()->stopDeferringEvents(); | 1179 applicationCacheHost()->stopDeferringEvents(); |
1180 } | 1180 } |
1181 | 1181 |
1182 } // namespace WebCore | 1182 } // namespace WebCore |
OLD | NEW |