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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2738893002: Add flag for enabling/disabling video fullscreen detection (Closed)
Patch Set: rebased Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 0ea03be98e613dbdeb2b77d3ef46cbb452a732b2..ab6e37ccdcf1b79e8d86ae26d031d12d4645ced6 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -388,6 +388,10 @@ void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
}
+void WebRuntimeFeatures::enableVideoFullscreenDetection(bool enable) {
+ RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable);
+}
+
void WebRuntimeFeatures::enableMediaControlsOverlayPlayButton(bool enable) {
RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable);
}
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698