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

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: Rebase 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 223438a3b710f9e38c0019c893c0813d2326ad4d..3a3c31c7b24725826646dc05e7fd045321055daa 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -701,6 +701,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);
@@ -730,6 +731,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);
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « ash/shell.h ('k') | ash/wm/window_cycle_controller.h » ('j') | ash/wm/window_cycle_controller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698