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

Unified Diff: content/browser/renderer_host/input/input_router_unittest.h

Issue 78263003: Ignore TouchCancel ack dispositions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REbase Created 7 years, 1 month 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: content/browser/renderer_host/input/input_router_unittest.h
diff --git a/content/browser/renderer_host/input/input_router_unittest.h b/content/browser/renderer_host/input/input_router_unittest.h
index 50c8184a4e473b65a6b719e19b685043f75d2d7b..d9a67754562c7db00c5aeed91339cab624148b60 100644
--- a/content/browser/renderer_host/input/input_router_unittest.h
+++ b/content/browser/renderer_host/input/input_router_unittest.h
@@ -55,7 +55,7 @@ class InputRouterTest : public testing::Test {
float velocityX,
float velocityY,
blink::WebGestureEvent::SourceDevice sourceDevice);
- void SimulateTouchEvent(int x, int y);
+ void SimulateTouchEvent(blink::WebInputEvent::Type type);
void SetTouchTimestamp(base::TimeDelta timestamp);
// Sends a touch event (irrespective of whether the page has a touch-event
@@ -65,6 +65,7 @@ class InputRouterTest : public testing::Test {
int PressTouchPoint(int x, int y);
void MoveTouchPoint(int index, int x, int y);
void ReleaseTouchPoint(int index);
+ void CancelTouchPoint(int index);
scoped_ptr<MockRenderProcessHost> process_;
scoped_ptr<MockInputRouterClient> client_;

Powered by Google App Engine
This is Rietveld 408576698