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

Unified Diff: components/exo/pointer_unittest.cc

Issue 1975533002: Change ui::Event::time_stamp from TimeDelta to TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « components/exo/pointer_delegate.h ('k') | components/exo/touch_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/pointer_unittest.cc
diff --git a/components/exo/pointer_unittest.cc b/components/exo/pointer_unittest.cc
index ec4d14fdfd1efafffec764f771bfb3a7c94882a0..359a06948eca88b3b1ef3f473b50895a2d64f69e 100644
--- a/components/exo/pointer_unittest.cc
+++ b/components/exo/pointer_unittest.cc
@@ -29,12 +29,12 @@ class MockPointerDelegate : public PointerDelegate {
MOCK_CONST_METHOD1(CanAcceptPointerEventsForSurface, bool(Surface*));
MOCK_METHOD3(OnPointerEnter, void(Surface*, const gfx::PointF&, int));
MOCK_METHOD1(OnPointerLeave, void(Surface*));
- MOCK_METHOD2(OnPointerMotion, void(base::TimeDelta, const gfx::PointF&));
- MOCK_METHOD3(OnPointerButton, void(base::TimeDelta, int, bool));
+ MOCK_METHOD2(OnPointerMotion, void(base::TimeTicks, const gfx::PointF&));
+ MOCK_METHOD3(OnPointerButton, void(base::TimeTicks, int, bool));
MOCK_METHOD3(OnPointerScroll,
- void(base::TimeDelta, const gfx::Vector2dF&, bool));
- MOCK_METHOD1(OnPointerScrollCancel, void(base::TimeDelta));
- MOCK_METHOD1(OnPointerScrollStop, void(base::TimeDelta));
+ void(base::TimeTicks, const gfx::Vector2dF&, bool));
+ MOCK_METHOD1(OnPointerScrollCancel, void(base::TimeTicks));
+ MOCK_METHOD1(OnPointerScrollStop, void(base::TimeTicks));
MOCK_METHOD0(OnPointerFrame, void());
};
« no previous file with comments | « components/exo/pointer_delegate.h ('k') | components/exo/touch_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698