diff options
Diffstat (limited to 'app/theme_provider.h')
-rw-r--r-- | app/theme_provider.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/theme_provider.h b/app/theme_provider.h index 70d374b..774810e 100644 --- a/app/theme_provider.h +++ b/app/theme_provider.h @@ -42,6 +42,10 @@ class ThemeProvider { // a custom frame. virtual bool ShouldUseNativeFrame() = 0; + // Whether or not we have a certain image. Used for when the default theme + // doesn't provide a certain image, but custom themes might (badges, etc). + virtual bool HasCustomImage(int id) = 0; + #if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS) // 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 |