| 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 #include <vector> | 10 #include <vector> |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 ShelfLayoutManager* GetShelfLayoutManager(); | 172 ShelfLayoutManager* GetShelfLayoutManager(); |
| 173 | 173 |
| 174 // Returns the layout manager for the appropriate modal-container. If the | 174 // Returns the layout manager for the appropriate modal-container. If the |
| 175 // window is inside the lockscreen modal container, then the layout manager | 175 // window is inside the lockscreen modal container, then the layout manager |
| 176 // for that is returned. Otherwise the layout manager for the default modal | 176 // for that is returned. Otherwise the layout manager for the default modal |
| 177 // container is returned. | 177 // container is returned. |
| 178 // If no window is specified (i.e. |window| is null), then the lockscreen | 178 // If no window is specified (i.e. |window| is null), then the lockscreen |
| 179 // modal container is used if the screen is currently locked. Otherwise, the | 179 // modal container is used if the screen is currently locked. Otherwise, the |
| 180 // default modal container is used. | 180 // default modal container is used. |
| 181 SystemModalContainerLayoutManager* GetSystemModalLayoutManager( | 181 SystemModalContainerLayoutManager* GetSystemModalLayoutManager( |
| 182 WmWindow* window); | 182 aura::Window* window); |
| 183 | 183 |
| 184 AlwaysOnTopController* always_on_top_controller() { | 184 AlwaysOnTopController* always_on_top_controller() { |
| 185 return always_on_top_controller_.get(); | 185 return always_on_top_controller_.get(); |
| 186 } | 186 } |
| 187 | 187 |
| 188 // May return null, for example for a secondary monitor at the login screen. | 188 // May return null, for example for a secondary monitor at the login screen. |
| 189 StatusAreaWidget* GetStatusAreaWidget(); | 189 StatusAreaWidget* GetStatusAreaWidget(); |
| 190 | 190 |
| 191 // Returns the system tray on this root window. Note that | 191 // Returns the system tray on this root window. Note that |
| 192 // calling this on the root window that doesn't have a shelf will | 192 // calling this on the root window that doesn't have a shelf will |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 | 376 |
| 377 // On classic ash, returns the RootWindowController for the given |root_window|. | 377 // On classic ash, returns the RootWindowController for the given |root_window|. |
| 378 // On mus ash, returns the RootWindowController for the primary display. | 378 // On mus ash, returns the RootWindowController for the primary display. |
| 379 // See RootWindowController class comment above. | 379 // See RootWindowController class comment above. |
| 380 ASH_EXPORT RootWindowController* GetRootWindowController( | 380 ASH_EXPORT RootWindowController* GetRootWindowController( |
| 381 const aura::Window* root_window); | 381 const aura::Window* root_window); |
| 382 | 382 |
| 383 } // namespace ash | 383 } // namespace ash |
| 384 | 384 |
| 385 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 385 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |