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 18 matching lines...) Expand all Loading... |
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 bool useCheapnessEstimator; | 35 bool useCheapnessEstimator; |
36 float minimumContentsScale; | 36 float minimumContentsScale; |
37 float lowResContentsScaleFactor; | 37 float lowResContentsScaleFactor; |
38 float topControlsHeight; | 38 float topControlsHeight; |
| 39 float topControlsShowThreshold; |
| 40 float topControlsHideThreshold; |
39 double refreshRate; | 41 double refreshRate; |
40 size_t maxPartialTextureUpdates; | 42 size_t maxPartialTextureUpdates; |
41 size_t numRasterThreads; | 43 size_t numRasterThreads; |
42 gfx::Size defaultTileSize; | 44 gfx::Size defaultTileSize; |
43 gfx::Size maxUntiledLayerSize; | 45 gfx::Size maxUntiledLayerSize; |
44 gfx::Size minimumOcclusionTrackingSize; | 46 gfx::Size minimumOcclusionTrackingSize; |
45 | 47 |
46 LayerTreeDebugState initialDebugState; | 48 LayerTreeDebugState initialDebugState; |
47 }; | 49 }; |
48 | 50 |
49 } // namespace cc | 51 } // namespace cc |
50 | 52 |
51 #endif // CC_LAYER_TREE_SETTINGS_H_ | 53 #endif // CC_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |