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