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

Side by Side 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: Forgot to add the changes to cc_messages.h 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #ifndef CC_LAYER_TREE_SETTINGS_H_ 5 #ifndef CC_LAYER_TREE_SETTINGS_H_
6 #define CC_LAYER_TREE_SETTINGS_H_ 6 #define CC_LAYER_TREE_SETTINGS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "cc/layer_tree_debug_state.h" 10 #include "cc/layer_tree_debug_state.h"
(...skipping 11 matching lines...) Expand all
22 bool implSidePainting; 22 bool implSidePainting;
23 bool renderVSyncEnabled; 23 bool renderVSyncEnabled;
24 bool perTilePaintingEnabled; 24 bool perTilePaintingEnabled;
25 bool partialSwapEnabled; 25 bool partialSwapEnabled;
26 bool acceleratedAnimationEnabled; 26 bool acceleratedAnimationEnabled;
27 bool pageScalePinchZoomEnabled; 27 bool pageScalePinchZoomEnabled;
28 bool backgroundColorInsteadOfCheckerboard; 28 bool backgroundColorInsteadOfCheckerboard;
29 bool showOverdrawInTracing; 29 bool showOverdrawInTracing;
30 bool canUseLCDText; 30 bool canUseLCDText;
31 bool shouldClearRootRenderPass; 31 bool shouldClearRootRenderPass;
32 bool calculateTopControlsPosition;
32 double refreshRate; 33 double refreshRate;
33 size_t maxPartialTextureUpdates; 34 size_t maxPartialTextureUpdates;
34 size_t numRasterThreads; 35 size_t numRasterThreads;
36 size_t topControlsHeight; // in pixels compensated for density
35 gfx::Size defaultTileSize; 37 gfx::Size defaultTileSize;
36 gfx::Size maxUntiledLayerSize; 38 gfx::Size maxUntiledLayerSize;
37 gfx::Size minimumOcclusionTrackingSize; 39 gfx::Size minimumOcclusionTrackingSize;
38 40
39 LayerTreeDebugState initialDebugState; 41 LayerTreeDebugState initialDebugState;
40 }; 42 };
41 43
42 } // namespace cc 44 } // namespace cc
43 45
44 #endif // CC_LAYER_TREE_SETTINGS_H_ 46 #endif // CC_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698