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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 bool main_frame_before_activation_enabled; | 37 bool main_frame_before_activation_enabled; |
38 bool using_synchronous_renderer_compositor; | 38 bool using_synchronous_renderer_compositor; |
39 bool accelerated_animation_enabled; | 39 bool accelerated_animation_enabled; |
40 bool can_use_lcd_text; | 40 bool can_use_lcd_text; |
41 bool use_distance_field_text; | 41 bool use_distance_field_text; |
42 bool gpu_rasterization_enabled; | 42 bool gpu_rasterization_enabled; |
43 bool gpu_rasterization_forced; | 43 bool gpu_rasterization_forced; |
44 int gpu_rasterization_msaa_sample_count; | 44 int gpu_rasterization_msaa_sample_count; |
45 float gpu_rasterization_skewport_target_time_in_seconds; | 45 float gpu_rasterization_skewport_target_time_in_seconds; |
46 bool create_low_res_tiling; | 46 bool create_low_res_tiling; |
| 47 bool blink_synchronized_painting_enabled; |
47 | 48 |
48 enum ScrollbarAnimator { | 49 enum ScrollbarAnimator { |
49 NO_ANIMATOR, | 50 NO_ANIMATOR, |
50 LINEAR_FADE, | 51 LINEAR_FADE, |
51 THINNING, | 52 THINNING, |
52 }; | 53 }; |
53 ScrollbarAnimator scrollbar_animator; | 54 ScrollbarAnimator scrollbar_animator; |
54 int scrollbar_fade_delay_ms; | 55 int scrollbar_fade_delay_ms; |
55 int scrollbar_fade_resize_delay_ms; | 56 int scrollbar_fade_resize_delay_ms; |
56 int scrollbar_fade_duration_ms; | 57 int scrollbar_fade_duration_ms; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 ManagedMemoryPolicy memory_policy_; | 90 ManagedMemoryPolicy memory_policy_; |
90 | 91 |
91 LayerTreeDebugState initial_debug_state; | 92 LayerTreeDebugState initial_debug_state; |
92 | 93 |
93 SchedulerSettings ToSchedulerSettings() const; | 94 SchedulerSettings ToSchedulerSettings() const; |
94 }; | 95 }; |
95 | 96 |
96 } // namespace cc | 97 } // namespace cc |
97 | 98 |
98 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 99 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |