Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h

Issue 2791803002: mash: Move LauncherItemController to ash, rename ShelfItemDelegate. (Closed)
Patch Set: Sync and rebase. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
index 62abc7a19111208700cf9b68f10ee61083810e0a..7dce203047df7b65268e6d545ac1ce2e95a22ff6 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
@@ -11,23 +11,20 @@
#include "base/macros.h"
#include "chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h"
-class ChromeLauncherController;
-
// Shelf item delegate for ARC app windows.
class ArcAppWindowLauncherItemController
: public AppWindowLauncherItemController {
public:
- ArcAppWindowLauncherItemController(const std::string& arc_app_id,
- ChromeLauncherController* controller);
+ explicit ArcAppWindowLauncherItemController(const std::string& arc_app_id);
~ArcAppWindowLauncherItemController() override;
- // LauncherItemController overrides:
+ // AppWindowLauncherItemController overrides:
void ItemSelected(std::unique_ptr<ui::Event> event,
int64_t display_id,
ash::ShelfLaunchSource source,
const ItemSelectedCallback& callback) override;
- MenuItemList GetAppMenuItems(int event_flags) override;
+ ash::MenuItemList GetAppMenuItems(int event_flags) override;
void ExecuteCommand(uint32_t command_id, int32_t event_flags) override;
void AddTaskId(int task_id);

Powered by Google App Engine
This is Rietveld 408576698