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

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

Issue 2485773002: Enable ImageCapture origin trial experiment (Closed)
Patch Set: reillyg@ comment Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/imagecapture/ImageCapture.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
diff --git a/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
index 5213e83fb6f3357c5bcce680b3992a7247b2040c..c078544a945940290359f0625400a428c75071ea 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
@@ -61,6 +61,10 @@ void installConditionalFeaturesForModules(
interfaceObject);
}
} else if (wrapperTypeInfo == &V8Window::wrapperTypeInfo) {
+ if (OriginTrials::imageCaptureEnabled(executionContext)) {
+ V8WindowPartial::installImageCapture(isolate, world, global,
+ prototypeObject, interfaceObject);
+ }
if (OriginTrials::webUSBEnabled(executionContext)) {
V8WindowPartial::installWebUSB(isolate, world, global, prototypeObject,
interfaceObject);
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/imagecapture/ImageCapture.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698