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

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: Rebase to ToT 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
« no previous file with comments | « ui/views/test/test_views_delegate.cc ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/views/test/test_views_delegate.cc ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698