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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller_private.mm

Issue 1849343003: mac: Remove IsOSSnowLeopard(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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: chrome/browser/ui/cocoa/browser_window_controller_private.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.mm b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
index ef42630bf533ac8c320cc112950f82b722b4ec64..85d1f5008fbf48830b32c17e7dd69f1341d6c71d 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
@@ -921,10 +921,6 @@ willPositionSheet:(NSWindow*)sheet
}
- (NSRect)fullscreenButtonFrame {
- // NSWindowFullScreenButton is 10.7+ and results in log spam on 10.6 if used.
- if (base::mac::IsOSSnowLeopard())
- return NSZeroRect;
-
NSButton* fullscreenButton =
[[self window] standardWindowButton:NSWindowFullScreenButton];
if (!fullscreenButton)

Powered by Google App Engine
This is Rietveld 408576698