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

Unified Diff: chrome/browser/about_flags.cc

Issue 12221005: Add flag to disable impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing 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 | « chrome/app/generated_resources.grd ('k') | content/browser/android/content_startup_flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 59481ce4e0987d1a1055c971abd525ea000e771e..525ac9889440edf349d0d5c78089a3dea6507b19 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -244,6 +244,14 @@ const Experiment::Choice kChromeCaptivePortalDetectionChoices[] = {
};
#endif
+const Experiment::Choice kImplSidePaintingChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ cc::switches::kEnableImplSidePainting, ""},
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ cc::switches::kDisableImplSidePainting, ""}
+};
+
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the experiment is the internal name. If you'd like to
@@ -1280,6 +1288,13 @@ const Experiment kExperiments[] = {
kOsDesktop,
SINGLE_VALUE_TYPE(switches::kAppsDevtool)
},
+ {
+ "impl-side-painting",
+ IDS_FLAGS_IMPL_SIDE_PAINTING_NAME,
+ IDS_FLAGS_IMPL_SIDE_PAINTING_DESCRIPTION,
+ kOsAndroid,
+ MULTI_VALUE_TYPE(kImplSidePaintingChoices)
+ },
};
const Experiment* experiments = kExperiments;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/android/content_startup_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698