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

Unified Diff: content/renderer/render_thread.cc

Issue 7744016: Make Chromium disable the fullscreen API if --enable-fullscreen is absent from (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « content/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread.cc
diff --git a/content/renderer/render_thread.cc b/content/renderer/render_thread.cc
index 771e66387fd0b7fa076faf78f8cee2586847d224..bda81425b287715549de030e81645e819cdabfcb 100644
--- a/content/renderer/render_thread.cc
+++ b/content/renderer/render_thread.cc
@@ -473,6 +473,9 @@ void RenderThread::EnsureWebKitInitialized() {
WebKit::WebRuntimeFeatures::enableMediaStream(
command_line.HasSwitch(switches::kEnableMediaStream));
+ WebKit::WebRuntimeFeatures::enableFullScreenAPI(
+ command_line.HasSwitch(switches::kEnableFullScreen));
+
#if defined(OS_CHROMEOS)
// TODO(crogers): enable once Web Audio has been tested and optimized.
WebRuntimeFeatures::enableWebAudio(false);
« no previous file with comments | « content/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698