base::Time::kMicrosecondsPerSecond);
}
-size_t MotionEventWeb::GetHistorySize() const { return 0; }
-
-base::TimeTicks MotionEventWeb::GetHistoricalEventTime(
- size_t historical_index) const {
- NOTIMPLEMENTED();
- return base::TimeTicks();
-}
-
-float MotionEventWeb::GetHistoricalTouchMajor(size_t pointer_index,
- size_t historical_index) const {
- NOTIMPLEMENTED();
- return 0.f;
-}
-
-float MotionEventWeb::GetHistoricalX(size_t pointer_index,
- size_t historical_index) const {
- NOTIMPLEMENTED();
- return 0.f;
-}
-
-float MotionEventWeb::GetHistoricalY(size_t pointer_index,
- size_t historical_index) const {
- NOTIMPLEMENTED();
- return 0.f;
-}
-
ui::MotionEvent::ToolType MotionEventWeb::GetToolType(
size_t pointer_index) const {
- NOTIMPLEMENTED();
+ // TODO(jdduke): Plumb tool type from the platform event, crbug.com/404128.
+ DCHECK_LT(pointer_index, GetPointerCount());
return TOOL_TYPE_UNKNOWN;
}