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

Unified Diff: ui/views/views_delegate.h

Issue 1390353007: Adds MUSViewsInit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows Created 5 years, 2 months 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 | « mandoline/ui/omnibox/omnibox_application.cc ('k') | ui/views/views_delegate.cc » ('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 c881daab09f34eae37173da7ee7d292af26f5fe4..8cb0940fb7f2b4fac904b269116eff0709aa7138 100644
--- a/ui/views/views_delegate.h
+++ b/ui/views/views_delegate.h
@@ -88,6 +88,11 @@ class VIEWS_EXPORT ViewsDelegate {
// Returns the ViewsDelegate instance if there is one, or nullptr otherwise.
static ViewsDelegate* GetInstance();
+ // Allows the delegate to override creation of the default NativeWidget
+ // implementation used by Widget.
+ virtual NativeWidget* CreateNativeWidget(
+ internal::NativeWidgetDelegate* delegate);
+
// Saves the position, size and "show" state for the window with the
// specified name.
virtual void SaveWindowPlacement(const Widget* widget,
« no previous file with comments | « mandoline/ui/omnibox/omnibox_application.cc ('k') | ui/views/views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698