Index: ui/base/theme_provider.h |
diff --git a/ui/base/theme_provider.h b/ui/base/theme_provider.h |
index 15e783756707d77fe362ef850fc029182c401d5d..284b5e0f2fb50c5e8b59636bca5ed131619c5113 100644 |
--- a/ui/base/theme_provider.h |
+++ b/ui/base/theme_provider.h |
@@ -50,6 +50,10 @@ class UI_BASE_EXPORT ThemeProvider { |
public: |
virtual ~ThemeProvider(); |
+ // Whether we're using the native theme (which may or may not be the |
+ // same as the default theme). |
+ virtual bool UsingNativeTheme() const = 0; |
+ |
// Get the image specified by |id|. An implementation of ThemeProvider should |
// have its own source of ids (e.g. an enum, or external resource bundle). |
virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const = 0; |