Chromium Code Reviews| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 true if the active workspace is in immersive mode. Exposed here |
| 173 // so clients of Ash don't need to know the details of workspace management. | 173 // so clients of Ash don't need to know the details of workspace management. |
| 174 bool IsImmersiveMode() const; | 174 bool IsImmersiveMode() const; |
| 175 | 175 |
| 176 // Sets kPendingImmersiveGestureKey if the active workspace is in immersive | |
| 177 // mode. Exposed here so clients of Ash don't need to know the details of | |
| 178 // workspace management. | |
| 179 void SetPendingImmersiveGesture(bool value); | |
|
James Cook
2013/04/22 18:19:28
This doesn't feel like it belongs in the RootWindo
rharrison
2013/04/22 18:36:52
I suspect so, I will have to look into it.
| |
| 180 | |
| 176 private: | 181 private: |
| 177 // Creates each of the special window containers that holds windows of various | 182 // Creates each of the special window containers that holds windows of various |
| 178 // types in the shell UI. | 183 // types in the shell UI. |
| 179 void CreateContainersInRootWindow(aura::RootWindow* root_window); | 184 void CreateContainersInRootWindow(aura::RootWindow* root_window); |
| 180 | 185 |
| 181 // Initializes the virtual keyboard. | 186 // Initializes the virtual keyboard. |
| 182 void InitKeyboard(); | 187 void InitKeyboard(); |
| 183 | 188 |
| 184 scoped_ptr<aura::RootWindow> root_window_; | 189 scoped_ptr<aura::RootWindow> root_window_; |
| 185 RootWindowLayoutManager* root_window_layout_; | 190 RootWindowLayoutManager* root_window_layout_; |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 210 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; | 215 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; |
| 211 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; | 216 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; |
| 212 | 217 |
| 213 DISALLOW_COPY_AND_ASSIGN(RootWindowController); | 218 DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
| 214 }; | 219 }; |
| 215 | 220 |
| 216 } // namespace internal | 221 } // namespace internal |
| 217 } // ash | 222 } // ash |
| 218 | 223 |
| 219 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 224 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |