| 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 17 matching lines...) Expand all Loading... |
| 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" | 33 #include "Document.h" |
| 34 #include "DocumentParser.h" | 34 #include "DocumentParser.h" |
| 35 #include "Event.h" | 35 #include "Event.h" |
| 36 #include "HTMLFormElement.h" | 36 #include "HTMLFormElement.h" |
| 37 #include "HTMLFrameOwnerElement.h" | 37 #include "HTMLFrameOwnerElement.h" |
| 38 #include "HistoryItem.h" | |
| 39 #include "InspectorInstrumentation.h" | 38 #include "InspectorInstrumentation.h" |
| 40 #include "WebCoreMemoryInstrumentation.h" | 39 #include "WebCoreMemoryInstrumentation.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" |
| 50 #include "core/loader/archive/MHTMLArchive.h" | 50 #include "core/loader/archive/MHTMLArchive.h" |
| (...skipping 1116 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 |