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

Side by Side Diff: cc/layer_tree_settings.h

Issue 12095071: Convert top controls to use DIP instead of PX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | 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"
(...skipping 16 matching lines...) Expand all
27 bool acceleratedAnimationEnabled; 27 bool acceleratedAnimationEnabled;
28 bool pageScalePinchZoomEnabled; 28 bool pageScalePinchZoomEnabled;
29 bool backgroundColorInsteadOfCheckerboard; 29 bool backgroundColorInsteadOfCheckerboard;
30 bool showOverdrawInTracing; 30 bool showOverdrawInTracing;
31 bool canUseLCDText; 31 bool canUseLCDText;
32 bool shouldClearRootRenderPass; 32 bool shouldClearRootRenderPass;
33 bool useLinearFadeScrollbarAnimator; 33 bool useLinearFadeScrollbarAnimator;
34 bool calculateTopControlsPosition; 34 bool calculateTopControlsPosition;
35 float minimumContentsScale; 35 float minimumContentsScale;
36 float lowResContentsScaleFactor; 36 float lowResContentsScaleFactor;
37 float topControlsHeight;
37 double refreshRate; 38 double refreshRate;
38 size_t maxPartialTextureUpdates; 39 size_t maxPartialTextureUpdates;
39 size_t numRasterThreads; 40 size_t numRasterThreads;
40 int topControlsHeightPx;
41 gfx::Size defaultTileSize; 41 gfx::Size defaultTileSize;
42 gfx::Size maxUntiledLayerSize; 42 gfx::Size maxUntiledLayerSize;
43 gfx::Size minimumOcclusionTrackingSize; 43 gfx::Size minimumOcclusionTrackingSize;
44 44
45 LayerTreeDebugState initialDebugState; 45 LayerTreeDebugState initialDebugState;
46 }; 46 };
47 47
48 } // namespace cc 48 } // namespace cc
49 49
50 #endif // CC_LAYER_TREE_SETTINGS_H_ 50 #endif // CC_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698