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_ANDROID_H_ | 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_ |
6 #define UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_ | 6 #define UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_ |
7 | 7 |
8 #include "ui/native_theme/native_theme_base.h" | 8 #include "ui/native_theme/native_theme_base.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
11 | 11 |
12 // Android implementation of native theme support. | 12 // Android implementation of native theme support. |
13 class NativeThemeAndroid : public NativeThemeBase { | 13 class NativeThemeAndroid : public NativeThemeBase { |
14 public: | 14 public: |
15 static NativeThemeAndroid* instance(); | 15 static NativeThemeAndroid* instance(); |
16 | 16 |
17 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE; | 17 virtual SkColor GetSystemColor(ColorId color_id) const override; |
18 | 18 |
19 private: | 19 private: |
20 NativeThemeAndroid(); | 20 NativeThemeAndroid(); |
21 virtual ~NativeThemeAndroid(); | 21 virtual ~NativeThemeAndroid(); |
22 | 22 |
23 DISALLOW_COPY_AND_ASSIGN(NativeThemeAndroid); | 23 DISALLOW_COPY_AND_ASSIGN(NativeThemeAndroid); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace ui | 26 } // namespace ui |
27 | 27 |
28 #endif // UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_ | 28 #endif // UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_ |
OLD | NEW |