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

Unified Diff: cc/layer_tree_settings.h

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/layer_tree_settings.h
diff --git a/cc/layer_tree_settings.h b/cc/layer_tree_settings.h
index 847795f810fcc068f26afb6edc130650cfe0fa54..6a8cb07e2e3f2ca9962bf482c7f2b0012c977001 100644
--- a/cc/layer_tree_settings.h
+++ b/cc/layer_tree_settings.h
@@ -29,9 +29,11 @@ class CC_EXPORT LayerTreeSettings {
bool showOverdrawInTracing;
bool canUseLCDText;
bool shouldClearRootRenderPass;
+ bool calculateTopControlsPosition;
double refreshRate;
size_t maxPartialTextureUpdates;
size_t numRasterThreads;
+ size_t topControlsHeight; // in pixels compensated for density
jamesr 2012/12/19 22:56:29 in cc, integral pixel offsets are just 'int' star
Ted C 2012/12/20 00:42:39 Done. Just renamed with the suffix Px, which is a
gfx::Size defaultTileSize;
gfx::Size maxUntiledLayerSize;
gfx::Size minimumOcclusionTrackingSize;

Powered by Google App Engine
This is Rietveld 408576698