| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ |
| 6 #define UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | 6 #define UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/native_theme/native_theme_base.h" | 9 #include "ui/native_theme/native_theme_base.h" |
| 10 | 10 |
| 11 namespace ui { | 11 namespace ui { |
| 12 | 12 |
| 13 // Aura implementation of native theme support. | 13 // Aura implementation of native theme support. |
| 14 class NATIVE_THEME_EXPORT NativeThemeAura : public NativeThemeBase { | 14 class NATIVE_THEME_EXPORT NativeThemeAura : public NativeThemeBase { |
| 15 public: | 15 public: |
| 16 static NativeThemeAura* instance(); | 16 static NativeThemeAura* instance(); |
| 17 | 17 |
| 18 bool HasScrollbarButtons() const override; |
| 19 |
| 18 protected: | 20 protected: |
| 19 NativeThemeAura(); | 21 NativeThemeAura(); |
| 20 ~NativeThemeAura() override; | 22 ~NativeThemeAura() override; |
| 21 | 23 |
| 22 // Overridden from NativeThemeBase: | 24 // Overridden from NativeThemeBase: |
| 23 SkColor GetSystemColor(ColorId color_id) const override; | 25 SkColor GetSystemColor(ColorId color_id) const override; |
| 24 void PaintMenuPopupBackground( | 26 void PaintMenuPopupBackground( |
| 25 SkCanvas* canvas, | 27 SkCanvas* canvas, |
| 26 const gfx::Size& size, | 28 const gfx::Size& size, |
| 27 const MenuBackgroundExtraParams& menu_background) const override; | 29 const MenuBackgroundExtraParams& menu_background) const override; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 54 double progress, | 56 double progress, |
| 55 const gfx::Rect& rect) const override; | 57 const gfx::Rect& rect) const override; |
| 56 | 58 |
| 57 private: | 59 private: |
| 58 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); | 60 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); |
| 59 }; | 61 }; |
| 60 | 62 |
| 61 } // namespace ui | 63 } // namespace ui |
| 62 | 64 |
| 63 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ | 65 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ |
| OLD | NEW |