| 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 "ash/wm/gestures/overview_gesture_handler.h" | 5 #include "ash/wm/gestures/overview_gesture_handler.h" |
| 6 | 6 |
| 7 #include "ash/common/wm/overview/window_selector_controller.h" | |
| 8 #include "ash/common/wm_shell.h" | |
| 9 #include "ash/root_window_controller.h" | 7 #include "ash/root_window_controller.h" |
| 10 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 11 #include "ash/test/ash_test_base.h" | 9 #include "ash/test/ash_test_base.h" |
| 10 #include "ash/wm/overview/window_selector_controller.h" |
| 12 #include "ash/wm/window_util.h" | 11 #include "ash/wm/window_util.h" |
| 12 #include "ash/wm_shell.h" |
| 13 #include "ui/aura/test/test_window_delegate.h" | 13 #include "ui/aura/test/test_window_delegate.h" |
| 14 #include "ui/aura/test/test_windows.h" | 14 #include "ui/aura/test/test_windows.h" |
| 15 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
| 16 #include "ui/aura/window_event_dispatcher.h" | 16 #include "ui/aura/window_event_dispatcher.h" |
| 17 #include "ui/events/test/event_generator.h" | 17 #include "ui/events/test/event_generator.h" |
| 18 #include "ui/views/widget/widget.h" | 18 #include "ui/views/widget/widget.h" |
| 19 | 19 |
| 20 namespace ash { | 20 namespace ash { |
| 21 | 21 |
| 22 class OverviewGestureHandlerTest : public test::AshTestBase { | 22 class OverviewGestureHandlerTest : public test::AshTestBase { |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 generator.Dispatch(&move); | 172 generator.Dispatch(&move); |
| 173 } | 173 } |
| 174 | 174 |
| 175 EXPECT_FALSE(IsSelecting()); | 175 EXPECT_FALSE(IsSelecting()); |
| 176 ui::ScrollEvent fling_start(ui::ET_SCROLL_FLING_START, start, timestamp, 0, 0, | 176 ui::ScrollEvent fling_start(ui::ET_SCROLL_FLING_START, start, timestamp, 0, 0, |
| 177 10, 0, 10, num_fingers); | 177 10, 0, 10, num_fingers); |
| 178 generator.Dispatch(&fling_start); | 178 generator.Dispatch(&fling_start); |
| 179 } | 179 } |
| 180 | 180 |
| 181 } // namespace ash | 181 } // namespace ash |
| OLD | NEW |