| 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 "ash/wm/window_cycle_controller.h" | 5 #include "ash/wm/window_cycle_controller.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "ash/display/display_controller.h" | 9 #include "ash/display/display_controller.h" |
| 10 #include "ash/display/multi_display_manager.h" | 10 #include "ash/display/display_manager.h" |
| 11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
| 12 #include "ash/shell_window_ids.h" | 12 #include "ash/shell_window_ids.h" |
| 13 #include "ash/test/ash_test_base.h" | 13 #include "ash/test/ash_test_base.h" |
| 14 #include "ash/test/test_shell_delegate.h" | 14 #include "ash/test/test_shell_delegate.h" |
| 15 #include "ash/wm/window_cycle_list.h" | 15 #include "ash/wm/window_cycle_list.h" |
| 16 #include "ash/wm/window_util.h" | 16 #include "ash/wm/window_util.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "ui/aura/client/aura_constants.h" | 18 #include "ui/aura/client/aura_constants.h" |
| 19 #include "ui/aura/client/screen_position_client.h" | 19 #include "ui/aura/client/screen_position_client.h" |
| 20 #include "ui/aura/env.h" | 20 #include "ui/aura/env.h" |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 controller->HandleCycleWindow(WindowCycleController::FORWARD, true); | 431 controller->HandleCycleWindow(WindowCycleController::FORWARD, true); |
| 432 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); | 432 EXPECT_TRUE(wm::IsActiveWindow(window2.get())); |
| 433 | 433 |
| 434 controller->HandleCycleWindow(WindowCycleController::FORWARD, true); | 434 controller->HandleCycleWindow(WindowCycleController::FORWARD, true); |
| 435 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); | 435 EXPECT_TRUE(wm::IsActiveWindow(window0.get())); |
| 436 } | 436 } |
| 437 | 437 |
| 438 } // namespace | 438 } // namespace |
| 439 | 439 |
| 440 } // namespace ash | 440 } // namespace ash |
| OLD | NEW |