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

Unified Diff: cc/switches.h

Issue 12221005: Add flag to disable impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Consolidated switch checking 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/switches.h
diff --git a/cc/switches.h b/cc/switches.h
index 83ffa6d6d4d607f28d5b172397fd009072098522..3ef0cc9cc4ca34234ebcf6549758c2019223df81 100644
--- a/cc/switches.h
+++ b/cc/switches.h
@@ -7,6 +7,7 @@
#ifndef CC_SWITCHES_H_
#define CC_SWITCHES_H_
+#include "base/command_line.h"
danakj 2013/02/20 00:17:48 This should move to the .cc then.
gone 2013/02/20 00:28:21 Done.
#include "cc/cc_export.h"
// Since cc is used from the render process, anything that goes here also needs
@@ -18,6 +19,7 @@ namespace switches {
CC_EXPORT extern const char kBackgroundColorInsteadOfCheckerboard[];
CC_EXPORT extern const char kDisableThreadedAnimation[];
CC_EXPORT extern const char kEnableCompositorFrameMessage[];
+CC_EXPORT extern const char kDisableImplSidePainting[];
CC_EXPORT extern const char kEnableImplSidePainting[];
CC_EXPORT extern const char kEnablePartialSwap[];
CC_EXPORT extern const char kEnablePerTilePainting[];
@@ -37,6 +39,8 @@ CC_EXPORT extern const char kTraceAllRenderedFrames[];
CC_EXPORT extern const char kSlowDownRasterScaleFactor[];
CC_EXPORT extern const char kUseCheapnessEstimator[];
+CC_EXPORT bool IsImplSidePaintingEnabled();
+
} // namespace switches
} // namespace cc
« no previous file with comments | « no previous file | cc/switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698