Chromium Code Reviews| Index: ash/common/shelf/shelf_item_delegate.h |
| diff --git a/ash/common/shelf/shelf_item_delegate.h b/ash/common/shelf/shelf_item_delegate.h |
| index ce7dd17c3e6549e8a99eef6e98c731ff5d537592..3d58b06a0990b1a743e945793fde434e0a0e8afa 100644 |
| --- a/ash/common/shelf/shelf_item_delegate.h |
| +++ b/ash/common/shelf/shelf_item_delegate.h |
| @@ -35,6 +35,9 @@ class ASH_EXPORT ShelfItemDelegate { |
| // |event_flags| specifies the flags of the event which triggered this menu. |
| virtual ShelfAppMenuItemList GetAppMenuItems(int event_flags) = 0; |
| + // Called on invocation of a shelf item's application menu command. |
| + virtual void ExecuteCommand(uint32_t command_id, int32_t event_flags) = 0; |
|
James Cook
2017/03/01 19:50:48
nit: #include <stdint.h>
Also, event_flags is int
msw
2017/03/02 02:59:20
Done.
|
| + |
| // Closes all windows associated with this item. |
| virtual void Close() = 0; |