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

Unified Diff: ui/compositor/compositor.cc

Issue 19925003: WIP - command line experiment Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « ui/base/ui_base_switches_util.cc ('k') | ui/compositor/compositor_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 5226a6f7d994dd8e2ed0e29070af4b8d32e63697..0ed6514bfa7de7921360293950b6efd4beabbce1 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -486,29 +486,29 @@ Compositor::Compositor(CompositorDelegate* delegate,
settings.refresh_rate =
g_test_compositor_enabled ? kTestRefreshRate : kDefaultRefreshRate;
settings.partial_swap_enabled =
- !command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
+ !command_line->HasSwitch(switches::kUIDisablePartialSwap);
settings.per_tile_painting_enabled =
- command_line->HasSwitch(cc::switches::kUIEnablePerTilePainting);
+ command_line->HasSwitch(switches::kUIEnablePerTilePainting);
// These flags should be mirrored by renderer versions in content/renderer/.
settings.initial_debug_state.show_debug_borders =
- command_line->HasSwitch(cc::switches::kUIShowCompositedLayerBorders);
+ command_line->HasSwitch(switches::kUIShowCompositedLayerBorders);
settings.initial_debug_state.show_fps_counter =
- command_line->HasSwitch(cc::switches::kUIShowFPSCounter);
+ command_line->HasSwitch(switches::kUIShowFPSCounter);
settings.initial_debug_state.show_paint_rects =
command_line->HasSwitch(switches::kUIShowPaintRects);
settings.initial_debug_state.show_property_changed_rects =
- command_line->HasSwitch(cc::switches::kUIShowPropertyChangedRects);
+ command_line->HasSwitch(switches::kUIShowPropertyChangedRects);
settings.initial_debug_state.show_surface_damage_rects =
- command_line->HasSwitch(cc::switches::kUIShowSurfaceDamageRects);
+ command_line->HasSwitch(switches::kUIShowSurfaceDamageRects);
settings.initial_debug_state.show_screen_space_rects =
- command_line->HasSwitch(cc::switches::kUIShowScreenSpaceRects);
+ command_line->HasSwitch(switches::kUIShowScreenSpaceRects);
settings.initial_debug_state.show_replica_screen_space_rects =
- command_line->HasSwitch(cc::switches::kUIShowReplicaScreenSpaceRects);
+ command_line->HasSwitch(switches::kUIShowReplicaScreenSpaceRects);
settings.initial_debug_state.show_occluding_rects =
- command_line->HasSwitch(cc::switches::kUIShowOccludingRects);
+ command_line->HasSwitch(switches::kUIShowOccludingRects);
settings.initial_debug_state.show_non_occluding_rects =
- command_line->HasSwitch(cc::switches::kUIShowNonOccludingRects);
+ command_line->HasSwitch(switches::kUIShowNonOccludingRects);
scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner =
g_compositor_thread ? g_compositor_thread->message_loop_proxy() : NULL;
« no previous file with comments | « ui/base/ui_base_switches_util.cc ('k') | ui/compositor/compositor_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698