| 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 // Moves child windows to |dest|. | 162 // Moves child windows to |dest|. |
| 163 void MoveWindowsTo(aura::RootWindow* dest); | 163 void MoveWindowsTo(aura::RootWindow* dest); |
| 164 | 164 |
| 165 // Force the shelf to query for it's current visibility state. | 165 // Force the shelf to query for it's current visibility state. |
| 166 void UpdateShelfVisibility(); | 166 void UpdateShelfVisibility(); |
| 167 | 167 |
| 168 // Returns true if the active workspace is in immersive mode. Exposed here | 168 // Returns true if the active workspace is in immersive mode. Exposed here |
| 169 // so clients of Ash don't need to know the details of workspace management. | 169 // so clients of Ash don't need to know the details of workspace management. |
| 170 bool IsImmersiveMode() const; | 170 bool IsImmersiveMode() const; |
| 171 | 171 |
| 172 // Sets kPendingImmersiveGestureKey if the active workspace is in immersive |
| 173 // mode. Exposed here so clients of Ash don't need to know the details of |
| 174 // workspace management. |
| 175 void SetPendingImmersiveGesture(bool vlaue); |
| 176 |
| 172 private: | 177 private: |
| 173 // 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 |
| 174 // types in the shell UI. | 179 // types in the shell UI. |
| 175 void CreateContainersInRootWindow(aura::RootWindow* root_window); | 180 void CreateContainersInRootWindow(aura::RootWindow* root_window); |
| 176 | 181 |
| 177 scoped_ptr<aura::RootWindow> root_window_; | 182 scoped_ptr<aura::RootWindow> root_window_; |
| 178 RootWindowLayoutManager* root_window_layout_; | 183 RootWindowLayoutManager* root_window_layout_; |
| 179 | 184 |
| 180 scoped_ptr<StackingController> stacking_controller_; | 185 scoped_ptr<StackingController> stacking_controller_; |
| 181 | 186 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 201 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; | 206 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; |
| 202 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; | 207 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; |
| 203 | 208 |
| 204 DISALLOW_COPY_AND_ASSIGN(RootWindowController); | 209 DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
| 205 }; | 210 }; |
| 206 | 211 |
| 207 } // namespace internal | 212 } // namespace internal |
| 208 } // ash | 213 } // ash |
| 209 | 214 |
| 210 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 215 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |