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

Unified Diff: ash/common/shelf/shelf_item_delegate.cc

Issue 2696073002: Merge ShelfItemDelegate::ItemSelected & LauncherItemDelegate::Activate. (Closed)
Patch Set: nit Created 3 years, 10 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/shelf_item_delegate.h ('k') | ash/common/shelf/shelf_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_item_delegate.cc
diff --git a/ash/common/shelf/shelf_item_delegate.cc b/ash/common/shelf/shelf_item_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bc3ec8c37d451c058c20cdf8d031306edb4f6cf8
--- /dev/null
+++ b/ash/common/shelf/shelf_item_delegate.cc
@@ -0,0 +1,19 @@
+// 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/common/shelf/shelf_item_delegate.h"
+
+#include "ui/display/types/display_constants.h"
+
+namespace ash {
+
+ShelfItemDelegate::ShelfItemDelegate() {}
+ShelfItemDelegate::~ShelfItemDelegate() {}
+
+ShelfAction ShelfItemDelegate::ItemSelectedBySource(ShelfLaunchSource source) {
+ return ItemSelected(ui::ET_UNKNOWN, ui::EF_NONE, display::kInvalidDisplayId,
+ source);
+}
+
+} // namespace ash
« no previous file with comments | « ash/common/shelf/shelf_item_delegate.h ('k') | ash/common/shelf/shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698