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

Side by Side Diff: cc/layer_tree_settings.h

Issue 12297009: cc: SolidColorQuad-based scrollbars for Android [M25] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix DCHECK failure in test by creating render surface Created 7 years, 10 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 | « no previous file | cc/layer_tree_settings.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_LAYER_TREE_SETTINGS_H_ 5 #ifndef CC_LAYER_TREE_SETTINGS_H_
6 #define CC_LAYER_TREE_SETTINGS_H_ 6 #define CC_LAYER_TREE_SETTINGS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "cc/layer_tree_debug_state.h" 10 #include "cc/layer_tree_debug_state.h"
11 #include "third_party/skia/include/core/SkColor.h"
11 #include "ui/gfx/size.h" 12 #include "ui/gfx/size.h"
12 13
13 namespace cc { 14 namespace cc {
14 15
15 class CC_EXPORT LayerTreeSettings { 16 class CC_EXPORT LayerTreeSettings {
16 public: 17 public:
17 LayerTreeSettings(); 18 LayerTreeSettings();
18 ~LayerTreeSettings(); 19 ~LayerTreeSettings();
19 20
20 bool acceleratePainting; 21 bool acceleratePainting;
21 bool compositorFrameMessage; 22 bool compositorFrameMessage;
22 bool implSidePainting; 23 bool implSidePainting;
23 bool renderVSyncEnabled; 24 bool renderVSyncEnabled;
24 bool perTilePaintingEnabled; 25 bool perTilePaintingEnabled;
25 bool partialSwapEnabled; 26 bool partialSwapEnabled;
26 bool cacheRenderPassContents; 27 bool cacheRenderPassContents;
27 bool rightAlignedSchedulingEnabled; 28 bool rightAlignedSchedulingEnabled;
28 bool acceleratedAnimationEnabled; 29 bool acceleratedAnimationEnabled;
29 bool pageScalePinchZoomEnabled; 30 bool pageScalePinchZoomEnabled;
30 bool backgroundColorInsteadOfCheckerboard; 31 bool backgroundColorInsteadOfCheckerboard;
31 bool showOverdrawInTracing; 32 bool showOverdrawInTracing;
32 bool canUseLCDText; 33 bool canUseLCDText;
33 bool shouldClearRootRenderPass; 34 bool shouldClearRootRenderPass;
34 bool useLinearFadeScrollbarAnimator; 35 bool useLinearFadeScrollbarAnimator;
36 bool solidColorScrollbars;
37 SkColor solidColorScrollbarColor;
38 int solidColorScrollbarThicknessDIP;
35 bool calculateTopControlsPosition; 39 bool calculateTopControlsPosition;
36 bool useCheapnessEstimator; 40 bool useCheapnessEstimator;
37 bool useMemoryManagement; 41 bool useMemoryManagement;
38 float minimumContentsScale; 42 float minimumContentsScale;
39 float lowResContentsScaleFactor; 43 float lowResContentsScaleFactor;
40 float topControlsHeight; 44 float topControlsHeight;
41 double refreshRate; 45 double refreshRate;
42 size_t maxPartialTextureUpdates; 46 size_t maxPartialTextureUpdates;
43 size_t numRasterThreads; 47 size_t numRasterThreads;
44 gfx::Size defaultTileSize; 48 gfx::Size defaultTileSize;
45 gfx::Size maxUntiledLayerSize; 49 gfx::Size maxUntiledLayerSize;
46 gfx::Size minimumOcclusionTrackingSize; 50 gfx::Size minimumOcclusionTrackingSize;
47 51
48 LayerTreeDebugState initialDebugState; 52 LayerTreeDebugState initialDebugState;
49 }; 53 };
50 54
51 } // namespace cc 55 } // namespace cc
52 56
53 #endif // CC_LAYER_TREE_SETTINGS_H_ 57 #endif // CC_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698