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

Unified Diff: chrome/browser/tab_contents/render_view_host_delegate_helper.cc

Issue 8404026: Add a command line flag (--enable-fixed-position-compositing) for enabling compositing (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « no previous file | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc
===================================================================
--- chrome/browser/tab_contents/render_view_host_delegate_helper.cc (revision 107226)
+++ chrome/browser/tab_contents/render_view_host_delegate_helper.cc (working copy)
@@ -445,6 +445,8 @@
command_line.HasSwitch(switches::kEnableThreadedCompositing);
web_prefs.force_compositing_mode =
command_line.HasSwitch(switches::kForceCompositingMode);
+ web_prefs.fixed_position_compositing_enabled =
+ command_line.HasSwitch(switches::kEnableCompositingForFixedPosition);
web_prefs.allow_webui_compositing =
command_line.HasSwitch(switches::kAllowWebUICompositing);
web_prefs.accelerated_2d_canvas_enabled =
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698