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

Unified Diff: chrome/browser/about_flags.cc

Issue 9264025: aura: Replace UI-feature GYP flags with switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 11 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 | « build/common.gypi ('k') | no next file » | 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 d5efe193c0689069d3219eb88255d778099cc29f..6a5d068fe26df3c5704d321382e374ee6e0de174 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -480,15 +480,6 @@ const Experiment kExperiments[] = {
kOsWin | kOsLinux | kOsCrOS,
SINGLE_VALUE_TYPE(ash::switches::kAuraGoogleDialogFrames)
},
-#endif // defined(USE_AURA)
- {
- "enable-gamepad",
- IDS_FLAGS_ENABLE_GAMEPAD_NAME,
- IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION,
- kOsAll,
- SINGLE_VALUE_TYPE(switches::kEnableGamepad)
- },
-#if defined(AURA_SHOW_ABOUT_FLAG_WINDOW_MODE)
// TODO(jamescook): Enable this for all ChromeOS builds when we're sure
// Aura laptop mode performance and feature set match traditional non-Aura
// builds.
@@ -499,7 +490,14 @@ const Experiment kExperiments[] = {
kOsWin | kOsLinux | kOsCrOS,
MULTI_VALUE_TYPE(kAuraWindowModeChoices)
},
-#endif
+#endif // defined(USE_AURA)
+ {
+ "enable-gamepad",
+ IDS_FLAGS_ENABLE_GAMEPAD_NAME,
+ IDS_FLAGS_ENABLE_GAMEPAD_DESCRIPTION,
+ kOsAll,
+ SINGLE_VALUE_TYPE(switches::kEnableGamepad)
+ },
{
"per-tile-painting",
IDS_FLAGS_PER_TILE_PAINTING_NAME,
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698