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

Unified Diff: cc/base/switches.cc

Issue 23907006: cc: Allow sending BeginMainFrame before draw or activation (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedDeadline3
Patch Set: rebase Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/base/switches.h ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/switches.cc
diff --git a/cc/base/switches.cc b/cc/base/switches.cc
index 46f4992dd2ac4c73d598bd032a250ad55b8ae57a..43fca91cc1f7726e6bcba4f52690ae915c862426 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";
« no previous file with comments | « cc/base/switches.h ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698