summaryrefslogtreecommitdiffstats
path: root/app/theme_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/theme_provider.h')
-rw-r--r--app/theme_provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/theme_provider.h b/app/theme_provider.h
index 132a121..70d374b 100644
--- a/app/theme_provider.h
+++ b/app/theme_provider.h
@@ -34,6 +34,10 @@ class ThemeProvider {
// Get the color specified by |id|.
virtual SkColor GetColor(int id) = 0;
+ // Get the property (e.g. an alignment expressed in an enum, or a width or
+ // height) specified by |id|.
+ virtual bool GetDisplayProperty(int id, int* result) = 0;
+
// Whether we should use the native system frame (typically Aero glass) or
// a custom frame.
virtual bool ShouldUseNativeFrame() = 0;