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_BASE_DEFAULT_THEME_PROVIDER_H_ | 5 #ifndef UI_BASE_DEFAULT_THEME_PROVIDER_H_ |
6 #define UI_BASE_DEFAULT_THEME_PROVIDER_H_ | 6 #define UI_BASE_DEFAULT_THEME_PROVIDER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "ui/base/theme_provider.h" | 12 #include "ui/base/theme_provider.h" |
13 #include "ui/base/ui_export.h" | 13 #include "ui/base/ui_base_export.h" |
14 | 14 |
15 namespace ui { | 15 namespace ui { |
16 class ResourceBundle; | 16 class ResourceBundle; |
17 } | 17 } |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 | 20 |
21 class UI_EXPORT DefaultThemeProvider : public ThemeProvider { | 21 class UI_BASE_EXPORT DefaultThemeProvider : public ThemeProvider { |
22 public: | 22 public: |
23 DefaultThemeProvider(); | 23 DefaultThemeProvider(); |
24 virtual ~DefaultThemeProvider(); | 24 virtual ~DefaultThemeProvider(); |
25 | 25 |
26 // Overridden from ui::ThemeProvider: | 26 // Overridden from ui::ThemeProvider: |
27 virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const OVERRIDE; | 27 virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const OVERRIDE; |
28 virtual SkColor GetColor(int id) const OVERRIDE; | 28 virtual SkColor GetColor(int id) const OVERRIDE; |
29 virtual int GetDisplayProperty(int id) const OVERRIDE; | 29 virtual int GetDisplayProperty(int id) const OVERRIDE; |
30 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 30 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
31 virtual bool HasCustomImage(int id) const OVERRIDE; | 31 virtual bool HasCustomImage(int id) const OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
43 virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id) const OVERRIDE; | 43 virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id) const OVERRIDE; |
44 #endif | 44 #endif |
45 | 45 |
46 private: | 46 private: |
47 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider); | 47 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace ui | 50 } // namespace ui |
51 | 51 |
52 #endif // UI_BASE_DEFAULT_THEME_PROVIDER_H_ | 52 #endif // UI_BASE_DEFAULT_THEME_PROVIDER_H_ |
OLD | NEW |