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" |
(...skipping 22 matching lines...) Expand all Loading... |
33 virtual base::RefCountedMemory* GetRawData( | 33 virtual base::RefCountedMemory* GetRawData( |
34 int id, | 34 int id, |
35 ui::ScaleFactor scale_factor) const OVERRIDE; | 35 ui::ScaleFactor scale_factor) const OVERRIDE; |
36 | 36 |
37 #if defined(OS_MACOSX) && !defined(TOOLKIT_VIEWS) | 37 #if defined(OS_MACOSX) && !defined(TOOLKIT_VIEWS) |
38 virtual NSImage* GetNSImageNamed(int id) const OVERRIDE; | 38 virtual NSImage* GetNSImageNamed(int id) const OVERRIDE; |
39 virtual NSColor* GetNSImageColorNamed(int id) const OVERRIDE; | 39 virtual NSColor* GetNSImageColorNamed(int id) const OVERRIDE; |
40 virtual NSColor* GetNSColor(int id) const OVERRIDE; | 40 virtual NSColor* GetNSColor(int id) const OVERRIDE; |
41 virtual NSColor* GetNSColorTint(int id) const OVERRIDE; | 41 virtual NSColor* GetNSColorTint(int id) const OVERRIDE; |
42 virtual NSGradient* GetNSGradient(int id) const OVERRIDE; | 42 virtual NSGradient* GetNSGradient(int id) const OVERRIDE; |
43 #elif defined(OS_POSIX) && !defined(TOOLKIT_VIEWS) && !defined(OS_ANDROID) | |
44 virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id) const OVERRIDE; | |
45 #endif | 43 #endif |
46 | 44 |
47 private: | 45 private: |
48 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider); | 46 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider); |
49 }; | 47 }; |
50 | 48 |
51 } // namespace ui | 49 } // namespace ui |
52 | 50 |
53 #endif // UI_BASE_DEFAULT_THEME_PROVIDER_H_ | 51 #endif // UI_BASE_DEFAULT_THEME_PROVIDER_H_ |
OLD | NEW |