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

Unified Diff: chrome/browser/ui/views/translate/translate_bubble_view.cc

Issue 2824503003: fix menu alignment issue (Closed)
Patch Set: Created 3 years, 8 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
« 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/translate/translate_bubble_view.cc
diff --git a/chrome/browser/ui/views/translate/translate_bubble_view.cc b/chrome/browser/ui/views/translate/translate_bubble_view.cc
index 140c1181340146d832975d29ab6638d2af3f8288..87aac1c09399fcacf3dd50dd35882eccf23f8b12 100644
--- a/chrome/browser/ui/views/translate/translate_bubble_view.cc
+++ b/chrome/browser/ui/views/translate/translate_bubble_view.cc
@@ -280,7 +280,6 @@ void TranslateBubbleView::OnMenuButtonClicked(views::MenuButton* source,
views::MenuRunner::ASYNC));
}
gfx::Rect screen_bounds = source->GetBoundsInScreen();
- screen_bounds.Inset(source->GetInsets());
denial_menu_runner_->RunMenuAt(source->GetWidget(), source, screen_bounds,
views::MENU_ANCHOR_TOPRIGHT,
ui::MENU_SOURCE_MOUSE);
« 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