OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "ui/aura_shell/activation_controller.h" | 5 #include "ash/wm/activation_controller.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "ui/aura/client/activation_delegate.h" | 8 #include "ui/aura/client/activation_delegate.h" |
9 #include "ui/aura/root_window.h" | 9 #include "ui/aura/root_window.h" |
10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
11 #include "ui/aura/window_delegate.h" | 11 #include "ui/aura/window_delegate.h" |
12 #include "ui/aura_shell/shell.h" | 12 #include "ui/aura_shell/shell.h" |
13 #include "ui/aura_shell/shell_window_ids.h" | 13 #include "ui/aura_shell/shell_window_ids.h" |
14 #include "ui/aura_shell/window_util.h" | 14 #include "ui/aura_shell/window_util.h" |
15 | 15 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 i != container->children().rend(); | 178 i != container->children().rend(); |
179 ++i) { | 179 ++i) { |
180 if (*i != ignore && CanActivateWindow(*i)) | 180 if (*i != ignore && CanActivateWindow(*i)) |
181 return *i; | 181 return *i; |
182 } | 182 } |
183 return NULL; | 183 return NULL; |
184 } | 184 } |
185 | 185 |
186 } // namespace internal | 186 } // namespace internal |
187 } // namespace aura_shell | 187 } // namespace aura_shell |
OLD | NEW |