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

Unified Diff: ui/views/widget/native_widget_mac.h

Issue 987323002: [MacViews] Frameless app windows: make content view cover title bar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 9 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 | « ui/views/cocoa/bridged_content_view.mm ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_mac.h
diff --git a/ui/views/widget/native_widget_mac.h b/ui/views/widget/native_widget_mac.h
index 2ebbcfc3d81fc79ad9cecbc7a3bd74e5ca5ee87f..3569bce343492b0fc21b94f96f951ae2004fdca5 100644
--- a/ui/views/widget/native_widget_mac.h
+++ b/ui/views/widget/native_widget_mac.h
@@ -118,6 +118,10 @@ class VIEWS_EXPORT NativeWidgetMac : public internal::NativeWidgetPrivate {
void RepostNativeEvent(gfx::NativeEvent native_event) override;
protected:
+ // Creates the NSWindow that will be passed to the BridgedNativeWidget.
+ // Called by InitNativeWidget. The return value will be autoreleased.
+ virtual gfx::NativeWindow CreateNSWindow(const Widget::InitParams& params);
+
internal::NativeWidgetDelegate* delegate() { return delegate_; }
private:
« no previous file with comments | « ui/views/cocoa/bridged_content_view.mm ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698