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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc

Issue 1802073002: Makes vertical alignment of location bar bubbles same (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Makes vertical alignment of location bar bubbles same (comments) Created 4 years, 9 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/views/location_bar/location_bar_bubble_delegate_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
index 6267856d1cad02b66b3ca92f1978058ded355674..21e785888033a100d674b84170cdce2722e00b44 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc
@@ -26,6 +26,8 @@ LocationBarBubbleDelegateView::LocationBarBubbleDelegateView(
content::Source<FullscreenController>(
browser->exclusive_access_manager()->fullscreen_controller()));
}
+ // Compensate for built-in vertical padding in the anchor view's image.
Peter Kasting 2016/03/14 22:35:51 Is this comment still correct? The various anchor
varkha 2016/03/15 00:11:42 This same comment appears in all dozen or so call
Peter Kasting 2016/03/15 00:34:15 OK.
+ set_anchor_view_insets(gfx::Insets(5, 0));
}
LocationBarBubbleDelegateView::~LocationBarBubbleDelegateView() {}

Powered by Google App Engine
This is Rietveld 408576698