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

Unified Diff: ash/shell.cc

Issue 10700057: Add always on top windows to the alt+tab list (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix clang Created 8 years, 5 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index ef6557a6ed77ce77f83a0a7b65151c08f9208493..cfd7b502d74a0e6992e118f6f6dbc95aa97310d9 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -697,6 +697,7 @@ void Shell::InitRootWindowController(
DCHECK(visibility_controller_.get());
DCHECK(drag_drop_controller_.get());
DCHECK(capture_controller_.get());
+ DCHECK(window_cycle_controller_.get());
root_window->set_focus_manager(focus_manager_.get());
input_method_filter_->SetInputMethodPropertyInRootWindow(root_window);
@@ -728,6 +729,8 @@ void Shell::InitRootWindowController(
root_window->GetChildById(internal::kShellWindowId_AlwaysOnTopContainer));
root_window->SetProperty(internal::kAlwaysOnTopControllerKey,
always_on_top_controller);
+
+ window_cycle_controller_->OnRootWindowAdded(root_window);
}
////////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698