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/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/memory/scoped_ptr.h" | 6 #include "base/memory/scoped_ptr.h" |
7 #include "base/shared_memory.h" | 7 #include "base/shared_memory.h" |
8 #include "base/timer.h" | 8 #include "base/timer/timer.h" |
9 #include "content/browser/browser_thread_impl.h" | 9 #include "content/browser/browser_thread_impl.h" |
10 #include "content/browser/renderer_host/backing_store.h" | 10 #include "content/browser/renderer_host/backing_store.h" |
11 #include "content/browser/renderer_host/gesture_event_filter.h" | 11 #include "content/browser/renderer_host/gesture_event_filter.h" |
12 #include "content/browser/renderer_host/overscroll_controller.h" | 12 #include "content/browser/renderer_host/overscroll_controller.h" |
13 #include "content/browser/renderer_host/overscroll_controller_delegate.h" | 13 #include "content/browser/renderer_host/overscroll_controller_delegate.h" |
14 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 14 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
15 #include "content/browser/renderer_host/tap_suppression_controller.h" | 15 #include "content/browser/renderer_host/tap_suppression_controller.h" |
16 #include "content/browser/renderer_host/tap_suppression_controller_client.h" | 16 #include "content/browser/renderer_host/tap_suppression_controller_client.h" |
17 #include "content/browser/renderer_host/test_render_view_host.h" | 17 #include "content/browser/renderer_host/test_render_view_host.h" |
18 #include "content/browser/renderer_host/touch_event_queue.h" | 18 #include "content/browser/renderer_host/touch_event_queue.h" |
(...skipping 4210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4229 EXPECT_EQ(OVERSCROLL_NONE, host_->overscroll_delegate()->completed_mode()); | 4229 EXPECT_EQ(OVERSCROLL_NONE, host_->overscroll_delegate()->completed_mode()); |
4230 | 4230 |
4231 SimulateGestureEvent(WebInputEvent::GestureScrollEnd, | 4231 SimulateGestureEvent(WebInputEvent::GestureScrollEnd, |
4232 WebGestureEvent::Touchscreen); | 4232 WebGestureEvent::Touchscreen); |
4233 EXPECT_EQ(OVERSCROLL_NONE, host_->overscroll_delegate()->current_mode()); | 4233 EXPECT_EQ(OVERSCROLL_NONE, host_->overscroll_delegate()->current_mode()); |
4234 EXPECT_EQ(OVERSCROLL_EAST, host_->overscroll_delegate()->completed_mode()); | 4234 EXPECT_EQ(OVERSCROLL_EAST, host_->overscroll_delegate()->completed_mode()); |
4235 process_->sink().ClearMessages(); | 4235 process_->sink().ClearMessages(); |
4236 } | 4236 } |
4237 | 4237 |
4238 } // namespace content | 4238 } // namespace content |
OLD | NEW |