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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm

Issue 2196203002: [Mac] The infobar's top arrow should be hidden while the omnibox popup is shown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to the patch set 1 Created 4 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
Index: chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm
index 8caa878b04da223106bb6af90bd03f70759b140f..f340e313466c5e0dcd482e0288a89fef0098e7e5 100644
--- a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm
+++ b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm
@@ -142,6 +142,10 @@ - (void)setMaxTopArrowHeight:(NSInteger)height {
containerCocoa_->SetMaxTopArrowHeight(height, containerCocoa_.get());
}
+- (NSInteger)defaultMaxTopArrowHeight {
+ return containerCocoa_->DefaultMaxTopArrowHeight();
+}
+
- (CGFloat)heightOfInfoBars {
CGFloat totalHeight = 0;
for (InfoBarController* controller in infobarControllers_.get()) {

Powered by Google App Engine
This is Rietveld 408576698