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

Unified Diff: chrome/browser/about_flags.cc

Issue 2806263005: Convert the overlay scrollbar flag to use FeatureList (Closed)
Patch Set: add test for scoped_feature_list Created 3 years, 8 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 cbccc4bf3871f9b6404545ae33b244de31a8cf0a..efcf8fe57b18e45b47d4c23295a88174339072e9 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -97,7 +97,7 @@
#include "ui/gl/gl_features.h"
#include "ui/gl/gl_switches.h"
#include "ui/keyboard/keyboard_switches.h"
-#include "ui/native_theme/native_theme_switches.h"
+#include "ui/native_theme/native_theme_features.h"
#include "ui/views/views_switches.h"
#if defined(OS_ANDROID)
@@ -1018,9 +1018,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kOverlayScrollbarsDescription,
// Uses the system preference on Mac (a different implementation).
// On Android, this is always enabled.
- kOsAura,
- ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOverlayScrollbar,
- switches::kDisableOverlayScrollbar)},
+ kOsAura, FEATURE_VALUE_TYPE(features::kOverlayScrollbar)},
#endif // USE_AURA
{ // See http://crbug.com/120416 for how to remove this flag.
"save-page-as-mhtml", flag_descriptions::kSavePageAsMhtmlName,

Powered by Google App Engine
This is Rietveld 408576698