Index: ui/base/theme_provider.h |
diff --git a/ui/base/theme_provider.h b/ui/base/theme_provider.h |
index 284b5e0f2fb50c5e8b59636bca5ed131619c5113..dbb2cbf7a5d3e486edd0bbde1a94a0df2fb90a02 100644 |
--- a/ui/base/theme_provider.h |
+++ b/ui/base/theme_provider.h |
@@ -20,9 +20,6 @@ class NSColor; |
class NSGradient; |
class NSImage; |
#endif // __OBJC__ |
-#elif !defined(OS_WIN) |
-typedef struct _GdkColor GdkColor; |
-typedef struct _GdkPixbuf GdkPixbuf; |
#endif // OS_* |
class SkBitmap; |
@@ -96,18 +93,6 @@ class UI_BASE_EXPORT ThemeProvider { |
// Gets the NSGradient with the specified |id|. |
virtual NSGradient* GetNSGradient(int id) const = 0; |
-#elif defined(OS_POSIX) && !defined(TOOLKIT_VIEWS) && !defined(OS_ANDROID) |
- // Gets the GdkPixbuf with the specified |id|. Returns a pointer to a shared |
- // instance of the GdkPixbuf. This shared GdkPixbuf is owned by the theme |
- // provider and should not be freed. |
- // |
- // The bitmap is assumed to exist. This function will log in release, and |
- // assert in debug mode if it does not. On failure, this will return a |
- // pointer to a shared empty placeholder bitmap so it will be visible what |
- // is missing. |
- |
- // As above, but flips it in RTL locales. |
- virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id) const = 0; |
#endif |
}; |