OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 #include "core/svg/SVGImageElement.h" | 114 #include "core/svg/SVGImageElement.h" |
115 #include "core/testing/CallbackFunctionTest.h" | 115 #include "core/testing/CallbackFunctionTest.h" |
116 #include "core/testing/DictionaryTest.h" | 116 #include "core/testing/DictionaryTest.h" |
117 #include "core/testing/GCObservation.h" | 117 #include "core/testing/GCObservation.h" |
118 #include "core/testing/InternalRuntimeFlags.h" | 118 #include "core/testing/InternalRuntimeFlags.h" |
119 #include "core/testing/InternalSettings.h" | 119 #include "core/testing/InternalSettings.h" |
120 #include "core/testing/LayerRect.h" | 120 #include "core/testing/LayerRect.h" |
121 #include "core/testing/LayerRectList.h" | 121 #include "core/testing/LayerRectList.h" |
122 #include "core/testing/MockHyphenation.h" | 122 #include "core/testing/MockHyphenation.h" |
123 #include "core/testing/OriginTrialsTest.h" | 123 #include "core/testing/OriginTrialsTest.h" |
124 #include "core/testing/PrivateScriptTest.h" | |
125 #include "core/testing/TypeConversions.h" | 124 #include "core/testing/TypeConversions.h" |
126 #include "core/testing/UnionTypesTest.h" | 125 #include "core/testing/UnionTypesTest.h" |
127 #include "core/workers/WorkerThread.h" | 126 #include "core/workers/WorkerThread.h" |
128 #include "gpu/command_buffer/client/gles2_interface.h" | 127 #include "gpu/command_buffer/client/gles2_interface.h" |
129 #include "platform/Cursor.h" | 128 #include "platform/Cursor.h" |
130 #include "platform/InstanceCounters.h" | 129 #include "platform/InstanceCounters.h" |
131 #include "platform/Language.h" | 130 #include "platform/Language.h" |
132 #include "platform/LayoutLocale.h" | 131 #include "platform/LayoutLocale.h" |
133 #include "platform/RuntimeEnabledFeatures.h" | 132 #include "platform/RuntimeEnabledFeatures.h" |
134 #include "platform/geometry/IntRect.h" | 133 #include "platform/geometry/IntRect.h" |
(...skipping 2145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2280 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy( | 2279 void Internals::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy( |
2281 const String& scheme) { | 2280 const String& scheme) { |
2282 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy( | 2281 SchemeRegistry::removeURLSchemeRegisteredAsBypassingContentSecurityPolicy( |
2283 scheme); | 2282 scheme); |
2284 } | 2283 } |
2285 | 2284 |
2286 TypeConversions* Internals::typeConversions() const { | 2285 TypeConversions* Internals::typeConversions() const { |
2287 return TypeConversions::create(); | 2286 return TypeConversions::create(); |
2288 } | 2287 } |
2289 | 2288 |
2290 PrivateScriptTest* Internals::privateScriptTest() const { | |
2291 if (!frame()) | |
2292 return nullptr; | |
2293 | |
2294 return PrivateScriptTest::create(frame()->document()); | |
2295 } | |
2296 | |
2297 DictionaryTest* Internals::dictionaryTest() const { | 2289 DictionaryTest* Internals::dictionaryTest() const { |
2298 return DictionaryTest::create(); | 2290 return DictionaryTest::create(); |
2299 } | 2291 } |
2300 | 2292 |
2301 UnionTypesTest* Internals::unionTypesTest() const { | 2293 UnionTypesTest* Internals::unionTypesTest() const { |
2302 return UnionTypesTest::create(); | 2294 return UnionTypesTest::create(); |
2303 } | 2295 } |
2304 | 2296 |
2305 OriginTrialsTest* Internals::originTrialsTest() const { | 2297 OriginTrialsTest* Internals::originTrialsTest() const { |
2306 return OriginTrialsTest::create(); | 2298 return OriginTrialsTest::create(); |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3059 | 3051 |
3060 void Internals::crash() { | 3052 void Internals::crash() { |
3061 CHECK(false) << "Intentional crash"; | 3053 CHECK(false) << "Intentional crash"; |
3062 } | 3054 } |
3063 | 3055 |
3064 void Internals::setIsLowEndDevice(bool isLowEndDevice) { | 3056 void Internals::setIsLowEndDevice(bool isLowEndDevice) { |
3065 MemoryCoordinator::setIsLowEndDeviceForTesting(isLowEndDevice); | 3057 MemoryCoordinator::setIsLowEndDeviceForTesting(isLowEndDevice); |
3066 } | 3058 } |
3067 | 3059 |
3068 } // namespace blink | 3060 } // namespace blink |
OLD | NEW |