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 "ash/wm/window_util.h" |
5 #include "ui/aura/event.h" | 6 #include "ui/aura/event.h" |
6 #include "ui/aura/root_window.h" | 7 #include "ui/aura/root_window.h" |
7 #include "ui/aura/test/test_window_delegate.h" | 8 #include "ui/aura/test/test_window_delegate.h" |
8 #include "ui/aura/test/test_windows.h" | 9 #include "ui/aura/test/test_windows.h" |
9 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
10 #include "ui/aura_shell/shell.h" | 11 #include "ui/aura_shell/shell.h" |
11 #include "ui/aura_shell/shell_accelerator_controller.h" | 12 #include "ui/aura_shell/shell_accelerator_controller.h" |
12 #include "ui/aura_shell/shell_window_ids.h" | 13 #include "ui/aura_shell/shell_window_ids.h" |
13 #include "ui/aura_shell/test/aura_shell_test_base.h" | 14 #include "ui/aura_shell/test/aura_shell_test_base.h" |
14 #include "ui/aura_shell/window_util.h" | |
15 | 15 |
16 #if defined(USE_X11) | 16 #if defined(USE_X11) |
17 #include <X11/Xlib.h> | 17 #include <X11/Xlib.h> |
18 #include "ui/base/x/x11_util.h" | 18 #include "ui/base/x/x11_util.h" |
19 #endif | 19 #endif |
20 | 20 |
21 namespace aura_shell { | 21 namespace aura_shell { |
22 namespace test { | 22 namespace test { |
23 | 23 |
24 namespace { | 24 namespace { |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 lock_modal_window->Show(); | 324 lock_modal_window->Show(); |
325 EXPECT_FALSE(GetController()->Process(cycle_forward)); | 325 EXPECT_FALSE(GetController()->Process(cycle_forward)); |
326 EXPECT_FALSE(GetController()->Process(cycle_backward)); | 326 EXPECT_FALSE(GetController()->Process(cycle_backward)); |
327 lock_screen_window->Hide(); | 327 lock_screen_window->Hide(); |
328 EXPECT_TRUE(GetController()->Process(cycle_forward)); | 328 EXPECT_TRUE(GetController()->Process(cycle_forward)); |
329 EXPECT_TRUE(GetController()->Process(cycle_backward)); | 329 EXPECT_TRUE(GetController()->Process(cycle_backward)); |
330 } | 330 } |
331 | 331 |
332 } // namespace test | 332 } // namespace test |
333 } // namespace aura_shell | 333 } // namespace aura_shell |
OLD | NEW |