summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget_delegate.h')
-rw-r--r--views/widget/widget_delegate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/widget/widget_delegate.h b/views/widget/widget_delegate.h
index 0e34e5b..a985051 100644
--- a/views/widget/widget_delegate.h
+++ b/views/widget/widget_delegate.h
@@ -22,6 +22,7 @@ class ClientView;
class DialogDelegate;
class NonClientFrameView;
class View;
+class Widget;
class Window;
// WidgetDelegate interface
@@ -137,8 +138,8 @@ class WidgetDelegate {
virtual View* GetContentsView();
// Called by the Window to create the Client View used to host the contents
- // of the window.
- virtual ClientView* CreateClientView(Window* window);
+ // of the widget.
+ virtual ClientView* CreateClientView(Widget* widget);
// Called by the Widget to create the NonClient Frame View for this widget.
// Return NULL to use the default one.