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

Unified Diff: ui/native_theme/native_theme_features.h

Issue 2806263005: Convert the overlay scrollbar flag to use FeatureList (Closed)
Patch Set: dtapuska comment addressed 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: 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 61%
rename from ui/native_theme/native_theme_switches.h
rename to ui/native_theme/native_theme_features.h
index 026ee70eca378be31944d0b8c56fd8d6d96583fc..265d7e5ea79105fa954dade2f6226345d4b9522d 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 {

Powered by Google App Engine
This is Rietveld 408576698