diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-23 02:49:34 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-23 02:49:34 +0000 |
commit | 232d1b83fbcadc744455b9b1615713d54f974499 (patch) | |
tree | 385ea2e2fbacc14b1604721da74a0d226609ef97 /views/widget/widget_gtk.h | |
parent | 51d295b8863dc7e88568c598f908ad4c79ff38b6 (diff) | |
download | chromium_src-232d1b83fbcadc744455b9b1615713d54f974499.zip chromium_src-232d1b83fbcadc744455b9b1615713d54f974499.tar.gz chromium_src-232d1b83fbcadc744455b9b1615713d54f974499.tar.bz2 |
Makes FindBarWin buildable on linux. FindBarWin should be renamed to
FindBarViews, but I'm leaving it as is for now.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/113793
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget_gtk.h')
-rw-r--r-- | views/widget/widget_gtk.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h index e1a7468..73d8b7f 100644 --- a/views/widget/widget_gtk.h +++ b/views/widget/widget_gtk.h @@ -37,7 +37,9 @@ class WidgetGtk : public Widget, public MessageLoopForUI::Observer { virtual ~WidgetGtk(); // Initializes this widget. - void Init(const gfx::Rect& bounds, bool has_own_focus_manager); + void Init(GtkWidget* parent, + const gfx::Rect& bounds, + bool has_own_focus_manager); // Sets whether or not we are deleted when the widget is destroyed. The // default is true. @@ -62,6 +64,9 @@ class WidgetGtk : public Widget, public MessageLoopForUI::Observer { virtual void Show(); virtual void Hide(); + // Sets the bounds of the widget. + virtual void SetBounds(const gfx::Rect& bounds); + // Overridden from Widget: virtual void GetBounds(gfx::Rect* out, bool including_frame) const; virtual gfx::NativeView GetNativeView() const; |