| 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 27 matching lines...) Expand all  Loading... | 
| 38   bool main_frame_before_activation_enabled = false; | 38   bool main_frame_before_activation_enabled = false; | 
| 39   bool using_synchronous_renderer_compositor = false; | 39   bool using_synchronous_renderer_compositor = false; | 
| 40   bool enable_latency_recovery = true; | 40   bool enable_latency_recovery = true; | 
| 41   bool can_use_lcd_text = true; | 41   bool can_use_lcd_text = true; | 
| 42   bool use_distance_field_text = false; | 42   bool use_distance_field_text = false; | 
| 43   bool gpu_rasterization_forced = false; | 43   bool gpu_rasterization_forced = false; | 
| 44   bool async_worker_context_enabled = false; | 44   bool async_worker_context_enabled = false; | 
| 45   int gpu_rasterization_msaa_sample_count = 0; | 45   int gpu_rasterization_msaa_sample_count = 0; | 
| 46   float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; | 46   float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; | 
| 47   bool create_low_res_tiling = false; | 47   bool create_low_res_tiling = false; | 
| 48   bool use_stream_video_draw_quad = false; |  | 
| 49 | 48 | 
| 50   enum ScrollbarAnimator { | 49   enum ScrollbarAnimator { | 
| 51     NO_ANIMATOR, | 50     NO_ANIMATOR, | 
| 52     ANDROID_OVERLAY, | 51     ANDROID_OVERLAY, | 
| 53     AURA_OVERLAY, | 52     AURA_OVERLAY, | 
| 54   }; | 53   }; | 
| 55   ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; | 54   ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; | 
| 56   base::TimeDelta scrollbar_fade_delay; | 55   base::TimeDelta scrollbar_fade_delay; | 
| 57   base::TimeDelta scrollbar_fade_duration; | 56   base::TimeDelta scrollbar_fade_duration; | 
| 58   base::TimeDelta scrollbar_thinning_duration; | 57   base::TimeDelta scrollbar_thinning_duration; | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 114 | 113 | 
| 115   // Determines whether we disallow non-exact matches when finding resources | 114   // Determines whether we disallow non-exact matches when finding resources | 
| 116   // 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 | 
| 117   // 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. | 
| 118   bool disallow_non_exact_resource_reuse = false; | 117   bool disallow_non_exact_resource_reuse = false; | 
| 119 }; | 118 }; | 
| 120 | 119 | 
| 121 }  // namespace cc | 120 }  // namespace cc | 
| 122 | 121 | 
| 123 #endif  // CC_TREES_LAYER_TREE_SETTINGS_H_ | 122 #endif  // CC_TREES_LAYER_TREE_SETTINGS_H_ | 
| OLD | NEW | 
|---|