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

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 event_utils::DispositionFromEventFlags not view-specific. Created 9 years, 7 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: ui/base/models/menu_model.h
diff --git a/ui/base/models/menu_model.h b/ui/base/models/menu_model.h
index a0c3627167fc5eb15f6f0716eaad9a1b5dbda206..f195aef843adf54134690996077ab4f5fb849f2f 100644
--- a/ui/base/models/menu_model.h
+++ b/ui/base/models/menu_model.h
@@ -108,9 +108,8 @@ 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.
Ben Goodger (Google) 2011/05/31 16:00:00 I would note here what flags are... is there a pla
shinyak (Google) 2011/06/09 02:29:04 Done.
+ virtual void ActivatedAtWithFlags(int index, int flags);
// Called when the menu is about to be shown.
virtual void MenuWillShow() {}

Powered by Google App Engine
This is Rietveld 408576698