OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_GFX_NATIVE_THEME_GTK_H_ | 5 #ifndef UI_GFX_NATIVE_THEME_GTK_H_ |
6 #define UI_GFX_NATIVE_THEME_GTK_H_ | 6 #define UI_GFX_NATIVE_THEME_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ui/gfx/native_theme_base.h" | 9 #include "ui/gfx/native_theme_base.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gfx { |
12 | 12 |
13 // GTK implementation of native theme support. | 13 // GTK implementation of native theme support. |
14 class NativeThemeGtk : public NativeThemeBase { | 14 class NativeThemeGtk : public NativeThemeBase { |
15 public: | 15 public: |
16 static const NativeThemeGtk* instance(); | 16 static const NativeThemeGtk* instance(); |
17 | 17 |
| 18 virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE; |
| 19 |
18 private: | 20 private: |
19 NativeThemeGtk(); | 21 NativeThemeGtk(); |
20 virtual ~NativeThemeGtk(); | 22 virtual ~NativeThemeGtk(); |
21 }; | 23 }; |
22 | 24 |
23 } // namespace gfx | 25 } // namespace gfx |
24 | 26 |
25 #endif // UI_GFX_NATIVE_THEME_GTK_H_ | 27 #endif // UI_GFX_NATIVE_THEME_GTK_H_ |
OLD | NEW |