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

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

Issue 2862003004: Mac: Fix infobar anchor under Harmony. (Closed)
Patch Set: s/. I/ i/ Created 3 years, 7 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_layout.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_layout.mm b/chrome/browser/ui/cocoa/browser_window_layout.mm
index 95819323bd8cf1055aa254077f5146262b118a74..dbee384e58b2474084c74cebaed2bdb6feebe06c 100644
--- a/chrome/browser/ui/cocoa/browser_window_layout.mm
+++ b/chrome/browser/ui/cocoa/browser_window_layout.mm
@@ -168,8 +168,8 @@ const CGFloat kLocationBarRightOffset = 35;
parameters_.infoBarHeight = infoBarHeight;
}
-- (void)setPageInfoBubblePointY:(CGFloat)pageInfoBubblePointY {
- parameters_.pageInfoBubblePointY = pageInfoBubblePointY;
+- (void)setInfoBarAnchorPointY:(CGFloat)infoBarAnchorPointY {
+ parameters_.infoBarAnchorPointY = infoBarAnchorPointY;
}
- (void)setHasDownloadShelf:(BOOL)hasDownloadShelf {
@@ -343,7 +343,7 @@ const CGFloat kLocationBarRightOffset = 35;
// info bubble icon.
if (parameters_.hasToolbar) {
infoBarMaxY =
- NSMinY(output_.toolbarFrame) + parameters.pageInfoBubblePointY;
+ NSMinY(output_.toolbarFrame) + parameters.infoBarAnchorPointY;
}
output_.infoBarFrame =
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_layout.h ('k') | chrome/browser/ui/cocoa/browser_window_layout_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698