native_theme_features.h 785 B

123456789101112131415161718192021222324252627
  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
  3. // found in the LICENSE file.
  4. // Defines all the command-line switches used by native theme
  5. #ifndef UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_
  6. #define UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_
  7. #include "base/feature_list.h"
  8. #include "ui/native_theme/native_theme_export.h"
  9. namespace features {
  10. NATIVE_THEME_EXPORT extern const base::Feature kOverlayScrollbar;
  11. NATIVE_THEME_EXPORT extern const base::Feature kFluentScrollbar;
  12. } // namespace features
  13. namespace ui {
  14. NATIVE_THEME_EXPORT bool IsOverlayScrollbarEnabled();
  15. NATIVE_THEME_EXPORT bool IsFluentScrollbarEnabled();
  16. } // namespace ui
  17. #endif // UI_NATIVE_THEME_NATIVE_THEME_FEATURES_H_