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

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

Issue 2421913002: Change Aura overlay scrollbars from solid color to painted scrollbars. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | content/browser/renderer_host/render_view_host_impl.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 #include "cc/trees/layer_tree_settings.h" 5 #include "cc/trees/layer_tree_settings.h"
6 6
7 #include "cc/proto/gfx_conversions.h" 7 #include "cc/proto/gfx_conversions.h"
8 #include "third_party/khronos/GLES2/gl2.h" 8 #include "third_party/khronos/GLES2/gl2.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 22 matching lines...) Expand all
33 enable_latency_recovery == other.enable_latency_recovery && 33 enable_latency_recovery == other.enable_latency_recovery &&
34 can_use_lcd_text == other.can_use_lcd_text && 34 can_use_lcd_text == other.can_use_lcd_text &&
35 use_distance_field_text == other.use_distance_field_text && 35 use_distance_field_text == other.use_distance_field_text &&
36 gpu_rasterization_enabled == other.gpu_rasterization_enabled && 36 gpu_rasterization_enabled == other.gpu_rasterization_enabled &&
37 gpu_rasterization_forced == other.gpu_rasterization_forced && 37 gpu_rasterization_forced == other.gpu_rasterization_forced &&
38 async_worker_context_enabled == other.async_worker_context_enabled && 38 async_worker_context_enabled == other.async_worker_context_enabled &&
39 gpu_rasterization_msaa_sample_count == 39 gpu_rasterization_msaa_sample_count ==
40 other.gpu_rasterization_msaa_sample_count && 40 other.gpu_rasterization_msaa_sample_count &&
41 create_low_res_tiling == other.create_low_res_tiling && 41 create_low_res_tiling == other.create_low_res_tiling &&
42 scrollbar_animator == other.scrollbar_animator && 42 scrollbar_animator == other.scrollbar_animator &&
43 scrollbar_fade_delay_ms == other.scrollbar_fade_delay_ms && 43 scrollbar_fade_delay == other.scrollbar_fade_delay &&
44 scrollbar_fade_resize_delay_ms == 44 scrollbar_fade_resize_delay == other.scrollbar_fade_resize_delay &&
45 other.scrollbar_fade_resize_delay_ms && 45 scrollbar_fade_duration == other.scrollbar_fade_duration &&
46 scrollbar_fade_duration_ms == other.scrollbar_fade_duration_ms &&
47 solid_color_scrollbar_color == other.solid_color_scrollbar_color && 46 solid_color_scrollbar_color == other.solid_color_scrollbar_color &&
48 timeout_and_draw_when_animation_checkerboards == 47 timeout_and_draw_when_animation_checkerboards ==
49 other.timeout_and_draw_when_animation_checkerboards && 48 other.timeout_and_draw_when_animation_checkerboards &&
50 layer_transforms_should_scale_layer_contents == 49 layer_transforms_should_scale_layer_contents ==
51 other.layer_transforms_should_scale_layer_contents && 50 other.layer_transforms_should_scale_layer_contents &&
52 layers_always_allowed_lcd_text == 51 layers_always_allowed_lcd_text ==
53 other.layers_always_allowed_lcd_text && 52 other.layers_always_allowed_lcd_text &&
54 minimum_contents_scale == other.minimum_contents_scale && 53 minimum_contents_scale == other.minimum_contents_scale &&
55 low_res_contents_scale_factor == other.low_res_contents_scale_factor && 54 low_res_contents_scale_factor == other.low_res_contents_scale_factor &&
56 top_controls_show_threshold == other.top_controls_show_threshold && 55 top_controls_show_threshold == other.top_controls_show_threshold &&
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 using_synchronous_renderer_compositor; 96 using_synchronous_renderer_compositor;
98 scheduler_settings.enable_latency_recovery = enable_latency_recovery; 97 scheduler_settings.enable_latency_recovery = enable_latency_recovery;
99 scheduler_settings.background_frame_interval = 98 scheduler_settings.background_frame_interval =
100 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); 99 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate);
101 scheduler_settings.abort_commit_before_compositor_frame_sink_creation = 100 scheduler_settings.abort_commit_before_compositor_frame_sink_creation =
102 abort_commit_before_compositor_frame_sink_creation; 101 abort_commit_before_compositor_frame_sink_creation;
103 return scheduler_settings; 102 return scheduler_settings;
104 } 103 }
105 104
106 } // namespace cc 105 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698