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

Unified Diff: chrome/browser/about_flags.cc

Issue 131443007: aura: Remove old GL paths from RenderWidgetHostViewAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: shortcutswap Created 6 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
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 45de9da91a9e5a150a45036ad88685be9b74deee..52c2623680c0da1622e04cccd9ae4fbf8a054857 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -215,6 +215,7 @@ const Experiment::Choice kLCDTextChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, cc::switches::kDisableLCDText, ""}
};
+#ifndef USE_AURA
const Experiment::Choice kDelegatedRendererChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
{ IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
@@ -222,6 +223,7 @@ const Experiment::Choice kDelegatedRendererChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
switches::kDisableDelegatedRenderer, ""}
};
+#endif
const Experiment::Choice kMaxTilesForInterestAreaChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
@@ -448,7 +450,11 @@ const Experiment kExperiments[] = {
"force-compositing-mode-2",
IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME,
IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION,
+#if !defined(USE_AURA)
kOsLinux,
+#else
+ 0,
+#endif
ENABLE_DISABLE_VALUE_TYPE(switches::kForceCompositingMode,
switches::kDisableForceCompositingMode)
},
@@ -456,7 +462,11 @@ const Experiment kExperiments[] = {
"threaded-compositing-mode",
IDS_FLAGS_THREADED_COMPOSITING_MODE_NAME,
IDS_FLAGS_THREADED_COMPOSITING_MODE_DESCRIPTION,
+#if !defined(USE_AURA)
kOsLinux,
+#else
+ 0,
+#endif
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableThreadedCompositing,
switches::kDisableThreadedCompositing)
},
@@ -1455,16 +1465,15 @@ const Experiment kExperiments[] = {
kOsDesktop,
MULTI_VALUE_TYPE(kLCDTextChoices)
},
+#ifndef USE_AURA
{
"delegated-renderer",
IDS_FLAGS_DELEGATED_RENDERER_NAME,
IDS_FLAGS_DELEGATED_RENDERER_DESCRIPTION,
-#ifdef USE_AURA
- kOsWin | kOsLinux |
-#endif
- kOsAndroid | kOsCrOS,
+ kOsAndroid,
MULTI_VALUE_TYPE(kDelegatedRendererChoices)
},
+#endif
{
"enable-websocket-experimental-implementation",
IDS_FLAGS_ENABLE_EXPERIMENTAL_WEBSOCKET_NAME,

Powered by Google App Engine
This is Rietveld 408576698