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

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

Issue 7461134: [Mac] Unspoofable infobars v3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 9 years, 4 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
« no previous file with comments | « chrome/app/nibs/InfoBar.xib ('k') | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4a7966549989a641ef44e88465a61eba1a8c7cbe..91041c593e03322299df1445479c79defd1ab714 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
@@ -2237,7 +2237,7 @@ willAnimateFromState:(bookmarks::VisualState)oldState
// browser chrome.
activeArea.size.height +=
NSHeight([[infoBarContainerController_ view] frame]) -
- [infoBarContainerController_ antiSpoofHeight];
+ [infoBarContainerController_ overlappingTipHeight];
if ([self isBookmarkBarVisible] && [self placeBookmarkBarBelowInfoBar]) {
NSView* bookmarkBarView = [bookmarkBarController_ view];
activeArea.size.height += NSHeight([bookmarkBarView frame]);
« no previous file with comments | « chrome/app/nibs/InfoBar.xib ('k') | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698