Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: ash/root_window_controller.h

Issue 100903002: Ignore fullscreen windows which are behind other windows for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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();
228 227
229 // Activate virtual keyboard on current root window controller. 228 // Activate virtual keyboard on current root window controller.
230 void ActivateKeyboard(keyboard::KeyboardController* keyboard_controller); 229 void ActivateKeyboard(keyboard::KeyboardController* keyboard_controller);
231 230
232 // Deactivate virtual keyboard on current root window controller. 231 // Deactivate virtual keyboard on current root window controller.
233 void DeactivateKeyboard(keyboard::KeyboardController* keyboard_controller); 232 void DeactivateKeyboard(keyboard::KeyboardController* keyboard_controller);
234 233
235 private: 234 private:
236 explicit RootWindowController(aura::RootWindow* root_window); 235 explicit RootWindowController(aura::RootWindow* root_window);
237 enum RootWindowType { 236 enum RootWindowType {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 317
319 318
320 // Gets the RootWindowController for |root_window|. 319 // Gets the RootWindowController for |root_window|.
321 ASH_EXPORT RootWindowController* GetRootWindowController( 320 ASH_EXPORT RootWindowController* GetRootWindowController(
322 const aura::Window* root_window); 321 const aura::Window* root_window);
323 322
324 } // namespace internal 323 } // namespace internal
325 } // ash 324 } // ash
326 325
327 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 326 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698