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

Unified Diff: chrome/browser/about_flags.cc

Issue 485663002: Revert of Remove the acclerated overflow scroll and fixed root background flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | 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 fd0cb455270f06c06b97ac4d2f08c773a3716d25..64852e3ded3cc10371e65e8762dba76e92dac5a1 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -149,6 +149,14 @@
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 kTouchEventsChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_AUTOMATIC, "", "" },
{ IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
@@ -534,6 +542,14 @@
SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)
},
{
+ "force-accelerated-composited-scrolling",
+ IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME,
+ IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION,
+ kOsAll,
+ ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedOverflowScroll,
+ switches::kDisableAcceleratedOverflowScroll)
+ },
+ {
"disable_layer_squashing",
IDS_FLAGS_DISABLE_LAYER_SQUASHING_NAME,
IDS_FLAGS_DISABLE_LAYER_SQUASHING_DESCRIPTION,
@@ -633,6 +649,13 @@
IDS_FLAGS_COMPOSITING_FOR_TRANSITION_DESCRIPTION,
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)
},
// Native client is compiled out when DISABLE_NACL is defined.
#if !defined(DISABLE_NACL)
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698