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: ui/events/event_unittest.cc

Issue 2849083002: Add pointer id to the WebMouseEvent's constructors (Closed)
Patch Set: webmouseid Created 3 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: ui/events/event_unittest.cc
diff --git a/ui/events/event_unittest.cc b/ui/events/event_unittest.cc
index 29e5048a0e4f30ba5d23270c8915b4752a3809d0..89c559b4a8674bb4fe34bdcee452beddad6c6386 100644
--- a/ui/events/event_unittest.cc
+++ b/ui/events/event_unittest.cc
@@ -856,7 +856,7 @@ TEST(EventTest, PointerEventId) {
gfx::Point(0, 0), base::TimeTicks(), 0, 0);
ui::PointerEvent pointer_event(mouse_event);
EXPECT_EQ(pointer_event.pointer_details().id,
- ui::MouseEvent::kMousePointerId);
+ ui::MouseEvent::kDefaultMousePointerId);
}
for (int touch_id = 0; touch_id < 8; touch_id++) {
« ui/events/event.h ('K') | « ui/events/event.cc ('k') | ui/events/events_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698