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

Unified Diff: ash/shelf/shelf_controller.h

Issue 2870683002: ash: Remove ShelfModel id conversion functions. (Closed)
Patch Set: Address comments. Created 3 years, 7 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 | « no previous file | ash/shelf/shelf_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_controller.h
diff --git a/ash/shelf/shelf_controller.h b/ash/shelf/shelf_controller.h
index 31bc1ebf1696c122af514f45b60148568a3cd810..c730345809426e9859e04c076a3173aa576bb923 100644
--- a/ash/shelf/shelf_controller.h
+++ b/ash/shelf/shelf_controller.h
@@ -31,14 +31,6 @@ class ShelfController : public mojom::ShelfController {
ShelfModel* model() { return &model_; }
- const std::map<std::string, ShelfID>& app_id_to_shelf_id() {
- return app_id_to_shelf_id_;
- }
-
- const std::map<ShelfID, std::string>& shelf_id_to_app_id() {
- return shelf_id_to_app_id_;
- }
-
// Functions used to notify mojom::ShelfObserver instances of changes.
void NotifyShelfCreated(WmShelf* shelf);
void NotifyShelfAlignmentChanged(WmShelf* shelf);
@@ -64,10 +56,6 @@ class ShelfController : public mojom::ShelfController {
// The set of shelf observers notified about shelf state and settings changes.
mojo::AssociatedInterfacePtrSet<mojom::ShelfObserver> observers_;
- // Mappings between application and shelf ids.
- std::map<std::string, ShelfID> app_id_to_shelf_id_;
- std::map<ShelfID, std::string> shelf_id_to_app_id_;
-
DISALLOW_COPY_AND_ASSIGN(ShelfController);
};
« no previous file with comments | « no previous file | ash/shelf/shelf_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698