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 26 matching lines...) Expand all Loading... |
37 #include "core/fetch/IntegrityMetadata.h" | 37 #include "core/fetch/IntegrityMetadata.h" |
38 #include "core/frame/Settings.h" | 38 #include "core/frame/Settings.h" |
39 #include "core/frame/SubresourceIntegrity.h" | 39 #include "core/frame/SubresourceIntegrity.h" |
40 #include "core/html/CrossOriginAttribute.h" | 40 #include "core/html/CrossOriginAttribute.h" |
41 #include "core/html/HTMLImageElement.h" | 41 #include "core/html/HTMLImageElement.h" |
42 #include "core/html/HTMLMetaElement.h" | 42 #include "core/html/HTMLMetaElement.h" |
43 #include "core/html/LinkRelAttribute.h" | 43 #include "core/html/LinkRelAttribute.h" |
44 #include "core/html/parser/HTMLParserIdioms.h" | 44 #include "core/html/parser/HTMLParserIdioms.h" |
45 #include "core/html/parser/HTMLSrcsetParser.h" | 45 #include "core/html/parser/HTMLSrcsetParser.h" |
46 #include "core/html/parser/HTMLTokenizer.h" | 46 #include "core/html/parser/HTMLTokenizer.h" |
47 #include "core/html/parser/ResourcePreloader.h" | |
48 #include "core/loader/LinkLoader.h" | 47 #include "core/loader/LinkLoader.h" |
49 #include "platform/ContentType.h" | 48 #include "platform/ContentType.h" |
50 #include "platform/Histogram.h" | 49 #include "platform/Histogram.h" |
51 #include "platform/MIMETypeRegistry.h" | 50 #include "platform/MIMETypeRegistry.h" |
52 #include "platform/TraceEvent.h" | 51 #include "platform/TraceEvent.h" |
53 | 52 |
54 namespace blink { | 53 namespace blink { |
55 | 54 |
56 namespace { | 55 namespace { |
57 | 56 |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 ASSERT(document); | 798 ASSERT(document); |
800 doHtmlPreloadScanning = !document->settings() || document->settings()->doHtm
lPreloadScanning(); | 799 doHtmlPreloadScanning = !document->settings() || document->settings()->doHtm
lPreloadScanning(); |
801 doDocumentWritePreloadScanning = doHtmlPreloadScanning && document->frame()
&& document->frame()->isMainFrame(); | 800 doDocumentWritePreloadScanning = doHtmlPreloadScanning && document->frame()
&& document->frame()->isMainFrame(); |
802 defaultViewportMinWidth = document->viewportDefaultMinWidth(); | 801 defaultViewportMinWidth = document->viewportDefaultMinWidth(); |
803 viewportMetaZeroValuesQuirk = document->settings() && document->settings()->
viewportMetaZeroValuesQuirk(); | 802 viewportMetaZeroValuesQuirk = document->settings() && document->settings()->
viewportMetaZeroValuesQuirk(); |
804 viewportMetaEnabled = document->settings() && document->settings()->viewport
MetaEnabled(); | 803 viewportMetaEnabled = document->settings() && document->settings()->viewport
MetaEnabled(); |
805 referrerPolicy = document->getReferrerPolicy(); | 804 referrerPolicy = document->getReferrerPolicy(); |
806 } | 805 } |
807 | 806 |
808 } // namespace blink | 807 } // namespace blink |
OLD | NEW |