summaryrefslogtreecommitdiffstats
path: root/cc/base
diff options
context:
space:
mode:
Diffstat (limited to 'cc/base')
-rw-r--r--cc/base/switches.cc13
-rw-r--r--cc/base/switches.h3
2 files changed, 16 insertions, 0 deletions
diff --git a/cc/base/switches.cc b/cc/base/switches.cc
index 4cff4d2..0731598 100644
--- a/cc/base/switches.cc
+++ b/cc/base/switches.cc
@@ -15,6 +15,19 @@ const char kDisableThreadedAnimation[] = "disable-threaded-animation";
const char kDisableCompositedAntialiasing[] =
"disable-composited-antialiasing";
+// Disables sending the next BeginMainFrame before the previous commit has
+// drawn.
+const char kDisableMainFrameBeforeDraw[] = "disable-main-frame-before-draw";
+
+// Disables sending the next BeginMainFrame before the previous commit
+// activates. Overrides the kEnableMainFrameBeforeActivation flag.
+const char kDisableMainFrameBeforeActivation[] =
+ "disable-main-frame-before-activation";
+
+// Enables sending the next BeginMainFrame before the previous commit activates.
+const char kEnableMainFrameBeforeActivation[] =
+ "enable-main-frame-before-activation";
+
const char kEnableTopControlsPositionCalculation[] =
"enable-top-controls-position-calculation";
diff --git a/cc/base/switches.h b/cc/base/switches.h
index 8cb043f..b8b2243 100644
--- a/cc/base/switches.h
+++ b/cc/base/switches.h
@@ -18,6 +18,9 @@ namespace switches {
// Switches for the renderer compositor only.
CC_EXPORT extern const char kDisableThreadedAnimation[];
CC_EXPORT extern const char kDisableCompositedAntialiasing[];
+CC_EXPORT extern const char kDisableMainFrameBeforeDraw[];
+CC_EXPORT extern const char kDisableMainFrameBeforeActivation[];
+CC_EXPORT extern const char kEnableMainFrameBeforeActivation[];
CC_EXPORT extern const char kEnableTopControlsPositionCalculation[];
CC_EXPORT extern const char kJankInsteadOfCheckerboard[];
CC_EXPORT extern const char kTopControlsHeight[];