OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ROOT_WINDOW_CONTROLLER_H_ | 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_ |
6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ | 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // calling this on the root window that doesn't have a shelf will | 136 // calling this on the root window that doesn't have a shelf will |
137 // lead to a crash. | 137 // lead to a crash. |
138 SystemTray* GetSystemTray(); | 138 SystemTray* GetSystemTray(); |
139 | 139 |
140 // True if the window can receive events on this root window. | 140 // True if the window can receive events on this root window. |
141 bool CanWindowReceiveEvents(aura::Window* window); | 141 bool CanWindowReceiveEvents(aura::Window* window); |
142 | 142 |
143 aura::Window* GetContainer(int container_id); | 143 aura::Window* GetContainer(int container_id); |
144 const aura::Window* GetContainer(int container_id) const; | 144 const aura::Window* GetContainer(int container_id) const; |
145 | 145 |
146 // Creates the shelf for this root window and notifies observers. | |
147 void CreateShelf(); | |
148 | |
149 // Called when the login status changes after login (such as lock/unlock). | 146 // Called when the login status changes after login (such as lock/unlock). |
150 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. | 147 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. |
151 void UpdateAfterLoginStatusChange(LoginStatus status); | 148 void UpdateAfterLoginStatusChange(LoginStatus status); |
152 | 149 |
153 // Called when the brightness/grayscale animation from white to the login | 150 // Called when the brightness/grayscale animation from white to the login |
154 // wallpaper image has started. Starts |boot_splash_screen_|'s hiding | 151 // wallpaper image has started. Starts |boot_splash_screen_|'s hiding |
155 // animation (if the screen is non-NULL). | 152 // animation (if the screen is non-NULL). |
156 void OnInitialWallpaperAnimationStarted(); | 153 void OnInitialWallpaperAnimationStarted(); |
157 | 154 |
158 // Called when the wallpaper animation is finished. Updates | 155 // Called when the wallpaper animation is finished. Updates |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 | 264 |
268 // On classic ash, returns the RootWindowController for the given |root_window|. | 265 // On classic ash, returns the RootWindowController for the given |root_window|. |
269 // On mus ash, returns the RootWindowController for the primary display. | 266 // On mus ash, returns the RootWindowController for the primary display. |
270 // See RootWindowController class comment above. | 267 // See RootWindowController class comment above. |
271 ASH_EXPORT RootWindowController* GetRootWindowController( | 268 ASH_EXPORT RootWindowController* GetRootWindowController( |
272 const aura::Window* root_window); | 269 const aura::Window* root_window); |
273 | 270 |
274 } // namespace ash | 271 } // namespace ash |
275 | 272 |
276 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 273 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
OLD | NEW |