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

Unified Diff: chrome/browser/ui/views/profile_chooser_view.cc

Issue 57513004: Profile chooser bubble overlaps avatar button and shouldn't. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/profile_chooser_view.cc
diff --git a/chrome/browser/ui/views/profile_chooser_view.cc b/chrome/browser/ui/views/profile_chooser_view.cc
index b7c827d756936e1163c8fe20f62339fe0b5279e2..f9bfa9d5ba4d9a37f6a6a37e06d81e826542c5c3 100644
--- a/chrome/browser/ui/views/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profile_chooser_view.cc
@@ -51,7 +51,6 @@ const int kLargeImageSide = 64;
const int kSmallImageSide = 32;
const int kMinMenuWidth = 250;
const int kButtonHeight = 29;
-const int kArrowHeight = 10;
// Current profile avatar image.
views::View* CreateProfileImageView(const gfx::Image& icon) {
@@ -225,8 +224,6 @@ ProfileChooserView::ProfileChooserView(views::View* anchor_view,
browser_(browser) {
// Reset the default margins inherited from the BubbleDelegateView.
set_margins(gfx::Insets());
- // Compensate for built-in vertical padding in the anchor view's image.
- set_anchor_view_insets(gfx::Insets(kArrowHeight, 0, kArrowHeight, 0));
ResetLinksAndButtons();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698