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" |
47 #include "core/loader/LinkLoader.h" | 48 #include "core/loader/LinkLoader.h" |
48 #include "platform/ContentType.h" | 49 #include "platform/ContentType.h" |
49 #include "platform/MIMETypeRegistry.h" | 50 #include "platform/MIMETypeRegistry.h" |
50 #include "platform/TraceEvent.h" | 51 #include "platform/TraceEvent.h" |
51 | 52 |
52 namespace blink { | 53 namespace blink { |
53 | 54 |
54 using namespace HTMLNames; | 55 using namespace HTMLNames; |
55 | 56 |
56 static bool match(const StringImpl* impl, const QualifiedName& qName) | 57 static bool match(const StringImpl* impl, const QualifiedName& qName) |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 ASSERT(isMainThread()); | 693 ASSERT(isMainThread()); |
693 ASSERT(document); | 694 ASSERT(document); |
694 doHtmlPreloadScanning = !document->settings() || document->settings()->doHtm
lPreloadScanning(); | 695 doHtmlPreloadScanning = !document->settings() || document->settings()->doHtm
lPreloadScanning(); |
695 defaultViewportMinWidth = document->viewportDefaultMinWidth(); | 696 defaultViewportMinWidth = document->viewportDefaultMinWidth(); |
696 viewportMetaZeroValuesQuirk = document->settings() && document->settings()->
viewportMetaZeroValuesQuirk(); | 697 viewportMetaZeroValuesQuirk = document->settings() && document->settings()->
viewportMetaZeroValuesQuirk(); |
697 viewportMetaEnabled = document->settings() && document->settings()->viewport
MetaEnabled(); | 698 viewportMetaEnabled = document->settings() && document->settings()->viewport
MetaEnabled(); |
698 referrerPolicy = ReferrerPolicyDefault; | 699 referrerPolicy = ReferrerPolicyDefault; |
699 } | 700 } |
700 | 701 |
701 } // namespace blink | 702 } // namespace blink |
OLD | NEW |