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

Unified Diff: ui/views/cocoa/native_widget_mac_nswindow.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/cocoa/native_widget_mac_nswindow.h
diff --git a/ui/views/cocoa/native_widget_mac_nswindow.h b/ui/views/cocoa/native_widget_mac_nswindow.h
index 943c3e20735d0b2c106bb6c698070572f6f1a950..b3cecfa64065ef9172e771e2b181cb4dcedb71e8 100644
--- a/ui/views/cocoa/native_widget_mac_nswindow.h
+++ b/ui/views/cocoa/native_widget_mac_nswindow.h
@@ -15,4 +15,10 @@ VIEWS_EXPORT
@interface NativeWidgetMacNSWindow : NSWindow
@end
+// Overrides contentRect <-> frameRect conversion methods to keep them equal to
+// each other.
tapted 2015/03/18 00:06:39 add (e.g.) ", even for windows that do not use NSB
jackhou1 2015/03/18 03:44:39 Done.
+VIEWS_EXPORT
+@interface NativeWidgetMacFramelessNSWindow : NativeWidgetMacNSWindow
tapted 2015/03/18 00:06:39 This is only used in chrome/browser/ui/views/apps/
jackhou1 2015/03/18 03:44:39 Done.
+@end
+
#endif // UI_VIEWS_COCOA_NATIVE_WIDGET_MAC_NSWINDOW_H_

Powered by Google App Engine
This is Rietveld 408576698