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/display/display_layout.h" | 10 #include "ash/display/display_layout.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "ash/wm/maximize_mode/maximize_mode_controller.h" | 23 #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
24 #include "ash/wm/mru_window_tracker.h" | 24 #include "ash/wm/mru_window_tracker.h" |
25 #include "ash/wm/overview/window_grid.h" | 25 #include "ash/wm/overview/window_grid.h" |
26 #include "ash/wm/overview/window_selector.h" | 26 #include "ash/wm/overview/window_selector.h" |
27 #include "ash/wm/overview/window_selector_controller.h" | 27 #include "ash/wm/overview/window_selector_controller.h" |
28 #include "ash/wm/overview/window_selector_item.h" | 28 #include "ash/wm/overview/window_selector_item.h" |
29 #include "ash/wm/panels/panel_layout_manager.h" | 29 #include "ash/wm/panels/panel_layout_manager.h" |
30 #include "ash/wm/window_state.h" | 30 #include "ash/wm/window_state.h" |
31 #include "ash/wm/window_util.h" | 31 #include "ash/wm/window_util.h" |
32 #include "ash/wm/wm_event.h" | 32 #include "ash/wm/wm_event.h" |
33 #include "base/basictypes.h" | |
34 #include "base/command_line.h" | 33 #include "base/command_line.h" |
35 #include "base/compiler_specific.h" | 34 #include "base/compiler_specific.h" |
36 #include "base/memory/scoped_vector.h" | 35 #include "base/memory/scoped_vector.h" |
37 #include "base/run_loop.h" | 36 #include "base/run_loop.h" |
38 #include "base/strings/string_piece.h" | 37 #include "base/strings/string_piece.h" |
39 #include "base/strings/utf_string_conversions.h" | 38 #include "base/strings/utf_string_conversions.h" |
40 #include "base/test/user_action_tester.h" | 39 #include "base/test/user_action_tester.h" |
41 #include "ui/aura/client/aura_constants.h" | 40 #include "ui/aura/client/aura_constants.h" |
42 #include "ui/aura/client/cursor_client.h" | 41 #include "ui/aura/client/cursor_client.h" |
43 #include "ui/aura/client/focus_client.h" | 42 #include "ui/aura/client/focus_client.h" |
(...skipping 1583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1627 // Switch to overview mode. | 1626 // Switch to overview mode. |
1628 ToggleOverview(); | 1627 ToggleOverview(); |
1629 ASSERT_TRUE(IsSelecting()); | 1628 ASSERT_TRUE(IsSelecting()); |
1630 | 1629 |
1631 // Tap should now exit overview mode. | 1630 // Tap should now exit overview mode. |
1632 generator.GestureTapAt(point_in_background_page); | 1631 generator.GestureTapAt(point_in_background_page); |
1633 EXPECT_FALSE(IsSelecting()); | 1632 EXPECT_FALSE(IsSelecting()); |
1634 } | 1633 } |
1635 | 1634 |
1636 } // namespace ash | 1635 } // namespace ash |
OLD | NEW |