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

Side by Side Diff: ash/root_window_controller.h

Issue 23534049: RootWindowController::GetFullscreenWindow() should return the active one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fullscreen_win Created 7 years, 3 months 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 // Moves child windows to |dest|. 200 // Moves child windows to |dest|.
201 void MoveWindowsTo(aura::RootWindow* dest); 201 void MoveWindowsTo(aura::RootWindow* dest);
202 202
203 // Force the shelf to query for it's current visibility state. 203 // Force the shelf to query for it's current visibility state.
204 void UpdateShelfVisibility(); 204 void UpdateShelfVisibility();
205 205
206 // Initialize touch HUDs if necessary. 206 // Initialize touch HUDs if necessary.
207 void InitTouchHuds(); 207 void InitTouchHuds();
208 208
209 // Returns the window, if any, which is in fullscreen mode in the active 209 // Returns the window, if any, which is in fullscreen mode. If multiple
210 // workspace. Exposed here so clients of Ash don't need to know the details 210 // windows are in fullscreen state, the topmost one is preferred.
211 // of workspace management. 211 const aura::Window* GetTopmostFullscreenWindow() const;
212 const aura::Window* GetFullscreenWindow() const;
213 212
214 private: 213 private:
215 void InitLayoutManagers(); 214 void InitLayoutManagers();
216 215
217 // Initializes |system_background_| and possibly also |boot_splash_screen_|. 216 // Initializes |system_background_| and possibly also |boot_splash_screen_|.
218 // |is_first_run_after_boot| determines the background's initial color. 217 // |is_first_run_after_boot| determines the background's initial color.
219 void CreateSystemBackground(bool is_first_run_after_boot); 218 void CreateSystemBackground(bool is_first_run_after_boot);
220 219
221 // Creates each of the special window containers that holds windows of various 220 // Creates each of the special window containers that holds windows of various
222 // types in the shell UI. 221 // types in the shell UI.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 scoped_ptr<AnimatingDesktopController> animating_wallpaper_controller_; 283 scoped_ptr<AnimatingDesktopController> animating_wallpaper_controller_;
285 scoped_ptr<views::corewm::ScopedCaptureClient> capture_client_; 284 scoped_ptr<views::corewm::ScopedCaptureClient> capture_client_;
286 285
287 DISALLOW_COPY_AND_ASSIGN(RootWindowController); 286 DISALLOW_COPY_AND_ASSIGN(RootWindowController);
288 }; 287 };
289 288
290 } // namespace internal 289 } // namespace internal
291 } // ash 290 } // ash
292 291
293 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 292 #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