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 15 matching lines...) Expand all Loading... |
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 "core/loader/DocumentLoader.h" | 30 #include "core/loader/DocumentLoader.h" |
31 | 31 |
32 #include "core/dom/Document.h" | 32 #include "core/dom/Document.h" |
33 #include "core/dom/DocumentParser.h" | 33 #include "core/dom/DocumentParser.h" |
34 #include "core/dom/WeakIdentifierMap.h" | 34 #include "core/dom/WeakIdentifierMap.h" |
35 #include "core/events/Event.h" | 35 #include "core/events/Event.h" |
36 #include "core/fetch/CSSStyleSheetResource.h" | |
37 #include "core/fetch/FetchInitiatorTypeNames.h" | 36 #include "core/fetch/FetchInitiatorTypeNames.h" |
38 #include "core/fetch/FetchRequest.h" | 37 #include "core/fetch/FetchRequest.h" |
39 #include "core/fetch/ImageResource.h" | 38 #include "core/fetch/ImageResource.h" |
40 #include "core/fetch/MemoryCache.h" | 39 #include "core/fetch/MemoryCache.h" |
41 #include "core/fetch/ResourceFetcher.h" | 40 #include "core/fetch/ResourceFetcher.h" |
42 #include "core/frame/FrameHost.h" | 41 #include "core/frame/FrameHost.h" |
43 #include "core/frame/LocalDOMWindow.h" | 42 #include "core/frame/LocalDOMWindow.h" |
44 #include "core/frame/LocalFrame.h" | 43 #include "core/frame/LocalFrame.h" |
45 #include "core/frame/Settings.h" | 44 #include "core/frame/Settings.h" |
46 #include "core/frame/csp/ContentSecurityPolicy.h" | 45 #include "core/frame/csp/ContentSecurityPolicy.h" |
47 #include "core/html/HTMLFrameOwnerElement.h" | 46 #include "core/html/HTMLFrameOwnerElement.h" |
48 #include "core/html/parser/HTMLDocumentParser.h" | 47 #include "core/html/parser/HTMLDocumentParser.h" |
49 #include "core/html/parser/TextResourceDecoder.h" | 48 #include "core/html/parser/TextResourceDecoder.h" |
50 #include "core/inspector/ConsoleMessage.h" | 49 #include "core/inspector/ConsoleMessage.h" |
51 #include "core/inspector/InspectorInstrumentation.h" | 50 #include "core/inspector/InspectorInstrumentation.h" |
52 #include "core/loader/FrameFetchContext.h" | 51 #include "core/loader/FrameFetchContext.h" |
53 #include "core/loader/FrameLoader.h" | 52 #include "core/loader/FrameLoader.h" |
54 #include "core/loader/FrameLoaderClient.h" | 53 #include "core/loader/FrameLoaderClient.h" |
55 #include "core/loader/LinkLoader.h" | 54 #include "core/loader/LinkLoader.h" |
56 #include "core/loader/NetworkHintsInterface.h" | 55 #include "core/loader/NetworkHintsInterface.h" |
57 #include "core/loader/ProgressTracker.h" | 56 #include "core/loader/ProgressTracker.h" |
58 #include "core/loader/appcache/ApplicationCacheHost.h" | 57 #include "core/loader/appcache/ApplicationCacheHost.h" |
| 58 #include "core/loader/resource/CSSStyleSheetResource.h" |
59 #include "core/loader/resource/FontResource.h" | 59 #include "core/loader/resource/FontResource.h" |
60 #include "core/loader/resource/ScriptResource.h" | 60 #include "core/loader/resource/ScriptResource.h" |
61 #include "core/page/FrameTree.h" | 61 #include "core/page/FrameTree.h" |
62 #include "core/page/Page.h" | 62 #include "core/page/Page.h" |
63 #include "platform/HTTPNames.h" | 63 #include "platform/HTTPNames.h" |
64 #include "platform/MIMETypeRegistry.h" | 64 #include "platform/MIMETypeRegistry.h" |
65 #include "platform/UserGestureIndicator.h" | 65 #include "platform/UserGestureIndicator.h" |
66 #include "platform/mhtml/ArchiveResource.h" | 66 #include "platform/mhtml/ArchiveResource.h" |
67 #include "platform/network/ContentSecurityPolicyResponseHeaders.h" | 67 #include "platform/network/ContentSecurityPolicyResponseHeaders.h" |
68 #include "platform/network/HTTPParsers.h" | 68 #include "platform/network/HTTPParsers.h" |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 m_writer ? m_writer->encoding() : emptyAtom, true, | 794 m_writer ? m_writer->encoding() : emptyAtom, true, |
795 ForceSynchronousParsing); | 795 ForceSynchronousParsing); |
796 if (!source.isNull()) | 796 if (!source.isNull()) |
797 m_writer->appendReplacingData(source); | 797 m_writer->appendReplacingData(source); |
798 endWriting(); | 798 endWriting(); |
799 } | 799 } |
800 | 800 |
801 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 801 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
802 | 802 |
803 } // namespace blink | 803 } // namespace blink |
OLD | NEW |