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

Unified Diff: chrome/browser/ui/views/infobars/infobar_view.cc

Issue 16979002: Add ContextMenuSourceType to views::ContextMenuController::ShowContextMenuForView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch 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/infobars/infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_view.cc b/chrome/browser/ui/views/infobars/infobar_view.cc
index b241e466c41e8bafab8fbad13093a15fd9a789fc..1208c6a98cf9c2a4dc3b430ffcabcd35dc23c03b 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view.cc
@@ -310,7 +310,7 @@ void InfoBarView::RunMenuAt(ui::MenuModel* menu_model,
// Ignore the result since we don't need to handle a deleted menu specially.
ignore_result(menu_runner_->RunMenuAt(
GetWidget(), button, gfx::Rect(screen_point, button->size()), anchor,
- views::MenuRunner::HAS_MNEMONICS));
+ ui::MENU_SOURCE_NONE, views::MenuRunner::HAS_MNEMONICS));
}
void InfoBarView::PlatformSpecificShow(bool animate) {
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame.cc ('k') | chrome/browser/ui/views/location_bar/page_action_image_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698