diff options
Diffstat (limited to 'views/widget')
-rw-r--r-- | views/widget/widget_gtk.cc | 5 | ||||
-rw-r--r-- | views/widget/widget_gtk.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc index 5f1ff31..bfd4577 100644 --- a/views/widget/widget_gtk.cc +++ b/views/widget/widget_gtk.cc @@ -188,6 +188,11 @@ RootView* WidgetGtk::GetRootView() { return root_view_.get(); } +Widget* WidgetGtk::GetRootWidget() const { + NOTIMPLEMENTED(); + return NULL; +} + bool WidgetGtk::IsVisible() const { return GTK_WIDGET_VISIBLE(widget_); } diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h index 3abc18b..a86a31b 100644 --- a/views/widget/widget_gtk.h +++ b/views/widget/widget_gtk.h @@ -56,6 +56,7 @@ class WidgetGtk : public Widget { virtual gfx::NativeView GetNativeView() const; virtual void PaintNow(const gfx::Rect& update_rect); virtual RootView* GetRootView(); + virtual Widget* GetRootWidget() const; virtual bool IsVisible() const; virtual bool IsActive() const; virtual TooltipManager* GetTooltipManager(); |