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_TREES_LAYER_TREE_SETTINGS_H_ | 5 #ifndef CC_TREES_LAYER_TREE_SETTINGS_H_ |
6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ | 6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 int gpu_rasterization_msaa_sample_count = 0; | 44 int gpu_rasterization_msaa_sample_count = 0; |
45 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; | 45 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; |
46 bool create_low_res_tiling = false; | 46 bool create_low_res_tiling = false; |
47 | 47 |
48 enum ScrollbarAnimator { | 48 enum ScrollbarAnimator { |
49 NO_ANIMATOR, | 49 NO_ANIMATOR, |
50 ANDROID_OVERLAY, | 50 ANDROID_OVERLAY, |
51 AURA_OVERLAY, | 51 AURA_OVERLAY, |
52 }; | 52 }; |
53 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; | 53 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; |
54 base::TimeDelta scrollbar_fade_delay; | 54 base::TimeDelta scrollbar_show_delay; |
55 base::TimeDelta scrollbar_fade_resize_delay; | 55 base::TimeDelta scrollbar_fade_out_delay; |
56 base::TimeDelta scrollbar_fade_duration; | 56 base::TimeDelta scrollbar_fade_out_resize_delay; |
| 57 base::TimeDelta scrollbar_fade_out_duration; |
57 base::TimeDelta scrollbar_thinning_duration; | 58 base::TimeDelta scrollbar_thinning_duration; |
58 SkColor solid_color_scrollbar_color = SK_ColorWHITE; | 59 SkColor solid_color_scrollbar_color = SK_ColorWHITE; |
59 bool timeout_and_draw_when_animation_checkerboards = true; | 60 bool timeout_and_draw_when_animation_checkerboards = true; |
60 bool layer_transforms_should_scale_layer_contents = false; | 61 bool layer_transforms_should_scale_layer_contents = false; |
61 bool layers_always_allowed_lcd_text = false; | 62 bool layers_always_allowed_lcd_text = false; |
62 float minimum_contents_scale = 0.0625f; | 63 float minimum_contents_scale = 0.0625f; |
63 float low_res_contents_scale_factor = 0.25f; | 64 float low_res_contents_scale_factor = 0.25f; |
64 float top_controls_show_threshold = 0.5f; | 65 float top_controls_show_threshold = 0.5f; |
65 float top_controls_hide_threshold = 0.5f; | 66 float top_controls_hide_threshold = 0.5f; |
66 double background_animation_rate = 1.0; | 67 double background_animation_rate = 1.0; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // Image Decode Service and raster tiles without images until the decode is | 106 // Image Decode Service and raster tiles without images until the decode is |
106 // ready. | 107 // ready. |
107 bool enable_checker_imaging = false; | 108 bool enable_checker_imaging = false; |
108 | 109 |
109 LayerTreeDebugState initial_debug_state; | 110 LayerTreeDebugState initial_debug_state; |
110 }; | 111 }; |
111 | 112 |
112 } // namespace cc | 113 } // namespace cc |
113 | 114 |
114 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 115 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |