summaryrefslogtreecommitdiffstats
path: root/views/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/view.h')
-rw-r--r--views/view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/view.h b/views/view.h
index e3a78f7..561632d 100644
--- a/views/view.h
+++ b/views/view.h
@@ -33,6 +33,7 @@ class Path;
class ChromeCanvas;
class OSExchangeData;
class ViewAccessibilityWrapper;
+class ThemeProvider;
namespace views {
@@ -995,6 +996,9 @@ class View : public AcceleratorTarget {
virtual int GetLineScrollIncrement(ScrollView* scroll_view,
bool is_horizontal, bool is_positive);
+ // Get the theme provider from the parent widget.
+ ThemeProvider* GetThemeProvider();
+
protected:
// The id of this View. Used to find this View.
int id_;