Index: views/widget/widget_gtk.h |
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h |
index 7e1bdd14c84968f42d3ff420ffae2477b8c49985..7a2820e735c7f138b8358fdd391d0ea74c60f435 100644 |
--- a/views/widget/widget_gtk.h |
+++ b/views/widget/widget_gtk.h |
@@ -149,6 +149,11 @@ class WidgetGtk |
// Returns the RootView for |widget|. |
static RootView* GetRootViewForWidget(GtkWidget* widget); |
+ // Gets the requested size of the widget. This can be the size |
+ // stored in properties for a GtkViewsFixed, or in the requisitioned |
+ // size of other kinds of widgets. |
+ void GetRequestedSize(gfx::Size* out) const; |
+ |
// Overriden from ActiveWindowWatcherX::Observer. |
virtual void ActiveWindowChanged(GdkWindow* active_window); |