| Index: ui/views/views_delegate.h
|
| diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h
|
| index 79e4794bd05d693872df7952d6a8ff61352594a1..9558b9a45398fa9fe9d0ef57d16c5fb052c363a9 100644
|
| --- a/ui/views/views_delegate.h
|
| +++ b/ui/views/views_delegate.h
|
| @@ -106,13 +106,9 @@ class VIEWS_EXPORT ViewsDelegate {
|
| content::BrowserContext* browser_context,
|
| content::SiteInstance* site_instance) = 0;
|
|
|
| - // Creates a NativeWidget implementation. Returning NULL means Widget will
|
| - // create a default implementation for the platform.
|
| - virtual NativeWidget* CreateNativeWidget(
|
| - Widget::InitParams::Type type,
|
| - internal::NativeWidgetDelegate* delegate,
|
| - gfx::NativeView parent,
|
| - gfx::NativeView context) = 0;
|
| + // Gives the platform a chance to modify the properties of a Widget.
|
| + virtual void OnWidgetInit(Widget::InitParams* params,
|
| + internal::NativeWidgetDelegate* delegate) = 0;
|
| };
|
|
|
| } // namespace views
|
|
|