OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/views/corewm/window_modality_controller.h" | 5 #include "ui/views/corewm/window_modality_controller.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/test/ash_test_base.h" | 8 #include "ash/test/ash_test_base.h" |
9 #include "ash/wm/window_util.h" | 9 #include "ash/wm/window_util.h" |
10 #include "ui/aura/client/aura_constants.h" | 10 #include "ui/aura/client/aura_constants.h" |
11 #include "ui/aura/root_window.h" | |
12 #include "ui/aura/test/event_generator.h" | 11 #include "ui/aura/test/event_generator.h" |
13 #include "ui/aura/test/test_window_delegate.h" | 12 #include "ui/aura/test/test_window_delegate.h" |
14 #include "ui/aura/test/test_windows.h" | 13 #include "ui/aura/test/test_windows.h" |
15 #include "ui/aura/window.h" | 14 #include "ui/aura/window.h" |
| 15 #include "ui/aura/window_event_dispatcher.h" |
16 #include "ui/base/ui_base_types.h" | 16 #include "ui/base/ui_base_types.h" |
17 #include "ui/views/corewm/window_util.h" | 17 #include "ui/views/corewm/window_util.h" |
18 #include "ui/views/test/capture_tracking_view.h" | 18 #include "ui/views/test/capture_tracking_view.h" |
19 #include "ui/views/test/child_modal_window.h" | 19 #include "ui/views/test/child_modal_window.h" |
20 #include "ui/views/widget/widget.h" | 20 #include "ui/views/widget/widget.h" |
21 | 21 |
22 namespace ash { | 22 namespace ash { |
23 namespace internal { | 23 namespace internal { |
24 | 24 |
25 typedef test::AshTestBase WindowModalityControllerTest; | 25 typedef test::AshTestBase WindowModalityControllerTest; |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 | 555 |
556 wm::ActivateWindow(w3.get()); | 556 wm::ActivateWindow(w3.get()); |
557 EXPECT_TRUE(wm::IsActiveWindow(w4.get())); | 557 EXPECT_TRUE(wm::IsActiveWindow(w4.get())); |
558 | 558 |
559 wm::ActivateWindow(w4.get()); | 559 wm::ActivateWindow(w4.get()); |
560 EXPECT_TRUE(wm::IsActiveWindow(w4.get())); | 560 EXPECT_TRUE(wm::IsActiveWindow(w4.get())); |
561 } | 561 } |
562 | 562 |
563 } // namespace internal | 563 } // namespace internal |
564 } // namespace ash | 564 } // namespace ash |
OLD | NEW |