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

Unified Diff: chrome/browser/ui/cocoa/framed_browser_window.h

Issue 2351183003: [Mac] Avoid "adding unknown subview" warning. (Closed)
Patch Set: Created 4 years, 3 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: chrome/browser/ui/cocoa/framed_browser_window.h
diff --git a/chrome/browser/ui/cocoa/framed_browser_window.h b/chrome/browser/ui/cocoa/framed_browser_window.h
index d435422f009773eba4e4990122837b648454a123..04aae8489de529b6d571c4e6e625b1092a73e6cf 100644
--- a/chrome/browser/ui/cocoa/framed_browser_window.h
+++ b/chrome/browser/ui/cocoa/framed_browser_window.h
@@ -21,7 +21,7 @@ const NSInteger kFramedWindowButtonsWithoutTabStripOffsetFromLeft = 8;
// The amount of window background image that is painted at the top of the
// window, so that it shows behind the tap strip area.
-const CGFloat kBrowserFrameViewPaintHeight = 60.0;
+const CGFloat kBrowserFrameViewPaintHeight = 37.0;
erikchen 2016/09/20 23:07:47 I imagine we'll need two variables, one for 10.11+
shrike 2016/09/20 23:27:17 Ugh. My assumption is that the frame paint height
// Cocoa class representing a framed browser window.
// We need to override NSWindow with our own class since we need access to all

Powered by Google App Engine
This is Rietveld 408576698