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

Unified Diff: ui/native_theme/native_theme_features.h

Issue 2806263005: Convert the overlay scrollbar flag to use FeatureList (Closed)
Patch Set: move feature_list_ change to SetUpCommandLine 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
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_features.h
diff --git a/ui/native_theme/native_theme_switches.h b/ui/native_theme/native_theme_features.h
similarity index 53%
rename from ui/native_theme/native_theme_switches.h
rename to ui/native_theme/native_theme_features.h
index 026ee70eca378be31944d0b8c56fd8d6d96583fc..85e898574c2c439589e6cf197d11ef65ab389c86 100644
--- a/ui/native_theme/native_theme_switches.h
+++ b/ui/native_theme/native_theme_features.h
@@ -4,17 +4,17 @@
// Defines all the command-line switches used by native theme
-#ifndef UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_
-#define UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_
+#ifndef UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_
+#define UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_
+#include "base/feature_list.h"
#include "ui/native_theme/native_theme_export.h"
-namespace switches {
+namespace features {
-NATIVE_THEME_EXPORT extern const char kDisableOverlayScrollbar[];
-NATIVE_THEME_EXPORT extern const char kEnableOverlayScrollbar[];
+NATIVE_THEME_EXPORT extern const base::Feature kOverlayScrollbar;
-} // namespace switches
+} // namespace features
namespace ui {
@@ -22,4 +22,4 @@ NATIVE_THEME_EXPORT bool IsOverlayScrollbarEnabled();
} // namespace ui
-#endif // UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_
+#endif // UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698