OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/chromeos/touch_exploration_controller.h" | 5 #include "ui/chromeos/touch_exploration_controller.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/test/simple_test_tick_clock.h" | 11 #include "base/test/simple_test_tick_clock.h" |
12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "ui/accessibility/ax_enums.h" |
13 #include "ui/aura/client/cursor_client.h" | 14 #include "ui/aura/client/cursor_client.h" |
14 #include "ui/aura/test/aura_test_base.h" | 15 #include "ui/aura/test/aura_test_base.h" |
15 #include "ui/aura/test/test_cursor_client.h" | 16 #include "ui/aura/test/test_cursor_client.h" |
16 #include "ui/aura/window.h" | 17 #include "ui/aura/window.h" |
17 #include "ui/events/event.h" | 18 #include "ui/events/event.h" |
18 #include "ui/events/event_utils.h" | 19 #include "ui/events/event_utils.h" |
19 #include "ui/events/gestures/gesture_provider_aura.h" | 20 #include "ui/events/gestures/gesture_provider_aura.h" |
20 #include "ui/events/test/event_generator.h" | 21 #include "ui/events/test/event_generator.h" |
21 #include "ui/events/test/events_test_utils.h" | 22 #include "ui/events/test/events_test_utils.h" |
22 #include "ui/gfx/geometry/point.h" | 23 #include "ui/gfx/geometry/point.h" |
(...skipping 1802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1825 generator_->PressTouch(); | 1826 generator_->PressTouch(); |
1826 generator_->MoveTouch(initial_press); | 1827 generator_->MoveTouch(initial_press); |
1827 generator_->MoveTouch(*point); | 1828 generator_->MoveTouch(*point); |
1828 generator_->ReleaseTouch(); | 1829 generator_->ReleaseTouch(); |
1829 ASSERT_EQ(1U, delegate_.NumExitScreenSounds()); | 1830 ASSERT_EQ(1U, delegate_.NumExitScreenSounds()); |
1830 delegate_.ResetCountersToZero(); | 1831 delegate_.ResetCountersToZero(); |
1831 } | 1832 } |
1832 } | 1833 } |
1833 | 1834 |
1834 } // namespace ui | 1835 } // namespace ui |
OLD | NEW |