From 4a19063d1459a4c9c8c4c50ed86eb9048f69ea3f Mon Sep 17 00:00:00 2001 From: "glen@chromium.org" Date: Sat, 9 May 2009 01:07:42 +0000 Subject: This is the first pass at themes. This CL is paired with http://codereview.chromium.org/67284 This CL (for commit purposes) includes http://codereview.chromium.org/67284 BUG=4463,11232,11233,11234,11235 Review URL: http://codereview.chromium.org/99030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15704 0039d316-1c4b-4281-b951-d872f2087c98 --- views/view.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'views/view.h') 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_; -- cgit v1.1