Index: chrome/browser/ui/cocoa/browser_window_controller.mm |
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm |
index fbfa591d979a297f06b621bc97dd6936d663b9f3..f349fbb93ce698c980bd96a6ada90c07f1bbde95 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm |
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm |
@@ -727,6 +727,8 @@ using content::WebContents; |
// browsers' behaviour, and is desirable in multi-tab situations. Note, however, |
// that the "toggle" behaviour means that the window can still be "unzoomed" to |
// the user size. |
+// Note: this method is also called from -isZoomed. If the returned zoomed rect |
+// equals the current window's frame, -isZoomed returns YES. |
- (NSRect)windowWillUseStandardFrame:(NSWindow*)window |
defaultFrame:(NSRect)frame { |
// Forget that we grew the window up (if we in fact did). |