| 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..8ff4aed52bc2d1fac6bf9f76be34cf8c19bf2dc7 100644
|
| --- a/ash/common/shelf/shelf_item_delegate.h
|
| +++ b/ash/common/shelf/shelf_item_delegate.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef ASH_COMMON_SHELF_SHELF_ITEM_DELEGATE_H_
|
| #define ASH_COMMON_SHELF_SHELF_ITEM_DELEGATE_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include "ash/ash_export.h"
|
| #include "ash/public/cpp/shelf_application_menu_item.h"
|
| #include "ash/public/cpp/shelf_types.h"
|
| @@ -35,6 +37,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, int event_flags) = 0;
|
| +
|
| // Closes all windows associated with this item.
|
| virtual void Close() = 0;
|
|
|
|
|