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

Unified Diff: ui/events/test/mock_motion_event.h

Issue 502993004: Remove abstract Clone and Cancel methods from MotionEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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/test/mock_motion_event.h
diff --git a/ui/events/test/mock_motion_event.h b/ui/events/test/mock_motion_event.h
index 5c34b71a365288deaa7604ffba44210a111e8dd7..5690fd5f5ff7a9c411db670f4321f5c4fd0b42e1 100644
--- a/ui/events/test/mock_motion_event.h
+++ b/ui/events/test/mock_motion_event.h
@@ -35,13 +35,10 @@ struct MockMotionEvent : public MotionEventGeneric {
MockMotionEvent(Action action,
base::TimeTicks time,
const std::vector<gfx::PointF>& positions);
- MockMotionEvent(const MockMotionEvent& other);
+ MockMotionEvent(const MockMotionEvent& event);
virtual ~MockMotionEvent();
- // MotionEvent methods.
- virtual scoped_ptr<MotionEvent> Clone() const override;
- virtual scoped_ptr<MotionEvent> Cancel() const override;
// Utility methods.
void PressPoint(float x, float y);

Powered by Google App Engine
This is Rietveld 408576698