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

Unified Diff: ash/test/test_shelf_item_delegate.h

Issue 2791463002: mash: Remove ShelfDelegate; move functions to ShelfModel. (Closed)
Patch Set: Address comment. 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/test/test_shelf_delegate.cc ('k') | ash/test/test_shelf_item_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shelf_item_delegate.h
diff --git a/ash/test/test_shelf_item_delegate.h b/ash/test/test_shelf_item_delegate.h
deleted file mode 100644
index 5f8f1b37623b2fd5de33447ff19bae354f0882e4..0000000000000000000000000000000000000000
--- a/ash/test/test_shelf_item_delegate.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef ASH_TEST_TEST_SHELF_ITEM_DELEGATE_H_
-#define ASH_TEST_TEST_SHELF_ITEM_DELEGATE_H_
-
-#include "ash/public/cpp/shelf_item_delegate.h"
-#include "base/macros.h"
-
-namespace ash {
-
-class WmWindow;
-
-namespace test {
-
-// Test implementation of ShelfItemDelegate.
-class TestShelfItemDelegate : public ShelfItemDelegate {
- public:
- explicit TestShelfItemDelegate(WmWindow* window);
- ~TestShelfItemDelegate() override;
-
- // ShelfItemDelegate:
- void ItemSelected(std::unique_ptr<ui::Event> event,
- int64_t display_id,
- ShelfLaunchSource source,
- const ItemSelectedCallback& callback) override;
- void ExecuteCommand(uint32_t command_id, int32_t event_flags) override;
- void Close() override;
-
- private:
- WmWindow* window_;
-
- DISALLOW_COPY_AND_ASSIGN(TestShelfItemDelegate);
-};
-
-} // namespace test
-} // namespace ash
-
-#endif // ASH_TEST_TEST_SHELF_ITEM_DELEGATE_H_
« no previous file with comments | « ash/test/test_shelf_delegate.cc ('k') | ash/test/test_shelf_item_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698