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

Unified Diff: content/browser/renderer_host/input/input_router_impl_unittest.cc

Issue 999423003: Set the unique_event_id when converting from TouchEvent to WebTouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: content/browser/renderer_host/input/input_router_impl_unittest.cc
diff --git a/content/browser/renderer_host/input/input_router_impl_unittest.cc b/content/browser/renderer_host/input/input_router_impl_unittest.cc
index f56991892266ceeca85f3a84ec97a7d01d5d3f37..a08122e440b4f3496721fefbae056ad5c777aff2 100644
--- a/content/browser/renderer_host/input/input_router_impl_unittest.cc
+++ b/content/browser/renderer_host/input/input_router_impl_unittest.cc
@@ -253,6 +253,7 @@ class InputRouterImplTest : public testing::Test {
}
int PressTouchPoint(int x, int y) {
+ LOG(ERROR) << " PressTouchPoint " << touch_event_.uniqueTouchEventId;
tdresser 2015/04/08 12:24:26 These logs should be removed.
lanwei 2015/04/09 04:14:28 Done.
return touch_event_.PressPoint(x, y);
}
@@ -862,6 +863,7 @@ TEST_F(InputRouterImplTest, AckedTouchEventState) {
// Press the first finger.
PressTouchPoint(1, 1);
+ LOG(ERROR) << " InputRouterImplTest.AckedTouchEventState ";
tdresser 2015/04/08 12:24:26 Ditto.
lanwei 2015/04/09 04:14:28 Done.
SetTouchTimestamp(timestamp);
SendTouchEvent();
EXPECT_EQ(1U, GetSentMessageCountAndResetSink());

Powered by Google App Engine
This is Rietveld 408576698