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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "cc/debug/layer_tree_debug_state.h" | 10 #include "cc/debug/layer_tree_debug_state.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 bool can_use_lcd_text; | 36 bool can_use_lcd_text; |
37 bool use_distance_field_text; | 37 bool use_distance_field_text; |
38 bool gpu_rasterization_enabled; | 38 bool gpu_rasterization_enabled; |
39 bool gpu_rasterization_forced; | 39 bool gpu_rasterization_forced; |
40 int gpu_rasterization_msaa_sample_count; | 40 int gpu_rasterization_msaa_sample_count; |
41 float gpu_rasterization_skewport_target_time_in_seconds; | 41 float gpu_rasterization_skewport_target_time_in_seconds; |
42 bool threaded_gpu_rasterization_enabled; | 42 bool threaded_gpu_rasterization_enabled; |
43 bool create_low_res_tiling; | 43 bool create_low_res_tiling; |
44 | 44 |
45 enum ScrollbarAnimator { | 45 enum ScrollbarAnimator { |
46 NO_ANIMATOR, | 46 NoAnimator, |
47 LINEAR_FADE, | 47 LinearFade, |
48 THINNING, | 48 Thinning, |
49 }; | 49 }; |
50 ScrollbarAnimator scrollbar_animator; | 50 ScrollbarAnimator scrollbar_animator; |
51 int scrollbar_fade_delay_ms; | 51 int scrollbar_fade_delay_ms; |
52 int scrollbar_fade_resize_delay_ms; | 52 int scrollbar_fade_resize_delay_ms; |
53 int scrollbar_fade_duration_ms; | 53 int scrollbar_fade_duration_ms; |
54 float scrollbar_show_scale_threshold; | 54 float scrollbar_show_scale_threshold; |
55 SkColor solid_color_scrollbar_color; | 55 SkColor solid_color_scrollbar_color; |
56 bool calculate_top_controls_position; | 56 bool calculate_top_controls_position; |
57 bool timeout_and_draw_when_animation_checkerboards; | 57 bool timeout_and_draw_when_animation_checkerboards; |
58 int maximum_number_of_failed_draws_before_draw_is_forced_; | 58 int maximum_number_of_failed_draws_before_draw_is_forced_; |
(...skipping 28 matching lines...) Expand all Loading... |
87 bool use_display_lists; | 87 bool use_display_lists; |
88 bool verify_property_trees; | 88 bool verify_property_trees; |
89 skia::RefPtr<SkTypeface> hud_typeface; | 89 skia::RefPtr<SkTypeface> hud_typeface; |
90 | 90 |
91 LayerTreeDebugState initial_debug_state; | 91 LayerTreeDebugState initial_debug_state; |
92 }; | 92 }; |
93 | 93 |
94 } // namespace cc | 94 } // namespace cc |
95 | 95 |
96 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 96 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |