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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 250943008: Move enum MenuAnchorPosition to reduce deps on menu_item_view.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 6 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
Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index 64f94f56ca27a8de0a72cc003d3f8832d8f3c01b..7f0790842647b868924e21862e7f8d6e974e698a 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -539,7 +539,7 @@ void AutofillDialogViews::AccountChooser::OnMenuButtonClicked(
if (menu_runner_->RunMenuAt(source->GetWidget(),
NULL,
source->GetBoundsInScreen(),
- views::MenuItemView::TOPRIGHT,
+ ui::MENU_ANCHOR_TOPRIGHT,
ui::MENU_SOURCE_NONE,
0) == views::MenuRunner::MENU_DELETED) {
return;
@@ -1757,7 +1757,7 @@ void AutofillDialogViews::OnMenuButtonClicked(views::View* source,
if (menu_runner_->RunMenuAt(source->GetWidget(),
NULL,
screen_bounds,
- views::MenuItemView::TOPRIGHT,
+ ui::MENU_ANCHOR_TOPRIGHT,
ui::MENU_SOURCE_NONE,
0) == views::MenuRunner::MENU_DELETED) {
return;

Powered by Google App Engine
This is Rietveld 408576698