| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "ash/accessibility_delegate.h" | 8 #include "ash/accessibility_delegate.h" |
| 9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
| 10 #include "ash/drag_drop/drag_drop_controller.h" | 10 #include "ash/drag_drop/drag_drop_controller.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "ash/test/test_shelf_delegate.h" | 22 #include "ash/test/test_shelf_delegate.h" |
| 23 #include "ash/wm/common/wm_event.h" | 23 #include "ash/wm/common/wm_event.h" |
| 24 #include "ash/wm/maximize_mode/maximize_mode_controller.h" | 24 #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
| 25 #include "ash/wm/mru_window_tracker.h" | 25 #include "ash/wm/mru_window_tracker.h" |
| 26 #include "ash/wm/overview/window_grid.h" | 26 #include "ash/wm/overview/window_grid.h" |
| 27 #include "ash/wm/overview/window_selector.h" | 27 #include "ash/wm/overview/window_selector.h" |
| 28 #include "ash/wm/overview/window_selector_controller.h" | 28 #include "ash/wm/overview/window_selector_controller.h" |
| 29 #include "ash/wm/overview/window_selector_item.h" | 29 #include "ash/wm/overview/window_selector_item.h" |
| 30 #include "ash/wm/panels/panel_layout_manager.h" | 30 #include "ash/wm/panels/panel_layout_manager.h" |
| 31 #include "ash/wm/window_state.h" | 31 #include "ash/wm/window_state.h" |
| 32 #include "ash/wm/window_state_aura.h" |
| 32 #include "ash/wm/window_util.h" | 33 #include "ash/wm/window_util.h" |
| 33 #include "base/command_line.h" | 34 #include "base/command_line.h" |
| 34 #include "base/compiler_specific.h" | 35 #include "base/compiler_specific.h" |
| 35 #include "base/memory/scoped_vector.h" | 36 #include "base/memory/scoped_vector.h" |
| 36 #include "base/run_loop.h" | 37 #include "base/run_loop.h" |
| 37 #include "base/strings/string_piece.h" | 38 #include "base/strings/string_piece.h" |
| 38 #include "base/strings/utf_string_conversions.h" | 39 #include "base/strings/utf_string_conversions.h" |
| 39 #include "base/test/user_action_tester.h" | 40 #include "base/test/user_action_tester.h" |
| 40 #include "base/thread_task_runner_handle.h" | 41 #include "base/thread_task_runner_handle.h" |
| 41 #include "ui/aura/client/aura_constants.h" | 42 #include "ui/aura/client/aura_constants.h" |
| (...skipping 1598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1640 // Switch to overview mode. | 1641 // Switch to overview mode. |
| 1641 ToggleOverview(); | 1642 ToggleOverview(); |
| 1642 ASSERT_TRUE(IsSelecting()); | 1643 ASSERT_TRUE(IsSelecting()); |
| 1643 | 1644 |
| 1644 // Tap should now exit overview mode. | 1645 // Tap should now exit overview mode. |
| 1645 generator.GestureTapAt(point_in_background_page); | 1646 generator.GestureTapAt(point_in_background_page); |
| 1646 EXPECT_FALSE(IsSelecting()); | 1647 EXPECT_FALSE(IsSelecting()); |
| 1647 } | 1648 } |
| 1648 | 1649 |
| 1649 } // namespace ash | 1650 } // namespace ash |
| OLD | NEW |