Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1178)

Unified Diff: ui/events/blink/input_handler_proxy_unittest.cc

Issue 2576013002: Introducing WebCoalescedInputEvent and inclusion in content/common (Closed)
Patch Set: Fix a few DCHECK hits Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/blink/input_handler_proxy_unittest.cc
diff --git a/ui/events/blink/input_handler_proxy_unittest.cc b/ui/events/blink/input_handler_proxy_unittest.cc
index 0b7a14b7f1f258c5e4be18b7ed319903e5248f3e..a91e3982b13eb3381ab0e77750567b1d3c1e9dc1 100644
--- a/ui/events/blink/input_handler_proxy_unittest.cc
+++ b/ui/events/blink/input_handler_proxy_unittest.cc
@@ -120,10 +120,10 @@ WebGestureEvent CreateFling(WebGestureDevice source_device,
modifiers);
}
-ScopedWebInputEvent CreateGestureScrollOrPinch(WebInputEvent::Type type,
- float deltaYOrScale = 0,
- int x = 0,
- int y = 0) {
+blink::WebScopedInputEvent CreateGestureScrollOrPinch(WebInputEvent::Type type,
+ float deltaYOrScale = 0,
+ int x = 0,
+ int y = 0) {
WebGestureEvent gesture(type, WebInputEvent::NoModifiers,
WebInputEvent::TimeStampForTesting);
gesture.sourceDevice = blink::WebGestureDeviceTouchpad;
@@ -271,7 +271,7 @@ class MockInputHandlerProxyClient
void(const WebInputEvent&));
void DispatchNonBlockingEventToMainThread(
- ui::ScopedWebInputEvent event,
+ blink::WebScopedInputEvent event,
const ui::LatencyInfo& latency_info) override {
CHECK(event.get());
DispatchNonBlockingEventToMainThread_(*event.get());
@@ -504,7 +504,7 @@ class InputHandlerProxyEventQueueTest : public testing::Test {
void DidHandleInputEventAndOverscroll(
InputHandlerProxy::EventDisposition event_disposition,
- ui::ScopedWebInputEvent input_event,
+ blink::WebScopedInputEvent input_event,
const ui::LatencyInfo& latency_info,
std::unique_ptr<ui::DidOverscrollParams> overscroll_params) {
event_disposition_recorder_.push_back(event_disposition);

Powered by Google App Engine
This is Rietveld 408576698