| Index: ui/views/controls/menu/menu_controller.h
|
| diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
|
| index 20c1bee5d2fc082c8e8e282c4e3f77f4f4d8bb2f..f8765c48daa9aac0b81aa91f8157c60012ea0b61 100644
|
| --- a/ui/views/controls/menu/menu_controller.h
|
| +++ b/ui/views/controls/menu/menu_controller.h
|
| @@ -176,11 +176,8 @@ class VIEWS_EXPORT MenuController : public WidgetObserver {
|
| void OnDragComplete(bool should_close);
|
|
|
| // Called while dispatching messages to intercept key events.
|
| - // If |character| is other than 0, it is handled as a mnemonic.
|
| - // Otherwise, |key_code| is handled as a menu navigation command.
|
| // Returns ui::POST_DISPATCH_NONE if the event was swallowed by the menu.
|
| - ui::PostDispatchAction OnWillDispatchKeyEvent(base::char16 character,
|
| - ui::KeyboardCode key_code);
|
| + ui::PostDispatchAction OnWillDispatchKeyEvent(ui::KeyEvent* event);
|
|
|
| // Update the submenu's selection based on the current mouse location
|
| void UpdateSubmenuSelection(SubmenuView* source);
|
|
|