| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 // default modal container is used. | 173 // default modal container is used. |
| 174 SystemModalContainerLayoutManager* GetSystemModalLayoutManager( | 174 SystemModalContainerLayoutManager* GetSystemModalLayoutManager( |
| 175 aura::Window* window); | 175 aura::Window* window); |
| 176 | 176 |
| 177 aura::Window* GetContainer(int container_id); | 177 aura::Window* GetContainer(int container_id); |
| 178 const aura::Window* GetContainer(int container_id) const; | 178 const aura::Window* GetContainer(int container_id) const; |
| 179 | 179 |
| 180 // Show shelf view if it was created hidden (before session has started). | 180 // Show shelf view if it was created hidden (before session has started). |
| 181 void ShowShelf(); | 181 void ShowShelf(); |
| 182 | 182 |
| 183 // Called when the shelf associated with this root window is created. | 183 // Creates the shelf for this root window and notifies observers. |
| 184 void OnShelfCreated(); | 184 void CreateShelf(); |
| 185 | 185 |
| 186 // Called when the login status changes after login (such as lock/unlock). | 186 // Called when the login status changes after login (such as lock/unlock). |
| 187 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. | 187 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. |
| 188 void UpdateAfterLoginStatusChange(user::LoginStatus status); | 188 void UpdateAfterLoginStatusChange(user::LoginStatus status); |
| 189 | 189 |
| 190 // Called when the brightness/grayscale animation from white to the login | 190 // Called when the brightness/grayscale animation from white to the login |
| 191 // desktop background image has started. Starts |boot_splash_screen_|'s | 191 // desktop background image has started. Starts |boot_splash_screen_|'s |
| 192 // hiding animation (if the screen is non-NULL). | 192 // hiding animation (if the screen is non-NULL). |
| 193 void HandleInitialDesktopBackgroundAnimationStarted(); | 193 void HandleInitialDesktopBackgroundAnimationStarted(); |
| 194 | 194 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 | 319 |
| 320 // On classic ash, returns the RootWindowController for the given |root_window|. | 320 // On classic ash, returns the RootWindowController for the given |root_window|. |
| 321 // On mus ash, returns the RootWindowController for the primary display. | 321 // On mus ash, returns the RootWindowController for the primary display. |
| 322 // See RootWindowController class comment above. | 322 // See RootWindowController class comment above. |
| 323 ASH_EXPORT RootWindowController* GetRootWindowController( | 323 ASH_EXPORT RootWindowController* GetRootWindowController( |
| 324 const aura::Window* root_window); | 324 const aura::Window* root_window); |
| 325 | 325 |
| 326 } // namespace ash | 326 } // namespace ash |
| 327 | 327 |
| 328 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 328 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |