| 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 26 matching lines...) Expand all  Loading... | 
| 37   bool main_frame_before_activation_enabled = false; | 37   bool main_frame_before_activation_enabled = false; | 
| 38   bool using_synchronous_renderer_compositor = false; | 38   bool using_synchronous_renderer_compositor = false; | 
| 39   bool enable_latency_recovery = true; | 39   bool enable_latency_recovery = true; | 
| 40   bool can_use_lcd_text = true; | 40   bool can_use_lcd_text = true; | 
| 41   bool use_distance_field_text = false; | 41   bool use_distance_field_text = false; | 
| 42   bool gpu_rasterization_forced = false; | 42   bool gpu_rasterization_forced = false; | 
| 43   bool async_worker_context_enabled = false; | 43   bool async_worker_context_enabled = false; | 
| 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   bool use_stream_video_draw_quad = false; | 
| 47 | 48 | 
| 48   enum ScrollbarAnimator { | 49   enum ScrollbarAnimator { | 
| 49     NO_ANIMATOR, | 50     NO_ANIMATOR, | 
| 50     ANDROID_OVERLAY, | 51     ANDROID_OVERLAY, | 
| 51     AURA_OVERLAY, | 52     AURA_OVERLAY, | 
| 52   }; | 53   }; | 
| 53   ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; | 54   ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; | 
| 54   base::TimeDelta scrollbar_fade_delay; | 55   base::TimeDelta scrollbar_fade_delay; | 
| 55   base::TimeDelta scrollbar_fade_duration; | 56   base::TimeDelta scrollbar_fade_duration; | 
| 56   base::TimeDelta scrollbar_thinning_duration; | 57   base::TimeDelta scrollbar_thinning_duration; | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 112 | 113 | 
| 113   // Determines whether we disallow non-exact matches when finding resources | 114   // Determines whether we disallow non-exact matches when finding resources | 
| 114   // in ResourcePool. Only used for layout or pixel tests, as non-deterministic | 115   // in ResourcePool. Only used for layout or pixel tests, as non-deterministic | 
| 115   // resource sizes can lead to floating point error and noise in these tests. | 116   // resource sizes can lead to floating point error and noise in these tests. | 
| 116   bool disallow_non_exact_resource_reuse = false; | 117   bool disallow_non_exact_resource_reuse = false; | 
| 117 }; | 118 }; | 
| 118 | 119 | 
| 119 }  // namespace cc | 120 }  // namespace cc | 
| 120 | 121 | 
| 121 #endif  // CC_TREES_LAYER_TREE_SETTINGS_H_ | 122 #endif  // CC_TREES_LAYER_TREE_SETTINGS_H_ | 
| OLD | NEW | 
|---|