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

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: Rebase Created 7 years, 11 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
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 12 matching lines...) Expand all
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 useLinearFadeScrollbarAnimator; 32 bool useLinearFadeScrollbarAnimator;
33 bool calculateTopControlsPosition;
33 double refreshRate; 34 double refreshRate;
34 size_t maxPartialTextureUpdates; 35 size_t maxPartialTextureUpdates;
35 size_t numRasterThreads; 36 size_t numRasterThreads;
37 int topControlsHeightPx;
36 gfx::Size defaultTileSize; 38 gfx::Size defaultTileSize;
37 gfx::Size maxUntiledLayerSize; 39 gfx::Size maxUntiledLayerSize;
38 gfx::Size minimumOcclusionTrackingSize; 40 gfx::Size minimumOcclusionTrackingSize;
39 41
40 LayerTreeDebugState initialDebugState; 42 LayerTreeDebugState initialDebugState;
41 }; 43 };
42 44
43 } // namespace cc 45 } // namespace cc
44 46
45 #endif // CC_LAYER_TREE_SETTINGS_H_ 47 #endif // CC_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698