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

Side by Side Diff: cc/base/switches.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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/base/simple_enclosed_region_unittest.cc ('k') | cc/base/synced_property.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Defines all the "cc" command-line switches. 5 // Defines all the "cc" command-line switches.
6 6
7 #ifndef CC_BASE_SWITCHES_H_ 7 #ifndef CC_BASE_SWITCHES_H_
8 #define CC_BASE_SWITCHES_H_ 8 #define CC_BASE_SWITCHES_H_
9 9
10 #include "cc/base/cc_export.h"
11
12 // Since cc is used from the render process, anything that goes here also needs 10 // Since cc is used from the render process, anything that goes here also needs
13 // to be added to render_process_host_impl.cc. 11 // to be added to render_process_host_impl.cc.
14 12
15 namespace cc { 13 namespace cc {
16 namespace switches { 14 namespace switches {
17 15
18 // Switches for the renderer compositor only. 16 // Switches for the renderer compositor only.
19 CC_EXPORT extern const char kDisableThreadedAnimation[]; 17 extern const char kDisableThreadedAnimation[];
20 CC_EXPORT extern const char kDisableCompositedAntialiasing[]; 18 extern const char kDisableCompositedAntialiasing[];
21 CC_EXPORT extern const char kDisableMainFrameBeforeActivation[]; 19 extern const char kDisableMainFrameBeforeActivation[];
22 CC_EXPORT extern const char kEnableMainFrameBeforeActivation[]; 20 extern const char kEnableMainFrameBeforeActivation[];
23 CC_EXPORT extern const char kJankInsteadOfCheckerboard[]; 21 extern const char kJankInsteadOfCheckerboard[];
24 CC_EXPORT extern const char kTopControlsHideThreshold[]; 22 extern const char kTopControlsHideThreshold[];
25 CC_EXPORT extern const char kTopControlsShowThreshold[]; 23 extern const char kTopControlsShowThreshold[];
26 CC_EXPORT extern const char kSlowDownRasterScaleFactor[]; 24 extern const char kSlowDownRasterScaleFactor[];
27 CC_EXPORT extern const char kCompositeToMailbox[]; 25 extern const char kCompositeToMailbox[];
28 CC_EXPORT extern const char kMaxTilesForInterestArea[]; 26 extern const char kMaxTilesForInterestArea[];
29 CC_EXPORT extern const char kMaxUnusedResourceMemoryUsagePercentage[]; 27 extern const char kMaxUnusedResourceMemoryUsagePercentage[];
30 CC_EXPORT extern const char kEnablePinchVirtualViewport[]; 28 extern const char kEnablePinchVirtualViewport[];
31 CC_EXPORT extern const char kDisablePinchVirtualViewport[]; 29 extern const char kDisablePinchVirtualViewport[];
32 CC_EXPORT extern const char kStrictLayerPropertyChangeChecking[]; 30 extern const char kStrictLayerPropertyChangeChecking[];
33 CC_EXPORT extern const char kEnablePropertyTreeVerification[]; 31 extern const char kEnablePropertyTreeVerification[];
34 32
35 // Switches for both the renderer and ui compositors. 33 // Switches for both the renderer and ui compositors.
36 CC_EXPORT extern const char kUIDisablePartialSwap[]; 34 extern const char kUIDisablePartialSwap[];
37 CC_EXPORT extern const char kEnableGpuBenchmarking[]; 35 extern const char kEnableGpuBenchmarking[];
38 36
39 // Debug visualizations. 37 // Debug visualizations.
40 CC_EXPORT extern const char kShowCompositedLayerBorders[]; 38 extern const char kShowCompositedLayerBorders[];
41 CC_EXPORT extern const char kUIShowCompositedLayerBorders[]; 39 extern const char kUIShowCompositedLayerBorders[];
42 CC_EXPORT extern const char kShowFPSCounter[]; 40 extern const char kShowFPSCounter[];
43 CC_EXPORT extern const char kUIShowFPSCounter[]; 41 extern const char kUIShowFPSCounter[];
44 CC_EXPORT extern const char kShowLayerAnimationBounds[]; 42 extern const char kShowLayerAnimationBounds[];
45 CC_EXPORT extern const char kUIShowLayerAnimationBounds[]; 43 extern const char kUIShowLayerAnimationBounds[];
46 CC_EXPORT extern const char kShowPropertyChangedRects[]; 44 extern const char kShowPropertyChangedRects[];
47 CC_EXPORT extern const char kUIShowPropertyChangedRects[]; 45 extern const char kUIShowPropertyChangedRects[];
48 CC_EXPORT extern const char kShowSurfaceDamageRects[]; 46 extern const char kShowSurfaceDamageRects[];
49 CC_EXPORT extern const char kUIShowSurfaceDamageRects[]; 47 extern const char kUIShowSurfaceDamageRects[];
50 CC_EXPORT extern const char kShowScreenSpaceRects[]; 48 extern const char kShowScreenSpaceRects[];
51 CC_EXPORT extern const char kUIShowScreenSpaceRects[]; 49 extern const char kUIShowScreenSpaceRects[];
52 CC_EXPORT extern const char kShowReplicaScreenSpaceRects[]; 50 extern const char kShowReplicaScreenSpaceRects[];
53 CC_EXPORT extern const char kUIShowReplicaScreenSpaceRects[]; 51 extern const char kUIShowReplicaScreenSpaceRects[];
54 52
55 // Unit test related. 53 // Unit test related.
56 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[]; 54 extern const char kCCLayerTreeTestNoTimeout[];
57 CC_EXPORT extern const char kCCRebaselinePixeltests[]; 55 extern const char kCCRebaselinePixeltests[];
58 56
59 } // namespace switches 57 } // namespace switches
60 } // namespace cc 58 } // namespace cc
61 59
62 #endif // CC_BASE_SWITCHES_H_ 60 #endif // CC_BASE_SWITCHES_H_
OLDNEW
« no previous file with comments | « cc/base/simple_enclosed_region_unittest.cc ('k') | cc/base/synced_property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698