Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp

Issue 2691343010: Split ConditionalFeatures (Closed)
Patch Set: Rebase, code review changes Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "bindings/modules/v8/ConditionalFeaturesForModules.h" 5 #include "bindings/modules/v8/ConditionalFeaturesForModules.h"
6 6
7 #include "bindings/core/v8/ConditionalFeatures.h"
8 #include "bindings/core/v8/ConditionalFeaturesForCore.h"
7 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
8 #include "bindings/core/v8/V8DedicatedWorkerGlobalScope.h" 10 #include "bindings/core/v8/V8DedicatedWorkerGlobalScope.h"
9 #include "bindings/core/v8/V8Navigator.h" 11 #include "bindings/core/v8/V8Navigator.h"
10 #include "bindings/core/v8/V8SharedWorkerGlobalScope.h" 12 #include "bindings/core/v8/V8SharedWorkerGlobalScope.h"
11 #include "bindings/core/v8/V8Window.h" 13 #include "bindings/core/v8/V8Window.h"
12 #include "bindings/core/v8/V8WorkerNavigator.h" 14 #include "bindings/core/v8/V8WorkerNavigator.h"
13 #include "bindings/modules/v8/V8DedicatedWorkerGlobalScopePartial.h" 15 #include "bindings/modules/v8/V8DedicatedWorkerGlobalScopePartial.h"
14 #include "bindings/modules/v8/V8FetchEvent.h" 16 #include "bindings/modules/v8/V8FetchEvent.h"
15 #include "bindings/modules/v8/V8Gamepad.h" 17 #include "bindings/modules/v8/V8Gamepad.h"
16 #include "bindings/modules/v8/V8GamepadButton.h" 18 #include "bindings/modules/v8/V8GamepadButton.h"
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 &V8Navigator::wrapperTypeInfo, &prototypeObject, 243 &V8Navigator::wrapperTypeInfo, &prototypeObject,
242 &interfaceObject)) { 244 &interfaceObject)) {
243 V8NavigatorPartial::installWebVR(isolate, world, v8::Local<v8::Object>(), 245 V8NavigatorPartial::installWebVR(isolate, world, v8::Local<v8::Object>(),
244 prototypeObject, interfaceObject); 246 prototypeObject, interfaceObject);
245 } 247 }
246 return; 248 return;
247 } 249 }
248 } 250 }
249 251
250 void registerInstallConditionalFeaturesForModules() { 252 void registerInstallConditionalFeaturesForModules() {
253 registerInstallConditionalFeaturesForCore();
251 s_originalInstallConditionalFeaturesFunction = 254 s_originalInstallConditionalFeaturesFunction =
252 setInstallConditionalFeaturesFunction( 255 setInstallConditionalFeaturesFunction(
253 &installConditionalFeaturesForModules); 256 &installConditionalFeaturesForModules);
254 s_originalInstallPendingConditionalFeatureFunction = 257 s_originalInstallPendingConditionalFeatureFunction =
255 setInstallPendingConditionalFeatureFunction( 258 setInstallPendingConditionalFeatureFunction(
256 &installPendingConditionalFeatureForModules); 259 &installPendingConditionalFeatureForModules);
257 } 260 }
258 261
259 } // namespace blink 262 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698