OLD | NEW |
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_H_ | 5 #ifndef ASH_LAUNCHER_LAUNCHER_H_ |
6 #define ASH_LAUNCHER_LAUNCHER_H_ | 6 #define ASH_LAUNCHER_LAUNCHER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "ui/aura/window_observer.h" | 13 #include "ui/aura/window_observer.h" |
14 #include "ash/ash_export.h" | 14 #include "ash/ash_export.h" |
15 | 15 |
16 namespace aura { | 16 namespace aura { |
17 class Window; | 17 class Window; |
18 } | 18 } |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 class Widget; | 21 class Widget; |
22 } | 22 } |
23 | 23 |
24 namespace aura_shell { | 24 namespace ash { |
25 | 25 |
26 class LauncherModel; | 26 class LauncherModel; |
27 | 27 |
28 class ASH_EXPORT Launcher : public aura::WindowObserver { | 28 class ASH_EXPORT Launcher : public aura::WindowObserver { |
29 public: | 29 public: |
30 explicit Launcher(aura::Window* window_container); | 30 explicit Launcher(aura::Window* window_container); |
31 ~Launcher(); | 31 ~Launcher(); |
32 | 32 |
33 // Sets the width of the status area. | 33 // Sets the width of the status area. |
34 void SetStatusWidth(int width); | 34 void SetStatusWidth(int width); |
(...skipping 27 matching lines...) Expand all Loading... |
62 // The set of windows we know about. The boolean indicates whether we've asked | 62 // The set of windows we know about. The boolean indicates whether we've asked |
63 // the delegate if the window should added to the launcher. | 63 // the delegate if the window should added to the launcher. |
64 WindowMap known_windows_; | 64 WindowMap known_windows_; |
65 | 65 |
66 // Contents view of the widget. Houses the LauncherView. | 66 // Contents view of the widget. Houses the LauncherView. |
67 DelegateView* delegate_view_; | 67 DelegateView* delegate_view_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(Launcher); | 69 DISALLOW_COPY_AND_ASSIGN(Launcher); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace aura_shell | 72 } // namespace ash |
73 | 73 |
74 #endif // ASH_LAUNCHER_LAUNCHER_H_ | 74 #endif // ASH_LAUNCHER_LAUNCHER_H_ |
OLD | NEW |