diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 23:30:26 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 23:30:26 +0000 |
commit | 5bc87e02c16ccf68c69bff890af32748dba95142 (patch) | |
tree | 4733e9677e853fbd457f3afcc346fa72cf6a4776 /views/widget/widget_gtk.h | |
parent | af34e6cd862c0ef241c66687e0f88ffccf2c9044 (diff) | |
download | chromium_src-5bc87e02c16ccf68c69bff890af32748dba95142.zip chromium_src-5bc87e02c16ccf68c69bff890af32748dba95142.tar.gz chromium_src-5bc87e02c16ccf68c69bff890af32748dba95142.tar.bz2 |
Fixes couple of bugs that occur now that we can actually run views on
gtk again.
BUG=none
TEST=none
TBR=ben
Review URL: http://codereview.chromium.org/115961
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget_gtk.h')
-rw-r--r-- | views/widget/widget_gtk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h index 3d57e4f..3fd866b 100644 --- a/views/widget/widget_gtk.h +++ b/views/widget/widget_gtk.h @@ -16,6 +16,7 @@ class Rect; namespace views { +class DefaultThemeProvider; class TooltipManagerGtk; class View; class WindowGtk; @@ -78,6 +79,7 @@ class WidgetGtk : public Widget, public MessageLoopForUI::Observer { virtual bool GetAccelerator(int cmd_id, Accelerator* accelerator); virtual Window* GetWindow(); virtual const Window* GetWindow() const; + virtual ThemeProvider* GetThemeProvider() const; // MessageLoopForUI::Observer. virtual void WillProcessEvent(GdkEvent* event) {} @@ -198,6 +200,8 @@ class WidgetGtk : public Widget, public MessageLoopForUI::Observer { // See description above setter. bool delete_on_destroy_; + scoped_ptr<DefaultThemeProvider> default_theme_provider_; + DISALLOW_COPY_AND_ASSIGN(WidgetGtk); }; |