| 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_types.h" | 9 #include "ash/shelf_types.h" |
| 10 #include "ash/system/user/login_status.h" | 10 #include "ash/system/user/login_status.h" |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 void UpdateShelfVisibility(); | 157 void UpdateShelfVisibility(); |
| 158 | 158 |
| 159 // Sets/gets the shelf auto-hide behavior. | 159 // Sets/gets the shelf auto-hide behavior. |
| 160 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior); | 160 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior); |
| 161 ShelfAutoHideBehavior GetShelfAutoHideBehavior() const; | 161 ShelfAutoHideBehavior GetShelfAutoHideBehavior() const; |
| 162 | 162 |
| 163 // Sets/gets the shelf alignemnt. | 163 // Sets/gets the shelf alignemnt. |
| 164 bool SetShelfAlignment(ShelfAlignment alignment); | 164 bool SetShelfAlignment(ShelfAlignment alignment); |
| 165 ShelfAlignment GetShelfAlignment(); | 165 ShelfAlignment GetShelfAlignment(); |
| 166 | 166 |
| 167 // Returns true if the active workspace is in immersive mode. Exposed here |
| 168 // so clients of Ash don't need to know the details of workspace management. |
| 169 bool IsImmersiveMode() const; |
| 170 |
| 167 private: | 171 private: |
| 168 // Creates each of the special window containers that holds windows of various | 172 // Creates each of the special window containers that holds windows of various |
| 169 // types in the shell UI. | 173 // types in the shell UI. |
| 170 void CreateContainersInRootWindow(aura::RootWindow* root_window); | 174 void CreateContainersInRootWindow(aura::RootWindow* root_window); |
| 171 | 175 |
| 172 scoped_ptr<aura::RootWindow> root_window_; | 176 scoped_ptr<aura::RootWindow> root_window_; |
| 173 RootWindowLayoutManager* root_window_layout_; | 177 RootWindowLayoutManager* root_window_layout_; |
| 174 | 178 |
| 175 // Widget containing system tray. | 179 // Widget containing system tray. |
| 176 StatusAreaWidget* status_area_widget_; | 180 StatusAreaWidget* status_area_widget_; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 197 scoped_ptr<ToplevelWindowEventHandler> modal_container_handler_; | 201 scoped_ptr<ToplevelWindowEventHandler> modal_container_handler_; |
| 198 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; | 202 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; |
| 199 | 203 |
| 200 DISALLOW_COPY_AND_ASSIGN(RootWindowController); | 204 DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
| 201 }; | 205 }; |
| 202 | 206 |
| 203 } // namespace internal | 207 } // namespace internal |
| 204 } // ash | 208 } // ash |
| 205 | 209 |
| 206 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 210 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |