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

Unified Diff: chrome/browser/ui/infobar_container_delegate.cc

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/infobar_container_delegate.cc
diff --git a/chrome/browser/ui/infobar_container_delegate.cc b/chrome/browser/ui/infobar_container_delegate.cc
index 866557653ae8fe86f104719bb837d42246dc7d7f..ad00dd4504e11b508f997165357454de82a6a5cd 100644
--- a/chrome/browser/ui/infobar_container_delegate.cc
+++ b/chrome/browser/ui/infobar_container_delegate.cc
@@ -70,6 +70,10 @@ void InfoBarContainerDelegate::SetMaxTopArrowHeight(
container->UpdateInfoBarArrowTargetHeights();
}
+int InfoBarContainerDelegate::DefaultMaxTopArrowHeight() const {
+ return GetDefaultArrowTargetHeight();
+}
+
int InfoBarContainerDelegate::ArrowTargetHeightForInfoBar(
size_t index,
const gfx::SlideAnimation& animation) const {

Powered by Google App Engine
This is Rietveld 408576698