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

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: Test size of web contents, not content view. 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
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..79a2ee8b7c784c3c24b2cc50b34c7a2e583ab182 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.
tapted 2015/03/18 00:06:39 Add comment that the return value will be autorele
jackhou1 2015/03/18 03:44:39 Done.
+ virtual NSWindow* CreateNSWindow(Widget::InitParams params);
tapted 2015/03/18 00:06:39 return gfx::NativeWindow, take const-reference
jackhou1 2015/03/18 03:44:39 Done.
+
internal::NativeWidgetDelegate* delegate() { return delegate_; }
private:

Powered by Google App Engine
This is Rietveld 408576698