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 <list> | 5 #include <list> |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/memory/scoped_vector.h" | |
9 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
10 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
11 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "ui/aura/env.h" | 12 #include "ui/aura/env.h" |
14 #include "ui/aura/test/aura_test_base.h" | 13 #include "ui/aura/test/aura_test_base.h" |
15 #include "ui/aura/test/test_window_delegate.h" | 14 #include "ui/aura/test/test_window_delegate.h" |
16 #include "ui/aura/test/test_windows.h" | 15 #include "ui/aura/test/test_windows.h" |
17 #include "ui/aura/window.h" | 16 #include "ui/aura/window.h" |
18 #include "ui/aura/window_event_dispatcher.h" | 17 #include "ui/aura/window_event_dispatcher.h" |
(...skipping 4341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4360 // The synchronous ack is stuck behind the pending touch move. | 4359 // The synchronous ack is stuck behind the pending touch move. |
4361 EXPECT_0_EVENTS(delegate->events()); | 4360 EXPECT_0_EVENTS(delegate->events()); |
4362 | 4361 |
4363 delegate->ReceivedAck(); | 4362 delegate->ReceivedAck(); |
4364 EXPECT_2_EVENTS(delegate->events(), ui::ET_GESTURE_SCROLL_UPDATE, | 4363 EXPECT_2_EVENTS(delegate->events(), ui::ET_GESTURE_SCROLL_UPDATE, |
4365 ui::ET_GESTURE_SCROLL_UPDATE); | 4364 ui::ET_GESTURE_SCROLL_UPDATE); |
4366 } | 4365 } |
4367 | 4366 |
4368 } // namespace test | 4367 } // namespace test |
4369 } // namespace aura | 4368 } // namespace aura |
OLD | NEW |