Index: chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h |
index d6827ab5d49b3e01ccda240e242bd947b7d573be..f7140b539505707719a836f7407f47f7f7612cb7 100644 |
--- a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h |
+++ b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h |
@@ -43,11 +43,11 @@ class AppWindowLauncherItemController : public LauncherItemController, |
ui::BaseWindow* GetAppWindow(aura::Window* window); |
// LauncherItemController overrides: |
- ash::ShelfItemDelegate::PerformedAction Activate( |
- ash::LaunchSource source) override; |
AppWindowLauncherItemController* AsAppWindowLauncherItemController() override; |
- ash::ShelfItemDelegate::PerformedAction ItemSelected( |
- const ui::Event& event) override; |
+ ash::ShelfAction ItemSelected(ui::EventType event_type, |
+ int event_flags, |
+ int64_t display_id, |
+ ash::ShelfLaunchSource source) override; |
ash::ShelfAppMenuItemList GetAppMenuItems(int event_flags) override; |
void Close() override; |
@@ -74,14 +74,13 @@ class AppWindowLauncherItemController : public LauncherItemController, |
// Returns the action performed. Should be one of kNoAction, |
// kExistingWindowActivated, or kExistingWindowMinimized. |
- ash::ShelfItemDelegate::PerformedAction ShowAndActivateOrMinimize( |
- ui::BaseWindow* window); |
+ ash::ShelfAction ShowAndActivateOrMinimize(ui::BaseWindow* window); |
// Activate the given |window_to_show|, or - if already selected - advance to |
// the next window of similar type. |
// Returns the action performed. Should be one of kNoAction, |
// kExistingWindowActivated, or kExistingWindowMinimized. |
- ash::ShelfItemDelegate::PerformedAction ActivateOrAdvanceToNextAppWindow( |
+ ash::ShelfAction ActivateOrAdvanceToNextAppWindow( |
ui::BaseWindow* window_to_show); |
private: |