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

Unified Diff: ash/public/cpp/shelf_item_delegate.cc

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
« no previous file with comments | « ash/public/cpp/shelf_item_delegate.h ('k') | ash/shell/window_watcher_shelf_item_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/cpp/shelf_item_delegate.cc
diff --git a/ash/public/cpp/shelf_item_delegate.cc b/ash/public/cpp/shelf_item_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3c5fd50b8d11658e7fd21c71fe59581a30eab54c
--- /dev/null
+++ b/ash/public/cpp/shelf_item_delegate.cc
@@ -0,0 +1,25 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ash/public/cpp/shelf_item_delegate.h"
+
+namespace ash {
+
+ShelfItemDelegate::ShelfItemDelegate(const ash::AppLaunchId& app_launch_id)
+ : app_launch_id_(app_launch_id),
+ shelf_id_(kInvalidShelfID),
+ image_set_by_controller_(false) {}
+
+ShelfItemDelegate::~ShelfItemDelegate() {}
+
+MenuItemList ShelfItemDelegate::GetAppMenuItems(int event_flags) {
+ return MenuItemList();
+}
+
+AppWindowLauncherItemController*
+ShelfItemDelegate::AsAppWindowLauncherItemController() {
+ return nullptr;
+}
+
+} // namespace ash
« no previous file with comments | « ash/public/cpp/shelf_item_delegate.h ('k') | ash/shell/window_watcher_shelf_item_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698