| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 APP_THEME_PROVIDER_H_ | 5 #ifndef APP_THEME_PROVIDER_H_ |
| 6 #define APP_THEME_PROVIDER_H_ | 6 #define APP_THEME_PROVIDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | |
| 10 | |
| 11 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 12 #include "third_party/skia/include/core/SkColor.h" | 10 #include "third_party/skia/include/core/SkColor.h" |
| 13 | 11 |
| 14 #if defined(OS_MACOSX) | 12 #if defined(OS_MACOSX) |
| 15 #ifdef __OBJC__ | 13 #ifdef __OBJC__ |
| 16 @class NSColor; | 14 @class NSColor; |
| 17 @class NSGradient; | 15 @class NSGradient; |
| 18 @class NSImage; | 16 @class NSImage; |
| 19 #else | 17 #else |
| 20 class NSColor; | 18 class NSColor; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 // pointer to a shared empty placeholder bitmap so it will be visible what | 106 // pointer to a shared empty placeholder bitmap so it will be visible what |
| 109 // is missing. | 107 // is missing. |
| 110 virtual GdkPixbuf* GetPixbufNamed(int id) const = 0; | 108 virtual GdkPixbuf* GetPixbufNamed(int id) const = 0; |
| 111 | 109 |
| 112 // As above, but flips it in RTL locales. | 110 // As above, but flips it in RTL locales. |
| 113 virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id) const = 0; | 111 virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id) const = 0; |
| 114 #endif | 112 #endif |
| 115 }; | 113 }; |
| 116 | 114 |
| 117 #endif // APP_THEME_PROVIDER_H_ | 115 #endif // APP_THEME_PROVIDER_H_ |
| OLD | NEW |