| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 enum ScrollbarAnimator { | 53 enum ScrollbarAnimator { |
| 54 NO_ANIMATOR, | 54 NO_ANIMATOR, |
| 55 LINEAR_FADE, | 55 LINEAR_FADE, |
| 56 THINNING, | 56 THINNING, |
| 57 }; | 57 }; |
| 58 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; | 58 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; |
| 59 int scrollbar_fade_delay_ms = 0; | 59 int scrollbar_fade_delay_ms = 0; |
| 60 int scrollbar_fade_resize_delay_ms = 0; | 60 int scrollbar_fade_resize_delay_ms = 0; |
| 61 int scrollbar_fade_duration_ms = 0; | 61 int scrollbar_fade_duration_ms = 0; |
| 62 int scrollbar_thinning_duration_ms = 0; |
| 62 SkColor solid_color_scrollbar_color = SK_ColorWHITE; | 63 SkColor solid_color_scrollbar_color = SK_ColorWHITE; |
| 63 bool timeout_and_draw_when_animation_checkerboards = true; | 64 bool timeout_and_draw_when_animation_checkerboards = true; |
| 64 bool layer_transforms_should_scale_layer_contents = false; | 65 bool layer_transforms_should_scale_layer_contents = false; |
| 65 bool layers_always_allowed_lcd_text = false; | 66 bool layers_always_allowed_lcd_text = false; |
| 66 float minimum_contents_scale = 0.0625f; | 67 float minimum_contents_scale = 0.0625f; |
| 67 float low_res_contents_scale_factor = 0.25f; | 68 float low_res_contents_scale_factor = 0.25f; |
| 68 float top_controls_show_threshold = 0.5f; | 69 float top_controls_show_threshold = 0.5f; |
| 69 float top_controls_hide_threshold = 0.5f; | 70 float top_controls_hide_threshold = 0.5f; |
| 70 double background_animation_rate = 1.0; | 71 double background_animation_rate = 1.0; |
| 71 gfx::Size default_tile_size; | 72 gfx::Size default_tile_size; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 101 // raster rather than directly using the display items. | 102 // raster rather than directly using the display items. |
| 102 bool use_cached_picture_raster = true; | 103 bool use_cached_picture_raster = true; |
| 103 bool enable_color_correct_rendering = false; | 104 bool enable_color_correct_rendering = false; |
| 104 | 105 |
| 105 LayerTreeDebugState initial_debug_state; | 106 LayerTreeDebugState initial_debug_state; |
| 106 }; | 107 }; |
| 107 | 108 |
| 108 } // namespace cc | 109 } // namespace cc |
| 109 | 110 |
| 110 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 111 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |