OLD | NEW |
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 16 matching lines...) Expand all Loading... |
27 bool acceleratedAnimationEnabled; | 27 bool acceleratedAnimationEnabled; |
28 bool pageScalePinchZoomEnabled; | 28 bool pageScalePinchZoomEnabled; |
29 bool backgroundColorInsteadOfCheckerboard; | 29 bool backgroundColorInsteadOfCheckerboard; |
30 bool showOverdrawInTracing; | 30 bool showOverdrawInTracing; |
31 bool canUseLCDText; | 31 bool canUseLCDText; |
32 bool shouldClearRootRenderPass; | 32 bool shouldClearRootRenderPass; |
33 bool useLinearFadeScrollbarAnimator; | 33 bool useLinearFadeScrollbarAnimator; |
34 bool calculateTopControlsPosition; | 34 bool calculateTopControlsPosition; |
35 float minimumContentsScale; | 35 float minimumContentsScale; |
36 float lowResContentsScaleFactor; | 36 float lowResContentsScaleFactor; |
| 37 float topControlsHeight; |
37 double refreshRate; | 38 double refreshRate; |
38 size_t maxPartialTextureUpdates; | 39 size_t maxPartialTextureUpdates; |
39 size_t numRasterThreads; | 40 size_t numRasterThreads; |
40 int topControlsHeightPx; | |
41 gfx::Size defaultTileSize; | 41 gfx::Size defaultTileSize; |
42 gfx::Size maxUntiledLayerSize; | 42 gfx::Size maxUntiledLayerSize; |
43 gfx::Size minimumOcclusionTrackingSize; | 43 gfx::Size minimumOcclusionTrackingSize; |
44 | 44 |
45 LayerTreeDebugState initialDebugState; | 45 LayerTreeDebugState initialDebugState; |
46 }; | 46 }; |
47 | 47 |
48 } // namespace cc | 48 } // namespace cc |
49 | 49 |
50 #endif // CC_LAYER_TREE_SETTINGS_H_ | 50 #endif // CC_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |