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

Side by Side Diff: cc/switches.cc

Issue 12095071: Convert top controls to use DIP instead of PX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layer_tree_settings.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/switches.h" 5 #include "cc/switches.h"
6 6
7 namespace cc { 7 namespace cc {
8 namespace switches { 8 namespace switches {
9 9
10 // On platforms where checkerboards are used, prefer background colors instead 10 // On platforms where checkerboards are used, prefer background colors instead
(...skipping 12 matching lines...) Expand all
23 const char kEnablePartialSwap[] = "enable-partial-swap"; 23 const char kEnablePartialSwap[] = "enable-partial-swap";
24 24
25 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 25 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
26 26
27 // Try to finish display pipeline before vsync tick 27 // Try to finish display pipeline before vsync tick
28 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling"; 28 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling";
29 29
30 const char kEnableTopControlsPositionCalculation[] = 30 const char kEnableTopControlsPositionCalculation[] =
31 "enable-top-controls-position-calculation"; 31 "enable-top-controls-position-calculation";
32 32
33 // The height of the movable top controls in screen pixels. 33 // The height of the movable top controls.
34 const char kTopControlsHeight[] = "top-controls-height"; 34 const char kTopControlsHeight[] = "top-controls-height";
35 35
36 // Number of worker threads used to rasterize content. 36 // Number of worker threads used to rasterize content.
37 const char kNumRasterThreads[] = "num-raster-threads"; 37 const char kNumRasterThreads[] = "num-raster-threads";
38 38
39 // Show rects in the HUD around layers whose properties have changed. 39 // Show rects in the HUD around layers whose properties have changed.
40 const char kShowPropertyChangedRects[] = "show-property-changed-rects"; 40 const char kShowPropertyChangedRects[] = "show-property-changed-rects";
41 41
42 // Show rects in the HUD around damage as it is recorded into each render 42 // Show rects in the HUD around damage as it is recorded into each render
43 // surface. 43 // surface.
(...skipping 19 matching lines...) Expand all
63 // of pixels culled, and the number of pixels drawn, for each frame. 63 // of pixels culled, and the number of pixels drawn, for each frame.
64 const char kTraceOverdraw[] = "trace-overdraw"; 64 const char kTraceOverdraw[] = "trace-overdraw";
65 65
66 // Re-rasters everything multiple times to simulate a much slower machine. 66 // Re-rasters everything multiple times to simulate a much slower machine.
67 // Give a scale factor to cause raster to take that many times longer to 67 // Give a scale factor to cause raster to take that many times longer to
68 // complete, such as --slow-down-raster-scale-factor=25. 68 // complete, such as --slow-down-raster-scale-factor=25.
69 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; 69 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor";
70 70
71 } // namespace switches 71 } // namespace switches
72 } // namespace cc 72 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_tree_settings.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698