Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(760)

Side by Side Diff: cc/trees/layer_tree_settings.h

Issue 2421913002: Change Aura overlay scrollbars from solid color to painted scrollbars. (Closed)
Patch Set: Address pkasting@'s feedback Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | ui/native_theme/native_theme_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698