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

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

Issue 2718563008: mash: Use mojo for ShelfItemDelegate and [app] MenuItem. (Closed)
Patch Set: Address comments. Created 3 years, 9 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/chrome_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
index fb29db9ebb5a03b7774f60043feb6bcb38ac1203..2250ee5fb74a1b100f8bfdda8368668950e9ac00 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -9,14 +9,13 @@
#include <string>
#include <vector>
-#include "ash/common/shelf/shelf_item_delegate.h"
#include "ash/common/shelf/shelf_item_types.h"
-#include "ash/public/cpp/shelf_application_menu_item.h"
#include "ash/public/interfaces/shelf.mojom.h"
#include "chrome/browser/ui/app_icon_loader.h"
#include "chrome/browser/ui/app_icon_loader_delegate.h"
#include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
#include "chrome/browser/ui/ash/app_launcher_id.h"
+#include "chrome/browser/ui/ash/launcher/launcher_item_controller.h"
#include "chrome/browser/ui/ash/launcher/settings_window_observer.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
@@ -25,7 +24,6 @@ class ArcAppDeferredLauncherController;
class BrowserShortcutLauncherItemController;
class GURL;
class LauncherControllerHelper;
-class LauncherItemController;
namespace ash {
class WmShelf;
@@ -180,7 +178,7 @@ class ChromeLauncherController : public ash::mojom::ShelfObserver,
virtual void AdditionalUserAddedToSession(Profile* profile) = 0;
// Get the list of all running incarnations of this item.
- virtual ash::ShelfAppMenuItemList GetAppMenuItemsForTesting(
+ virtual MenuItemList GetAppMenuItemsForTesting(
const ash::ShelfItem& item) = 0;
// Get the list of all tabs which belong to a certain application type.

Powered by Google App Engine
This is Rietveld 408576698