Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: ui/views/views_delegate.h

Issue 11578014: Desktop aura: Expand what the ViewsDelegate can do to new windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698