Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index 69aa9784c523e8f930aec9876cefdd901382f302..b4af5bb0787c31a4ec995394d3c98f376f4e9982 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -527,6 +527,8 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() { |
prefs.v8_cache_options = GetV8CacheOptions(); |
+ prefs.user_gesture_required_for_presentation = !command_line.HasSwitch( |
+ switches::kDisableGestureRequirementForPresentation); |
GetContentClient()->browser()->OverrideWebkitPrefs(this, &prefs); |
return prefs; |
} |