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

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

Issue 1236643003: [Android] Suppress overscroll for unscrollable axes in the browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/debug/layer_tree_debug_state.h" 10 #include "cc/debug/layer_tree_debug_state.h"
(...skipping 15 matching lines...) Expand all
26 class CC_EXPORT LayerTreeSettings { 26 class CC_EXPORT LayerTreeSettings {
27 public: 27 public:
28 LayerTreeSettings(); 28 LayerTreeSettings();
29 ~LayerTreeSettings(); 29 ~LayerTreeSettings();
30 30
31 RendererSettings renderer_settings; 31 RendererSettings renderer_settings;
32 bool single_thread_proxy_scheduler; 32 bool single_thread_proxy_scheduler;
33 bool use_external_begin_frame_source; 33 bool use_external_begin_frame_source;
34 bool main_frame_before_activation_enabled; 34 bool main_frame_before_activation_enabled;
35 bool using_synchronous_renderer_compositor; 35 bool using_synchronous_renderer_compositor;
36 bool report_overscroll_only_for_scrollable_axes;
37 bool accelerated_animation_enabled; 36 bool accelerated_animation_enabled;
38 bool can_use_lcd_text; 37 bool can_use_lcd_text;
39 bool use_distance_field_text; 38 bool use_distance_field_text;
40 bool gpu_rasterization_enabled; 39 bool gpu_rasterization_enabled;
41 bool gpu_rasterization_forced; 40 bool gpu_rasterization_forced;
42 int gpu_rasterization_msaa_sample_count; 41 int gpu_rasterization_msaa_sample_count;
43 float gpu_rasterization_skewport_target_time_in_seconds; 42 float gpu_rasterization_skewport_target_time_in_seconds;
44 bool create_low_res_tiling; 43 bool create_low_res_tiling;
45 44
46 enum ScrollbarAnimator { 45 enum ScrollbarAnimator {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bool invert_viewport_scroll_order; 88 bool invert_viewport_scroll_order;
90 89
91 LayerTreeDebugState initial_debug_state; 90 LayerTreeDebugState initial_debug_state;
92 91
93 SchedulerSettings ToSchedulerSettings() const; 92 SchedulerSettings ToSchedulerSettings() const;
94 }; 93 };
95 94
96 } // namespace cc 95 } // namespace cc
97 96
98 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 97 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698