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

Unified Diff: ash/wm/ash_focus_rules.cc

Issue 2739553005: Moves maintaining root_window_for_new_windows_ to Shell (Closed)
Patch Set: remove ash:: 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/test/ui_controls_factory_ash.cc ('k') | ash/wm/drag_window_resizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/ash_focus_rules.cc
diff --git a/ash/wm/ash_focus_rules.cc b/ash/wm/ash_focus_rules.cc
index 26adb0b801031a1d5305d24bcee4a8fe86a8537f..549ee4a6a7b18494cfa22fad44bdb53ccdd03057 100644
--- a/ash/wm/ash_focus_rules.cc
+++ b/ash/wm/ash_focus_rules.cc
@@ -91,7 +91,7 @@ aura::Window* AshFocusRules::GetNextActivatableWindow(
int starting_container_index = 0;
aura::Window* root = starting_window->GetRootWindow();
if (!root)
- root = Shell::GetTargetRootWindow();
+ root = Shell::GetRootWindowForNewWindows();
int container_count = static_cast<int>(kNumActivatableShellWindowIds);
for (int i = 0; i < container_count; i++) {
aura::Window* container =
« no previous file with comments | « ash/test/ui_controls_factory_ash.cc ('k') | ash/wm/drag_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698