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

Side by Side Diff: ash/shelf/shelf_controller.h

Issue 2917013002: mash: Move ShelfModel* to ash/public/cpp. (Closed)
Patch Set: Comment on AppList item init. Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « ash/shelf/shelf.cc ('k') | ash/shelf/shelf_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SHELF_SHELF_CONTROLLER_H_ 5 #ifndef ASH_SHELF_SHELF_CONTROLLER_H_
6 #define ASH_SHELF_SHELF_CONTROLLER_H_ 6 #define ASH_SHELF_SHELF_CONTROLLER_H_
7 7
8 #include "ash/public/cpp/shelf_item.h" 8 #include "ash/public/cpp/shelf_item.h"
9 #include "ash/public/cpp/shelf_model.h"
10 #include "ash/public/cpp/shelf_model_observer.h"
9 #include "ash/public/cpp/shelf_types.h" 11 #include "ash/public/cpp/shelf_types.h"
10 #include "ash/public/interfaces/shelf.mojom.h" 12 #include "ash/public/interfaces/shelf.mojom.h"
11 #include "ash/shelf/shelf_model.h"
12 #include "ash/shelf/shelf_model_observer.h"
13 #include "mojo/public/cpp/bindings/binding_set.h" 13 #include "mojo/public/cpp/bindings/binding_set.h"
14 #include "mojo/public/cpp/bindings/interface_ptr_set.h" 14 #include "mojo/public/cpp/bindings/interface_ptr_set.h"
15 15
16 namespace ash { 16 namespace ash {
17 17
18 class Shelf; 18 class Shelf;
19 19
20 // Ash's ShelfController owns the ShelfModel and implements interface functions 20 // Ash's ShelfController owns the ShelfModel and implements interface functions
21 // that allow Chrome to modify and observe the Shelf and ShelfModel state. 21 // that allow Chrome to modify and observe the Shelf and ShelfModel state.
22 class ShelfController : public mojom::ShelfController, 22 class ShelfController : public mojom::ShelfController,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // The set of shelf observers notified about state and model changes. 69 // The set of shelf observers notified about state and model changes.
70 mojo::AssociatedInterfacePtrSet<mojom::ShelfObserver> observers_; 70 mojo::AssociatedInterfacePtrSet<mojom::ShelfObserver> observers_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(ShelfController); 72 DISALLOW_COPY_AND_ASSIGN(ShelfController);
73 }; 73 };
74 74
75 } // namespace ash 75 } // namespace ash
76 76
77 #endif // ASH_SHELF_SHELF_CONTROLLER_H_ 77 #endif // ASH_SHELF_SHELF_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf.cc ('k') | ash/shelf/shelf_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698