OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/memory/scoped_vector.h" | 6 #include "base/memory/scoped_vector.h" |
7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "ui/aura/env.h" | 11 #include "ui/aura/env.h" |
12 #include "ui/aura/test/aura_test_base.h" | 12 #include "ui/aura/test/aura_test_base.h" |
13 #include "ui/aura/test/event_generator.h" | 13 #include "ui/aura/test/event_generator.h" |
14 #include "ui/aura/test/test_window_delegate.h" | 14 #include "ui/aura/test/test_window_delegate.h" |
15 #include "ui/aura/test/test_windows.h" | 15 #include "ui/aura/test/test_windows.h" |
16 #include "ui/aura/window.h" | 16 #include "ui/aura/window.h" |
17 #include "ui/aura/window_event_dispatcher.h" | 17 #include "ui/aura/window_event_dispatcher.h" |
18 #include "ui/base/hit_test.h" | 18 #include "ui/base/hit_test.h" |
19 #include "ui/base/ui_base_switches.h" | 19 #include "ui/base/ui_base_switches.h" |
20 #include "ui/events/event.h" | 20 #include "ui/events/event.h" |
21 #include "ui/events/event_switches.h" | 21 #include "ui/events/event_switches.h" |
22 #include "ui/events/event_utils.h" | 22 #include "ui/events/event_utils.h" |
23 #include "ui/events/gestures/gesture_configuration.h" | 23 #include "ui/events/gestures/gesture_configuration.h" |
24 #include "ui/events/gestures/gesture_recognizer_impl.h" | 24 #include "ui/events/gestures/gesture_recognizer_impl.h" |
25 #include "ui/events/gestures/gesture_sequence.h" | 25 #include "ui/events/gestures/gesture_sequence.h" |
26 #include "ui/events/gestures/gesture_types.h" | 26 #include "ui/events/gestures/gesture_types.h" |
27 #include "ui/events/test/events_test_utils.h" | 27 #include "ui/events/test/events_test_utils.h" |
28 #include "ui/gfx/point.h" | 28 #include "ui/gfx/geometry/point.h" |
29 #include "ui/gfx/rect.h" | 29 #include "ui/gfx/rect.h" |
30 | 30 |
31 #include <queue> | 31 #include <queue> |
32 | 32 |
33 namespace aura { | 33 namespace aura { |
34 namespace test { | 34 namespace test { |
35 | 35 |
36 namespace { | 36 namespace { |
37 | 37 |
38 std::string WindowIDAsString(ui::GestureConsumer* consumer) { | 38 std::string WindowIDAsString(ui::GestureConsumer* consumer) { |
(...skipping 4386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4425 delegate.WaitUntilReceivedGesture(ui::ET_GESTURE_LONG_PRESS); | 4425 delegate.WaitUntilReceivedGesture(ui::ET_GESTURE_LONG_PRESS); |
4426 EXPECT_EQ(NULL, window); | 4426 EXPECT_EQ(NULL, window); |
4427 } | 4427 } |
4428 | 4428 |
4429 INSTANTIATE_TEST_CASE_P(GestureRecognizer, | 4429 INSTANTIATE_TEST_CASE_P(GestureRecognizer, |
4430 GestureRecognizerTest, | 4430 GestureRecognizerTest, |
4431 ::testing::Bool()); | 4431 ::testing::Bool()); |
4432 | 4432 |
4433 } // namespace test | 4433 } // namespace test |
4434 } // namespace aura | 4434 } // namespace aura |
OLD | NEW |