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 29 matching lines...) Expand all Loading... |
40 #include "core/frame/Settings.h" | 40 #include "core/frame/Settings.h" |
41 #include "core/frame/SubresourceIntegrity.h" | 41 #include "core/frame/SubresourceIntegrity.h" |
42 #include "core/html/CrossOriginAttribute.h" | 42 #include "core/html/CrossOriginAttribute.h" |
43 #include "core/html/HTMLImageElement.h" | 43 #include "core/html/HTMLImageElement.h" |
44 #include "core/html/HTMLMetaElement.h" | 44 #include "core/html/HTMLMetaElement.h" |
45 #include "core/html/LinkRelAttribute.h" | 45 #include "core/html/LinkRelAttribute.h" |
46 #include "core/html/parser/HTMLParserIdioms.h" | 46 #include "core/html/parser/HTMLParserIdioms.h" |
47 #include "core/html/parser/HTMLSrcsetParser.h" | 47 #include "core/html/parser/HTMLSrcsetParser.h" |
48 #include "core/html/parser/HTMLTokenizer.h" | 48 #include "core/html/parser/HTMLTokenizer.h" |
49 #include "core/loader/LinkLoader.h" | 49 #include "core/loader/LinkLoader.h" |
50 #include "platform/ContentType.h" | |
51 #include "platform/Histogram.h" | 50 #include "platform/Histogram.h" |
52 #include "platform/MIMETypeRegistry.h" | 51 #include "platform/network/mime/ContentType.h" |
| 52 #include "platform/network/mime/MIMETypeRegistry.h" |
53 #include "platform/tracing/TraceEvent.h" | 53 #include "platform/tracing/TraceEvent.h" |
54 #include <memory> | 54 #include <memory> |
55 | 55 |
56 namespace blink { | 56 namespace blink { |
57 | 57 |
58 namespace { | 58 namespace { |
59 | 59 |
60 // When adding values to this enum, update histograms.xml as well. | 60 // When adding values to this enum, update histograms.xml as well. |
61 enum DocumentWriteGatedEvaluation { | 61 enum DocumentWriteGatedEvaluation { |
62 GatedEvaluationScriptTooLong, | 62 GatedEvaluationScriptTooLong, |
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 defaultViewportMinWidth = document->viewportDefaultMinWidth(); | 902 defaultViewportMinWidth = document->viewportDefaultMinWidth(); |
903 viewportMetaZeroValuesQuirk = | 903 viewportMetaZeroValuesQuirk = |
904 document->settings() && | 904 document->settings() && |
905 document->settings()->viewportMetaZeroValuesQuirk(); | 905 document->settings()->viewportMetaZeroValuesQuirk(); |
906 viewportMetaEnabled = | 906 viewportMetaEnabled = |
907 document->settings() && document->settings()->viewportMetaEnabled(); | 907 document->settings() && document->settings()->viewportMetaEnabled(); |
908 referrerPolicy = document->getReferrerPolicy(); | 908 referrerPolicy = document->getReferrerPolicy(); |
909 } | 909 } |
910 | 910 |
911 } // namespace blink | 911 } // namespace blink |
OLD | NEW |