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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 1278583004: Undo overlay fullscreen video background transparency (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index 6653689deaaf557c223bc16b17fbe05605f83eb6..ddab071588224dc4d57cad5c0aea9ec7a7af9b7d 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -259,6 +259,11 @@ void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable)
RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable);
}
+void WebRuntimeFeatures::forceOverlayFullscreenVideo(bool enable)
+{
+ RuntimeEnabledFeatures::setForceOverlayFullscreenVideoEnabled(enable);
+}
+
void WebRuntimeFeatures::enableSharedWorker(bool enable)
{
RuntimeEnabledFeatures::setSharedWorkerEnabled(enable);

Powered by Google App Engine
This is Rietveld 408576698