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

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

Issue 18341009: Refactor cc scrollbar layers to separate solid-color vs desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased patch as it's sat for a while. Created 7 years, 4 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 | Annotate | Revision Log
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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 19 matching lines...) Expand all
30 bool cache_render_pass_contents; 30 bool cache_render_pass_contents;
31 bool accelerated_animation_enabled; 31 bool accelerated_animation_enabled;
32 bool background_color_instead_of_checkerboard; 32 bool background_color_instead_of_checkerboard;
33 bool show_overdraw_in_tracing; 33 bool show_overdraw_in_tracing;
34 bool can_use_lcd_text; 34 bool can_use_lcd_text;
35 bool should_clear_root_render_pass; 35 bool should_clear_root_render_pass;
36 bool use_linear_fade_scrollbar_animator; 36 bool use_linear_fade_scrollbar_animator;
37 int scrollbar_linear_fade_delay_ms; 37 int scrollbar_linear_fade_delay_ms;
38 int scrollbar_linear_fade_length_ms; 38 int scrollbar_linear_fade_length_ms;
39 bool solid_color_scrollbars; 39 bool solid_color_scrollbars;
40 SkColor solid_color_scrollbar_color;
41 int solid_color_scrollbar_thickness_dip;
42 bool calculate_top_controls_position; 40 bool calculate_top_controls_position;
43 bool use_memory_management; 41 bool use_memory_management;
44 bool timeout_and_draw_when_animation_checkerboards; 42 bool timeout_and_draw_when_animation_checkerboards;
45 bool layer_transforms_should_scale_layer_contents; 43 bool layer_transforms_should_scale_layer_contents;
46 float minimum_contents_scale; 44 float minimum_contents_scale;
47 float low_res_contents_scale_factor; 45 float low_res_contents_scale_factor;
48 float top_controls_height; 46 float top_controls_height;
49 float top_controls_show_threshold; 47 float top_controls_show_threshold;
50 float top_controls_hide_threshold; 48 float top_controls_hide_threshold;
51 double refresh_rate; 49 double refresh_rate;
(...skipping 12 matching lines...) Expand all
64 bool use_map_image; 62 bool use_map_image;
65 std::string compositor_name; 63 std::string compositor_name;
66 bool ignore_root_layer_flings; 64 bool ignore_root_layer_flings;
67 65
68 LayerTreeDebugState initial_debug_state; 66 LayerTreeDebugState initial_debug_state;
69 }; 67 };
70 68
71 } // namespace cc 69 } // namespace cc
72 70
73 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 71 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698