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

Unified Diff: chrome/browser/about_flags.cc

Issue 12544030: Chromium side plumbing for enabling fixed root background compositing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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') | chrome/browser/chromeos/login/chrome_restart_request.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 2ca9e1f8519f3777e8940bd6deeb7f7373a52518..96bfb399f4ca858bd8fadef43f9522d961d152c4 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -126,6 +126,14 @@ const Experiment::Choice kEnableCompositingForTransitionChoices[] = {
switches::kDisableCompositingForTransition, ""},
};
+const Experiment::Choice kEnableAcceleratedFixedRootBackgroundChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ switches::kEnableAcceleratedFixedRootBackground, ""},
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ switches::kDisableAcceleratedFixedRootBackground, ""},
+};
+
const Experiment::Choice kGDIPresentChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
{ IDS_FLAGS_PRESENT_WITH_GDI_FIRST_SHOW,
@@ -464,6 +472,13 @@ const Experiment kExperiments[] = {
kOsAll,
MULTI_VALUE_TYPE(kEnableCompositingForTransitionChoices)
},
+ {
+ "enable-accelerated-fixed-root-background",
+ IDS_FLAGS_ACCELERATED_FIXED_ROOT_BACKGROUND_NAME,
+ IDS_FLAGS_ACCELERATED_FIXED_ROOT_BACKGROUND_DESCRIPTION,
+ kOsAll,
+ MULTI_VALUE_TYPE(kEnableAcceleratedFixedRootBackgroundChoices)
+ },
// TODO(bbudge): When NaCl is on by default, remove this flag entry.
{
"enable-nacl", // FLAGS:RECORD_UMA
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698