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

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

Issue 2838053002: Remove resize fade delay plumbing. (Closed)
Patch Set: rebase Created 3 years, 7 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
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 bool create_low_res_tiling = false; 44 bool create_low_res_tiling = false;
45 bool use_stream_video_draw_quad = false; 45 bool use_stream_video_draw_quad = false;
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_fade_delay; 53 base::TimeDelta scrollbar_fade_delay;
54 base::TimeDelta scrollbar_fade_out_resize_delay;
55 base::TimeDelta scrollbar_fade_duration; 54 base::TimeDelta scrollbar_fade_duration;
56 base::TimeDelta scrollbar_thinning_duration; 55 base::TimeDelta scrollbar_thinning_duration;
57 SkColor solid_color_scrollbar_color = SK_ColorWHITE; 56 SkColor solid_color_scrollbar_color = SK_ColorWHITE;
58 bool timeout_and_draw_when_animation_checkerboards = true; 57 bool timeout_and_draw_when_animation_checkerboards = true;
59 bool layer_transforms_should_scale_layer_contents = false; 58 bool layer_transforms_should_scale_layer_contents = false;
60 bool layers_always_allowed_lcd_text = false; 59 bool layers_always_allowed_lcd_text = false;
61 float minimum_contents_scale = 0.0625f; 60 float minimum_contents_scale = 0.0625f;
62 float low_res_contents_scale_factor = 0.25f; 61 float low_res_contents_scale_factor = 0.25f;
63 float top_controls_show_threshold = 0.5f; 62 float top_controls_show_threshold = 0.5f;
64 float top_controls_hide_threshold = 0.5f; 63 float top_controls_hide_threshold = 0.5f;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 bool enable_surface_synchronization = false; 105 bool enable_surface_synchronization = false;
107 106
108 // Indicates the case when a sub-frame gets its own LayerTree because it's 107 // Indicates the case when a sub-frame gets its own LayerTree because it's
109 // rendered in a different process from its ancestor frames. 108 // rendered in a different process from its ancestor frames.
110 bool is_layer_tree_for_subframe = false; 109 bool is_layer_tree_for_subframe = false;
111 }; 110 };
112 111
113 } // namespace cc 112 } // namespace cc
114 113
115 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 114 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698