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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines all the command-line switches used by native theme 5 // Defines all the command-line switches used by native theme
6 6
7 #ifndef UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_ 7 #ifndef UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_
8 #define UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_ 8 #define UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_
9 9
10 #include "base/feature_list.h"
10 #include "ui/native_theme/native_theme_export.h" 11 #include "ui/native_theme/native_theme_export.h"
11 12
12 namespace switches { 13 namespace features {
13 14
14 NATIVE_THEME_EXPORT extern const char kDisableOverlayScrollbar[]; 15 NATIVE_THEME_EXPORT extern const base::Feature kOverlayScrollbar;
15 NATIVE_THEME_EXPORT extern const char kEnableOverlayScrollbar[];
16 16
17 } // namespace switches 17 } // namespace features
18 18
19 namespace ui { 19 namespace ui {
20 20
21 NATIVE_THEME_EXPORT bool IsOverlayScrollbarEnabled(); 21 NATIVE_THEME_EXPORT bool IsOverlayScrollbarEnabled();
22 22
23 } // namespace ui 23 } // namespace ui
24 24
25 #endif // UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_ 25 #endif // UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_
OLDNEW
« 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