OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_MAC_H_ | 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ |
6 #define UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ | 6 #define UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ |
7 | 7 |
8 #include "ui/native_theme/native_theme_base.h" | 8 #include "ui/native_theme/fallback_theme.h" |
| 9 #include "ui/native_theme/native_theme_export.h" |
9 | 10 |
10 namespace ui { | 11 namespace ui { |
11 | 12 |
12 // Mac implementation of native theme support. | 13 // Mac implementation of native theme support. |
13 class NativeThemeMac : public NativeThemeBase { | 14 // TODO(tapted): This should not use FallbackTheme. |
| 15 class NATIVE_THEME_EXPORT NativeThemeMac : public FallbackTheme { |
14 public: | 16 public: |
15 static NativeThemeMac* instance(); | 17 static NativeThemeMac* instance(); |
16 | 18 |
17 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE; | 19 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE; |
18 | 20 |
19 private: | 21 private: |
20 NativeThemeMac(); | 22 NativeThemeMac(); |
21 virtual ~NativeThemeMac(); | 23 virtual ~NativeThemeMac(); |
22 | 24 |
23 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac); | 25 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac); |
24 }; | 26 }; |
25 | 27 |
26 } // namespace ui | 28 } // namespace ui |
27 | 29 |
28 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ | 30 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ |
OLD | NEW |