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

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 indent 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 ac01f32163c910cfe2ec793144ab50d96015bd24..7a38f8e4a23ad3b05db659ca4a0d00a86077fd2a 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -537,7 +537,7 @@ void AutofillDialogViews::AccountChooser::OnMenuButtonClicked(
if (menu_runner_->RunMenuAt(source->GetWidget(),
NULL,
source->GetBoundsInScreen(),
- views::MenuItemView::TOPRIGHT,
+ views::MENU_ANCHOR_TOPRIGHT,
ui::MENU_SOURCE_NONE,
0) == views::MenuRunner::MENU_DELETED) {
return;
@@ -1752,7 +1752,7 @@ void AutofillDialogViews::OnMenuButtonClicked(views::View* source,
if (menu_runner_->RunMenuAt(source->GetWidget(),
NULL,
screen_bounds,
- views::MenuItemView::TOPRIGHT,
+ views::MENU_ANCHOR_TOPRIGHT,
ui::MENU_SOURCE_NONE,
0) == views::MenuRunner::MENU_DELETED) {
return;
« no previous file with comments | « chrome/browser/ui/views/apps/chrome_native_app_window_views.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698