| 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 "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/shelf/shelf_types.h" | 9 #include "ash/shelf/shelf_types.h" |
| 10 #include "ash/system/user/login_status.h" | 10 #include "ash/system/user/login_status.h" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 162 |
| 163 // Deletes all child windows and performs necessary cleanup. | 163 // Deletes all child windows and performs necessary cleanup. |
| 164 void CloseChildWindows(); | 164 void CloseChildWindows(); |
| 165 | 165 |
| 166 // Moves child windows to |dest|. | 166 // Moves child windows to |dest|. |
| 167 void MoveWindowsTo(aura::RootWindow* dest); | 167 void MoveWindowsTo(aura::RootWindow* dest); |
| 168 | 168 |
| 169 // Force the shelf to query for it's current visibility state. | 169 // Force the shelf to query for it's current visibility state. |
| 170 void UpdateShelfVisibility(); | 170 void UpdateShelfVisibility(); |
| 171 | 171 |
| 172 // Returns true if the active workspace is in immersive mode. Exposed here | 172 // Returns the window, if any, which is in fullscreen mode in the active |
| 173 // so clients of Ash don't need to know the details of workspace management. | 173 // workspace. Exposed here so clients of Ash don't need to know the details |
| 174 bool IsImmersiveMode() const; | 174 // of workspace management. |
| 175 aura::Window* GetFullscreenWindow() const; |
| 175 | 176 |
| 176 private: | 177 private: |
| 177 // Creates each of the special window containers that holds windows of various | 178 // Creates each of the special window containers that holds windows of various |
| 178 // types in the shell UI. | 179 // types in the shell UI. |
| 179 void CreateContainersInRootWindow(aura::RootWindow* root_window); | 180 void CreateContainersInRootWindow(aura::RootWindow* root_window); |
| 180 | 181 |
| 181 // Initializes the virtual keyboard. | 182 // Initializes the virtual keyboard. |
| 182 void InitKeyboard(); | 183 void InitKeyboard(); |
| 183 | 184 |
| 184 scoped_ptr<aura::RootWindow> root_window_; | 185 scoped_ptr<aura::RootWindow> root_window_; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 210 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; | 211 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; |
| 211 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; | 212 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; |
| 212 | 213 |
| 213 DISALLOW_COPY_AND_ASSIGN(RootWindowController); | 214 DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
| 214 }; | 215 }; |
| 215 | 216 |
| 216 } // namespace internal | 217 } // namespace internal |
| 217 } // ash | 218 } // ash |
| 218 | 219 |
| 219 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 220 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |