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 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 | 214 |
215 // Moves child windows to |dest|. | 215 // Moves child windows to |dest|. |
216 void MoveWindowsTo(aura::Window* dest); | 216 void MoveWindowsTo(aura::Window* dest); |
217 | 217 |
218 // Force the shelf to query for it's current visibility state. | 218 // Force the shelf to query for it's current visibility state. |
219 void UpdateShelfVisibility(); | 219 void UpdateShelfVisibility(); |
220 | 220 |
221 // Initialize touch HUDs if necessary. | 221 // Initialize touch HUDs if necessary. |
222 void InitTouchHuds(); | 222 void InitTouchHuds(); |
223 | 223 |
224 // Returns the window, if any, which is in fullscreen mode. If multiple | 224 // Returns the topmost window or one of its transient parents, if any of them |
225 // windows are in fullscreen state, the topmost one is preferred. | 225 // are in fullscreen mode. |
226 const aura::Window* GetTopmostFullscreenWindow() const; | 226 const aura::Window* GetWindowForFullscreenMode() const; |
227 aura::Window* GetTopmostFullscreenWindow(); | 227 aura::Window* GetWindowForFullscreenMode(); |
228 | 228 |
229 // Activate virtual keyboard on current root window controller. | 229 // Activate virtual keyboard on current root window controller. |
230 void ActivateKeyboard(keyboard::KeyboardController* keyboard_controller); | 230 void ActivateKeyboard(keyboard::KeyboardController* keyboard_controller); |
231 | 231 |
232 // Deactivate virtual keyboard on current root window controller. | 232 // Deactivate virtual keyboard on current root window controller. |
233 void DeactivateKeyboard(keyboard::KeyboardController* keyboard_controller); | 233 void DeactivateKeyboard(keyboard::KeyboardController* keyboard_controller); |
234 | 234 |
235 private: | 235 private: |
236 explicit RootWindowController(aura::RootWindow* root_window); | 236 explicit RootWindowController(aura::RootWindow* root_window); |
237 enum RootWindowType { | 237 enum RootWindowType { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 318 |
319 | 319 |
320 // Gets the RootWindowController for |root_window|. | 320 // Gets the RootWindowController for |root_window|. |
321 ASH_EXPORT RootWindowController* GetRootWindowController( | 321 ASH_EXPORT RootWindowController* GetRootWindowController( |
322 const aura::Window* root_window); | 322 const aura::Window* root_window); |
323 | 323 |
324 } // namespace internal | 324 } // namespace internal |
325 } // ash | 325 } // ash |
326 | 326 |
327 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 327 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
OLD | NEW |