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

Unified Diff: ash/common/wm/fullscreen_window_finder.cc

Issue 2700523004: Remove docked windows entirely in M59. (Closed)
Patch Set: Rebase Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/wm/drag_details.cc ('k') | ash/common/wm/lock_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/fullscreen_window_finder.cc
diff --git a/ash/common/wm/fullscreen_window_finder.cc b/ash/common/wm/fullscreen_window_finder.cc
index ee1bef347cae9ccf6cc7b619574311f9aec6ca14..9529e42b344270d6a277986be3620048ee867c83 100644
--- a/ash/common/wm/fullscreen_window_finder.cc
+++ b/ash/common/wm/fullscreen_window_finder.cc
@@ -21,10 +21,10 @@ WmWindow* GetWindowForFullscreenMode(WmWindow* context) {
active_window->GetRootWindow() == context->GetRootWindow() &&
IsSwitchableContainer(active_window->GetParent())) {
// Use the active window when it is on the current root window to determine
- // the fullscreen state to allow temporarily using a panel or docked window
- // (which are always above the default container) while a fullscreen
- // window is open. We only use the active window when in a switchable
- // container as the launcher should not exit fullscreen mode.
+ // the fullscreen state to allow temporarily using a panel (which is always
+ // above the default container) while a fullscreen window is open. We only
+ // use the active window when in a switchable container as the launcher
+ // should not exit fullscreen mode.
topmost_window = active_window;
} else {
// Otherwise, use the topmost window on the root window's default container
« no previous file with comments | « ash/common/wm/drag_details.cc ('k') | ash/common/wm/lock_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698