diff options
Diffstat (limited to 'ui/views/controls/menu/menu_delegate.h')
-rw-r--r-- | ui/views/controls/menu/menu_delegate.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/views/controls/menu/menu_delegate.h b/ui/views/controls/menu/menu_delegate.h index a740a43..b88182b 100644 --- a/ui/views/controls/menu/menu_delegate.h +++ b/ui/views/controls/menu/menu_delegate.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -114,9 +114,9 @@ class VIEWS_EXPORT MenuDelegate { // other than a mouse event. virtual void ExecuteCommand(int id, int mouse_event_flags); - // Returns true if the specified mouse event is one the user can use - // to trigger, or accept, the mouse. Defaults to left or right mouse buttons. - virtual bool IsTriggerableEvent(MenuItemView* view, const MouseEvent& e); + // Returns true if the specified event is one the user can use to trigger, or + // accept, the item. Defaults to left or right mouse buttons or tap. + virtual bool IsTriggerableEvent(MenuItemView* view, const Event& e); // Invoked to determine if drops can be accepted for a submenu. This is // ONLY invoked for menus that have submenus and indicates whether or not |