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

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

Issue 16979002: Add ContextMenuSourceType to views::ContextMenuController::ShowContextMenuForView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build Created 7 years, 6 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 92d084b263b6047572ad88e7a03d0652902a1a0f..7aaf323c7214f142daef0b8e9391e8b1325f0c4d 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -547,6 +547,7 @@ void AutofillDialogViews::AccountChooser::OnMouseReleased(
NULL,
GetBoundsInScreen(),
views::MenuItemView::TOPRIGHT,
+ ui::MENU_SOURCE_NONE,
sky 2013/06/17 16:08:19 Two things, I suspect this should really be contex
varunjain 2013/06/17 20:13:55 Done.
0));
}
@@ -1300,6 +1301,7 @@ void AutofillDialogViews::ButtonPressed(views::Button* sender,
NULL,
bounds,
views::MenuItemView::TOPRIGHT,
+ ui::MENU_SOURCE_NONE,
0));
group->container->SetActive(false);
group->suggested_button->SetState(state);

Powered by Google App Engine
This is Rietveld 408576698