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

Unified Diff: chrome/browser/about_flags.cc

Issue 484473002: Revert of Replace enable-compositing-for-fixed-position with prefer-compositing-to-lcd-text. (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 64852e3ded3cc10371e65e8762dba76e92dac5a1..fa08f1d2cd3663591f6bf4c2a6da9cb340c7e496 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -141,6 +141,16 @@
return flags;
}
+const Experiment::Choice kEnableCompositingForFixedPositionChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ switches::kEnableCompositingForFixedPosition, ""},
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ switches::kDisableCompositingForFixedPosition, ""},
+ { IDS_FLAGS_COMPOSITING_FOR_FIXED_POSITION_HIGH_DPI,
+ switches::kEnableHighDpiCompositingForFixedPosition, ""}
+};
+
const Experiment::Choice kEnableCompositingForTransitionChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
{ IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
@@ -643,6 +653,13 @@
SINGLE_VALUE_TYPE(switches::kDisableWebAudio)
},
#endif
+ {
+ "enable-compositing-for-fixed-position",
+ IDS_FLAGS_COMPOSITING_FOR_FIXED_POSITION_NAME,
+ IDS_FLAGS_COMPOSITING_FOR_FIXED_POSITION_DESCRIPTION,
+ kOsAll,
+ MULTI_VALUE_TYPE(kEnableCompositingForFixedPositionChoices)
+ },
{
"enable-compositing-for-transition",
IDS_FLAGS_COMPOSITING_FOR_TRANSITION_NAME,
« 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