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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 bool using_synchronous_renderer_compositor; | 26 bool using_synchronous_renderer_compositor; |
27 bool per_tile_painting_enabled; | 27 bool per_tile_painting_enabled; |
28 bool partial_swap_enabled; | 28 bool partial_swap_enabled; |
29 bool cache_render_pass_contents; | 29 bool cache_render_pass_contents; |
30 bool accelerated_animation_enabled; | 30 bool accelerated_animation_enabled; |
31 bool background_color_instead_of_checkerboard; | 31 bool background_color_instead_of_checkerboard; |
32 bool show_overdraw_in_tracing; | 32 bool show_overdraw_in_tracing; |
33 bool can_use_lcd_text; | 33 bool can_use_lcd_text; |
34 bool should_clear_root_render_pass; | 34 bool should_clear_root_render_pass; |
35 bool use_linear_fade_scrollbar_animator; | 35 bool use_linear_fade_scrollbar_animator; |
| 36 int scrollbar_linear_fade_delay_ms; |
| 37 int scrollbar_linear_fade_length_ms; |
36 bool solid_color_scrollbars; | 38 bool solid_color_scrollbars; |
37 SkColor solid_color_scrollbar_color; | 39 SkColor solid_color_scrollbar_color; |
38 int solid_color_scrollbar_thickness_dip; | 40 int solid_color_scrollbar_thickness_dip; |
39 bool calculate_top_controls_position; | 41 bool calculate_top_controls_position; |
40 bool use_color_estimator; | 42 bool use_color_estimator; |
41 bool use_memory_management; | 43 bool use_memory_management; |
42 bool timeout_and_draw_when_animation_checkerboards; | 44 bool timeout_and_draw_when_animation_checkerboards; |
43 bool layer_transforms_should_scale_layer_contents; | 45 bool layer_transforms_should_scale_layer_contents; |
44 float minimum_contents_scale; | 46 float minimum_contents_scale; |
45 float low_res_contents_scale_factor; | 47 float low_res_contents_scale_factor; |
(...skipping 15 matching lines...) Expand all Loading... |
61 bool strict_layer_property_change_checking; | 63 bool strict_layer_property_change_checking; |
62 bool use_map_image; | 64 bool use_map_image; |
63 std::string compositor_name; | 65 std::string compositor_name; |
64 | 66 |
65 LayerTreeDebugState initial_debug_state; | 67 LayerTreeDebugState initial_debug_state; |
66 }; | 68 }; |
67 | 69 |
68 } // namespace cc | 70 } // namespace cc |
69 | 71 |
70 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 72 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |