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

Unified Diff: ash/common/shelf/shelf_controller.h

Issue 2750463009: mash: Fix ShelfItem mojo struct; add enums and traits. (Closed)
Patch Set: Address comment. 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
« no previous file with comments | « ash/common/shelf/app_list_shelf_item_delegate.cc ('k') | ash/common/shelf/shelf_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_controller.h
diff --git a/ash/common/shelf/shelf_controller.h b/ash/common/shelf/shelf_controller.h
index b058d4ffbf1b95880e98c55685a3c0f2635077d8..e21150375dd47e6f9825b5a5598c5607762808ed 100644
--- a/ash/common/shelf/shelf_controller.h
+++ b/ash/common/shelf/shelf_controller.h
@@ -8,8 +8,8 @@
#include <map>
#include <string>
-#include "ash/common/shelf/shelf_item_types.h"
#include "ash/common/shelf/shelf_model.h"
+#include "ash/public/cpp/shelf_item.h"
#include "ash/public/cpp/shelf_types.h"
#include "ash/public/interfaces/shelf.mojom.h"
#include "mojo/public/cpp/bindings/binding_set.h"
@@ -49,7 +49,7 @@ class ShelfController : public mojom::ShelfController {
void SetAlignment(ShelfAlignment alignment, int64_t display_id) override;
void SetAutoHideBehavior(ShelfAutoHideBehavior auto_hide,
int64_t display_id) override;
- void PinItem(mojom::ShelfItemPtr item,
+ void PinItem(const ShelfItem& item,
mojom::ShelfItemDelegateAssociatedPtrInfo delegate) override;
void UnpinItem(const std::string& app_id) override;
void SetItemImage(const std::string& app_id, const SkBitmap& image) override;
« no previous file with comments | « ash/common/shelf/app_list_shelf_item_delegate.cc ('k') | ash/common/shelf/shelf_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698