Index: ui/views/views_delegate.h |
diff --git a/ui/views/views_delegate.h b/ui/views/views_delegate.h |
index 79e4794bd05d693872df7952d6a8ff61352594a1..b59412482caa80dc8409544c13743a83c217d4af 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 OnBeforeWidgetInit(Widget::InitParams* params, |
+ internal::NativeWidgetDelegate* delegate) = 0; |
}; |
} // namespace views |