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

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

Issue 2816923002: change overlay scrollbar hover show to hover fade in (Closed)
Patch Set: Created 3 years, 8 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 enum ScrollbarAnimator { 47 enum ScrollbarAnimator {
48 NO_ANIMATOR, 48 NO_ANIMATOR,
49 ANDROID_OVERLAY, 49 ANDROID_OVERLAY,
50 AURA_OVERLAY, 50 AURA_OVERLAY,
51 }; 51 };
52 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; 52 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR;
53 base::TimeDelta scrollbar_show_delay; 53 base::TimeDelta scrollbar_show_delay;
54 base::TimeDelta scrollbar_fade_out_delay; 54 base::TimeDelta scrollbar_fade_out_delay;
55 base::TimeDelta scrollbar_fade_out_resize_delay; 55 base::TimeDelta scrollbar_fade_out_resize_delay;
56 base::TimeDelta scrollbar_fade_in_duration;
56 base::TimeDelta scrollbar_fade_out_duration; 57 base::TimeDelta scrollbar_fade_out_duration;
57 base::TimeDelta scrollbar_thinning_duration; 58 base::TimeDelta scrollbar_thinning_duration;
58 SkColor solid_color_scrollbar_color = SK_ColorWHITE; 59 SkColor solid_color_scrollbar_color = SK_ColorWHITE;
59 bool timeout_and_draw_when_animation_checkerboards = true; 60 bool timeout_and_draw_when_animation_checkerboards = true;
60 bool layer_transforms_should_scale_layer_contents = false; 61 bool layer_transforms_should_scale_layer_contents = false;
61 bool layers_always_allowed_lcd_text = false; 62 bool layers_always_allowed_lcd_text = false;
62 float minimum_contents_scale = 0.0625f; 63 float minimum_contents_scale = 0.0625f;
63 float low_res_contents_scale_factor = 0.25f; 64 float low_res_contents_scale_factor = 0.25f;
64 float top_controls_show_threshold = 0.5f; 65 float top_controls_show_threshold = 0.5f;
65 float top_controls_hide_threshold = 0.5f; 66 float top_controls_hide_threshold = 0.5f;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 LayerTreeDebugState initial_debug_state; 109 LayerTreeDebugState initial_debug_state;
109 110
110 // Indicates that the LayerTreeHost should defer commits unless it has a valid 111 // Indicates that the LayerTreeHost should defer commits unless it has a valid
111 // LocalSurfaceId set. 112 // LocalSurfaceId set.
112 bool enable_surface_synchronization = false; 113 bool enable_surface_synchronization = false;
113 }; 114 };
114 115
115 } // namespace cc 116 } // namespace cc
116 117
117 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 118 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698