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

Unified Diff: ui/base/models/menu_model.h

Issue 6893046: added CTRL+Click and SHIFT+Click handler for context menu, Back and Forward. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: make this patch applicable to the latest trunk Created 9 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
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.cc ('k') | ui/base/models/menu_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/models/menu_model.h
diff --git a/ui/base/models/menu_model.h b/ui/base/models/menu_model.h
index a0c3627167fc5eb15f6f0716eaad9a1b5dbda206..f6feee78d5eb636fb4d081ce75f8c02122930cd7 100644
--- a/ui/base/models/menu_model.h
+++ b/ui/base/models/menu_model.h
@@ -108,9 +108,9 @@ class MenuModel {
// Called when the item at the specified index has been activated.
virtual void ActivatedAt(int index) = 0;
- // Called when the item has been activated with a given disposition (for the
- // case where the activation involves a navigation).
- virtual void ActivatedAtWithDisposition(int index, int disposition);
+ // Called when the item has been activated with an event flags.
+ // |flags| is a bitsum of ui::EventFlags.
+ virtual void ActivatedAtWithFlags(int index, int flags);
// Called when the menu is about to be shown.
virtual void MenuWillShow() {}
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.cc ('k') | ui/base/models/menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698