OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ | 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ |
4 * Copyright (C) 2010 Google Inc. All Rights Reserved. | 4 * Copyright (C) 2010 Google Inc. All Rights Reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
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 27 matching lines...) Expand all Loading... |
38 #include "core/frame/LocalFrame.h" | 38 #include "core/frame/LocalFrame.h" |
39 #include "core/frame/Settings.h" | 39 #include "core/frame/Settings.h" |
40 #include "core/frame/SubresourceIntegrity.h" | 40 #include "core/frame/SubresourceIntegrity.h" |
41 #include "core/html/CrossOriginAttribute.h" | 41 #include "core/html/CrossOriginAttribute.h" |
42 #include "core/html/HTMLImageElement.h" | 42 #include "core/html/HTMLImageElement.h" |
43 #include "core/html/HTMLMetaElement.h" | 43 #include "core/html/HTMLMetaElement.h" |
44 #include "core/html/LinkRelAttribute.h" | 44 #include "core/html/LinkRelAttribute.h" |
45 #include "core/html/parser/HTMLParserIdioms.h" | 45 #include "core/html/parser/HTMLParserIdioms.h" |
46 #include "core/html/parser/HTMLSrcsetParser.h" | 46 #include "core/html/parser/HTMLSrcsetParser.h" |
47 #include "core/html/parser/HTMLTokenizer.h" | 47 #include "core/html/parser/HTMLTokenizer.h" |
| 48 #include "core/html/parser/ResourcePreloader.h" |
48 #include "core/loader/LinkLoader.h" | 49 #include "core/loader/LinkLoader.h" |
49 #include "platform/ContentType.h" | 50 #include "platform/ContentType.h" |
50 #include "platform/Histogram.h" | 51 #include "platform/Histogram.h" |
51 #include "platform/MIMETypeRegistry.h" | 52 #include "platform/MIMETypeRegistry.h" |
52 #include "platform/TraceEvent.h" | 53 #include "platform/TraceEvent.h" |
53 #include <memory> | 54 #include <memory> |
54 | 55 |
55 namespace blink { | 56 namespace blink { |
56 | 57 |
57 namespace { | 58 namespace { |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 ASSERT(document); | 811 ASSERT(document); |
811 doHtmlPreloadScanning = !document->settings() || document->settings()->doHtm
lPreloadScanning(); | 812 doHtmlPreloadScanning = !document->settings() || document->settings()->doHtm
lPreloadScanning(); |
812 doDocumentWritePreloadScanning = doHtmlPreloadScanning && document->frame()
&& document->frame()->isMainFrame(); | 813 doDocumentWritePreloadScanning = doHtmlPreloadScanning && document->frame()
&& document->frame()->isMainFrame(); |
813 defaultViewportMinWidth = document->viewportDefaultMinWidth(); | 814 defaultViewportMinWidth = document->viewportDefaultMinWidth(); |
814 viewportMetaZeroValuesQuirk = document->settings() && document->settings()->
viewportMetaZeroValuesQuirk(); | 815 viewportMetaZeroValuesQuirk = document->settings() && document->settings()->
viewportMetaZeroValuesQuirk(); |
815 viewportMetaEnabled = document->settings() && document->settings()->viewport
MetaEnabled(); | 816 viewportMetaEnabled = document->settings() && document->settings()->viewport
MetaEnabled(); |
816 referrerPolicy = document->getReferrerPolicy(); | 817 referrerPolicy = document->getReferrerPolicy(); |
817 } | 818 } |
818 | 819 |
819 } // namespace blink | 820 } // namespace blink |
OLD | NEW |