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

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

Issue 611453004: Mac: Fix theme image drawing when building with >=10.9 SDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 3c9a6ba0889d77b3b23e912850c5b6df7a90fac1..7a05ebd873bf7876576f197adf1a498efb47d817 100644
--- a/chrome/browser/ui/cocoa/framed_browser_window.h
+++ b/chrome/browser/ui/cocoa/framed_browser_window.h
@@ -19,6 +19,8 @@ const NSInteger kFramedWindowButtonsWithTabStripOffsetFromLeft = 11;
const NSInteger kFramedWindowButtonsWithoutTabStripOffsetFromTop = 4;
const NSInteger kFramedWindowButtonsWithoutTabStripOffsetFromLeft = 8;
+const CGFloat kBrowserFrameViewPaintHeight = 60.0;
erikchen 2014/09/27 00:23:33 My personal preference is to extern constants in h
Andre 2014/09/27 18:17:02 I see the advantage of that, but in this case I th
+
// Cocoa class representing a framed browser window.
// We need to override NSWindow with our own class since we need access to all
// unhandled keyboard events and subclassing NSWindow is the only method to do

Powered by Google App Engine
This is Rietveld 408576698