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

Unified Diff: cc/switches.cc

Issue 11552009: Add support for calculating the position of the top controls in the cc layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some unnecessary bits after addressing comments. Created 8 years 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
Index: cc/switches.cc
diff --git a/cc/switches.cc b/cc/switches.cc
index 2cbb459a7ed85ce984827065dd2aab8471676a10..6a2b7a0115db55f26ce15cd967f29f35f5277e47 100644
--- a/cc/switches.cc
+++ b/cc/switches.cc
@@ -24,6 +24,12 @@ const char kEnablePartialSwap[] = "enable-partial-swap";
const char kEnablePerTilePainting[] = "enable-per-tile-painting";
+const char kEnableTopControlsPositionCalculation[] =
+ "enable-top-controls-position-calculation";
+
+// The height of the movable top controls in density compensated pixels.
+const char kTopControlsHeight[] = "top-controls-height";
+
// Number of worker threads used to rasterize content.
const char kNumRasterThreads[] = "num-raster-threads";

Powered by Google App Engine
This is Rietveld 408576698