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