| 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 <stddef.h> |
| 8 |
| 9 #include "base/macros.h" |
| 7 #include "base/test/simple_test_tick_clock.h" | 10 #include "base/test/simple_test_tick_clock.h" |
| 8 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 9 #include "ui/aura/client/cursor_client.h" | 12 #include "ui/aura/client/cursor_client.h" |
| 10 #include "ui/aura/test/aura_test_base.h" | 13 #include "ui/aura/test/aura_test_base.h" |
| 11 #include "ui/aura/test/test_cursor_client.h" | 14 #include "ui/aura/test/test_cursor_client.h" |
| 12 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
| 13 #include "ui/events/event.h" | 16 #include "ui/events/event.h" |
| 14 #include "ui/events/event_utils.h" | 17 #include "ui/events/event_utils.h" |
| 15 #include "ui/events/gestures/gesture_provider_aura.h" | 18 #include "ui/events/gestures/gesture_provider_aura.h" |
| 16 #include "ui/events/test/event_generator.h" | 19 #include "ui/events/test/event_generator.h" |
| (...skipping 1916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1933 generator_->PressTouch(); | 1936 generator_->PressTouch(); |
| 1934 generator_->MoveTouch(initial_press); | 1937 generator_->MoveTouch(initial_press); |
| 1935 generator_->MoveTouch(*point); | 1938 generator_->MoveTouch(*point); |
| 1936 generator_->ReleaseTouch(); | 1939 generator_->ReleaseTouch(); |
| 1937 ASSERT_EQ(1U, delegate_.NumExitScreenSounds()); | 1940 ASSERT_EQ(1U, delegate_.NumExitScreenSounds()); |
| 1938 delegate_.ResetCountersToZero(); | 1941 delegate_.ResetCountersToZero(); |
| 1939 } | 1942 } |
| 1940 } | 1943 } |
| 1941 | 1944 |
| 1942 } // namespace ui | 1945 } // namespace ui |
| OLD | NEW |