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

Unified Diff: chrome/browser/ui/views/action_box_context_menu.h

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/action_box_context_menu.h
diff --git a/chrome/browser/ui/views/action_box_context_menu.h b/chrome/browser/ui/views/action_box_context_menu.h
index f4a3f8c34e4c2c3f58c25262884481ed1abd500b..605f40bdf0d92090cee1cc1f42a2b0e897a759f1 100644
--- a/chrome/browser/ui/views/action_box_context_menu.h
+++ b/chrome/browser/ui/views/action_box_context_menu.h
@@ -38,7 +38,8 @@ class ActionBoxContextMenu {
// See comments in menu_runner.h on how the return value should be used.
views::MenuRunner::RunResult RunMenuAt(
const gfx::Point& p,
- views::Widget* parent_widget) WARN_UNUSED_RESULT;
+ views::Widget* parent_widget,
+ ui::MenuSourceType source_type) WARN_UNUSED_RESULT;
private:
ActionBoxContextMenuController controller_;
« no previous file with comments | « chrome/browser/chromeos/login/language_switch_menu.cc ('k') | chrome/browser/ui/views/action_box_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698