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

Side by Side Diff: ash/launcher/launcher_model.h

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 12 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_LAUNCHER_LAUNCHER_MODEL_H_ 5 #ifndef ASH_LAUNCHER_LAUNCHER_MODEL_H_
6 #define ASH_LAUNCHER_LAUNCHER_MODEL_H_ 6 #define ASH_LAUNCHER_LAUNCHER_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "ash/launcher/launcher_types.h" 11 #include "ash/launcher/launcher_types.h"
12 #include "base/observer_list.h" 12 #include "base/observer_list.h"
13 #include "ash/ash_export.h" 13 #include "ash/ash_export.h"
14 14
15 namespace aura { 15 namespace aura {
16 class Window; 16 class Window;
17 } 17 }
18 18
19 namespace aura_shell { 19 namespace ash {
20 20
21 class LauncherModelObserver; 21 class LauncherModelObserver;
22 22
23 // Model used by LauncherView. 23 // Model used by LauncherView.
24 class ASH_EXPORT LauncherModel { 24 class ASH_EXPORT LauncherModel {
25 public: 25 public:
26 LauncherModel(); 26 LauncherModel();
27 ~LauncherModel(); 27 ~LauncherModel();
28 28
29 // Adds a new item to the model. 29 // Adds a new item to the model.
(...skipping 25 matching lines...) Expand all
55 void AddObserver(LauncherModelObserver* observer); 55 void AddObserver(LauncherModelObserver* observer);
56 void RemoveObserver(LauncherModelObserver* observer); 56 void RemoveObserver(LauncherModelObserver* observer);
57 57
58 private: 58 private:
59 LauncherItems items_; 59 LauncherItems items_;
60 ObserverList<LauncherModelObserver> observers_; 60 ObserverList<LauncherModelObserver> observers_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(LauncherModel); 62 DISALLOW_COPY_AND_ASSIGN(LauncherModel);
63 }; 63 };
64 64
65 } // namespace aura_shell 65 } // namespace ash
66 66
67 #endif // ASH_LAUNCHER_LAUNCHER_MODEL_H_ 67 #endif // ASH_LAUNCHER_LAUNCHER_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698