summaryrefslogtreecommitdiffstats
path: root/views/widget
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-09 03:15:24 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-09 03:15:24 +0000
commitb76a0b09a2a375cecd4c0647738f9aaff21dab06 (patch)
treeb7c1636c646bc08bc93858365b7a190a1abf785f /views/widget
parentdd51bd8427f7fdc7071d0c189dd96a6b392dac3f (diff)
downloadchromium_src-b76a0b09a2a375cecd4c0647738f9aaff21dab06.zip
chromium_src-b76a0b09a2a375cecd4c0647738f9aaff21dab06.tar.gz
chromium_src-b76a0b09a2a375cecd4c0647738f9aaff21dab06.tar.bz2
Random cleanups and stubs to get cross platform build going.
TBR=beng Review URL: http://codereview.chromium.org/115158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r--views/widget/widget_gtk.cc5
-rw-r--r--views/widget/widget_gtk.h1
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();