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

Unified Diff: ash/mus/shelf_delegate_mus.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/mus/BUILD.gn ('k') | ash/mus/shelf_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shelf_delegate_mus.h
diff --git a/ash/mus/shelf_delegate_mus.h b/ash/mus/shelf_delegate_mus.h
deleted file mode 100644
index 520ccb35ccdb0ffb463173acb67e2e278217460e..0000000000000000000000000000000000000000
--- a/ash/mus/shelf_delegate_mus.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2016 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_MUS_SHELF_DELEGATE_MUS_H_
-#define ASH_MUS_SHELF_DELEGATE_MUS_H_
-
-#include <string>
-
-#include "ash/public/cpp/shelf_types.h"
-#include "ash/shelf/shelf_delegate.h"
-#include "base/macros.h"
-
-namespace ash {
-
-// Manages communication between the mash shelf and the browser.
-class ShelfDelegateMus : public ShelfDelegate {
- public:
- ShelfDelegateMus();
- ~ShelfDelegateMus() override;
-
- private:
- // ShelfDelegate:
- ShelfID GetShelfIDForAppID(const std::string& app_id) override;
- ShelfID GetShelfIDForAppIDAndLaunchID(const std::string& app_id,
- const std::string& launch_id) override;
- const std::string& GetAppIDForShelfID(ShelfID id) override;
- void PinAppWithID(const std::string& app_id) override;
- bool IsAppPinned(const std::string& app_id) override;
- void UnpinAppWithID(const std::string& app_id) override;
-
- DISALLOW_COPY_AND_ASSIGN(ShelfDelegateMus);
-};
-
-} // namespace ash
-
-#endif // ASH_MUS_SHELF_DELEGATE_MUS_H_
« no previous file with comments | « ash/mus/BUILD.gn ('k') | ash/mus/shelf_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698