Content settings: remove some plugin-related code/resources when... there are no...
[chromium-blink-merge.git] / cc / base / switches.h
blob6317ca04431d790dcd857baeab6db7fbf1396749
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
3 // found in the LICENSE file.
5 // Defines all the "cc" command-line switches.
7 #ifndef CC_BASE_SWITCHES_H_
8 #define CC_BASE_SWITCHES_H_
10 #include "cc/base/cc_export.h"
12 // Since cc is used from the render process, anything that goes here also needs
13 // to be added to render_process_host_impl.cc.
15 namespace cc {
16 namespace switches {
18 // Switches for the renderer compositor only.
19 CC_EXPORT extern const char kDisableThreadedAnimation[];
20 CC_EXPORT extern const char kDisableCompositedAntialiasing[];
21 CC_EXPORT extern const char kDisableMainFrameBeforeActivation[];
22 CC_EXPORT extern const char kEnableMainFrameBeforeActivation[];
23 CC_EXPORT extern const char kJankInsteadOfCheckerboard[];
24 CC_EXPORT extern const char kTopControlsHideThreshold[];
25 CC_EXPORT extern const char kTopControlsShowThreshold[];
26 CC_EXPORT extern const char kSlowDownRasterScaleFactor[];
27 CC_EXPORT extern const char kCompositeToMailbox[];
28 CC_EXPORT extern const char kStrictLayerPropertyChangeChecking[];
29 CC_EXPORT extern const char kEnablePropertyTreeVerification[];
31 // Switches for both the renderer and ui compositors.
32 CC_EXPORT extern const char kUIDisablePartialSwap[];
33 CC_EXPORT extern const char kEnableBeginFrameScheduling[];
34 CC_EXPORT extern const char kEnableGpuBenchmarking[];
36 // Debug visualizations.
37 CC_EXPORT extern const char kShowCompositedLayerBorders[];
38 CC_EXPORT extern const char kUIShowCompositedLayerBorders[];
39 CC_EXPORT extern const char kShowFPSCounter[];
40 CC_EXPORT extern const char kUIShowFPSCounter[];
41 CC_EXPORT extern const char kShowLayerAnimationBounds[];
42 CC_EXPORT extern const char kUIShowLayerAnimationBounds[];
43 CC_EXPORT extern const char kShowPropertyChangedRects[];
44 CC_EXPORT extern const char kUIShowPropertyChangedRects[];
45 CC_EXPORT extern const char kShowSurfaceDamageRects[];
46 CC_EXPORT extern const char kUIShowSurfaceDamageRects[];
47 CC_EXPORT extern const char kShowScreenSpaceRects[];
48 CC_EXPORT extern const char kUIShowScreenSpaceRects[];
49 CC_EXPORT extern const char kShowReplicaScreenSpaceRects[];
50 CC_EXPORT extern const char kUIShowReplicaScreenSpaceRects[];
52 // Unit test related.
53 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[];
54 CC_EXPORT extern const char kCCRebaselinePixeltests[];
56 } // namespace switches
57 } // namespace cc
59 #endif // CC_BASE_SWITCHES_H_