| OLD | NEW |
| 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_SWITCHES_H_ |
| 8 #define UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_ | 8 #define UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_ |
| 9 | 9 |
| 10 #include "ui/native_theme/native_theme_export.h" | 10 #include "ui/native_theme/native_theme_export.h" |
| 11 | 11 |
| 12 namespace switches { | 12 namespace switches { |
| 13 | 13 |
| 14 NATIVE_THEME_EXPORT extern const char kDisableOverlayScrollbar[]; | 14 NATIVE_THEME_EXPORT extern const char kDisableOverlayScrollbar[]; |
| 15 NATIVE_THEME_EXPORT extern const char kEnableOverlayScrollbar[]; | 15 NATIVE_THEME_EXPORT extern const char kEnableOverlayScrollbar[]; |
| 16 NATIVE_THEME_EXPORT extern const char kHideScrollbars[]; | |
| 17 | 16 |
| 18 } // namespace switches | 17 } // namespace switches |
| 19 | 18 |
| 20 namespace ui { | 19 namespace ui { |
| 21 | 20 |
| 22 NATIVE_THEME_EXPORT bool IsOverlayScrollbarEnabled(); | 21 NATIVE_THEME_EXPORT bool IsOverlayScrollbarEnabled(); |
| 23 NATIVE_THEME_EXPORT bool ShouldHideScrollbars(); | |
| 24 | 22 |
| 25 } // namespace ui | 23 } // namespace ui |
| 26 | 24 |
| 27 #endif // UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_ | 25 #endif // UI_NATIVE_THEME_NATIVE_THEME_SWITCHES_H_ |
| OLD | NEW |