Index: content/browser/renderer_host/input/motion_event_web.cc |
diff --git a/content/browser/renderer_host/input/motion_event_web.cc b/content/browser/renderer_host/input/motion_event_web.cc |
index bff45355ce09326a5d5c922e960673667626f451..77a40a4fe254afc68ff90b087d9f46c4f08fb5b8 100644 |
--- a/content/browser/renderer_host/input/motion_event_web.cc |
+++ b/content/browser/renderer_host/input/motion_event_web.cc |
@@ -155,7 +155,6 @@ ui::MotionEvent::ToolType MotionEventWeb::GetToolType( |
} |
int MotionEventWeb::GetButtonState() const { |
- NOTIMPLEMENTED(); |
return 0; |
} |
@@ -163,18 +162,4 @@ int MotionEventWeb::GetFlags() const { |
return WebEventModifiersToEventFlags(event_.modifiers); |
} |
-scoped_ptr<ui::MotionEvent> MotionEventWeb::Clone() const { |
- return scoped_ptr<MotionEvent>(new MotionEventWeb(event_)); |
-} |
- |
-scoped_ptr<ui::MotionEvent> MotionEventWeb::Cancel() const { |
- WebTouchEvent cancel_event(event_); |
- WebTouchEventTraits::ResetTypeAndTouchStates( |
- blink::WebInputEvent::TouchCancel, |
- // TODO(rbyers): Shouldn't we use a fresh timestamp? |
- event_.timeStampSeconds, |
- &cancel_event); |
- return scoped_ptr<MotionEvent>(new MotionEventWeb(cancel_event)); |
-} |
- |
} // namespace content |