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

Side by Side Diff: ui/events/test/motion_event_test_utils.h

Issue 502993004: Remove abstract Clone and Cancel methods from MotionEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Owner for BUILD.gn 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 unified diff | Download patch
« no previous file with comments | « ui/events/test/mock_motion_event.cc ('k') | ui/events/test/motion_event_test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_EVENTS_TEST_MOTION_EVENT_TEST_UTILS_H_
6 #define UI_EVENTS_TEST_MOTION_EVENT_TEST_UTILS_H_
7
8 #include <ostream>
9 #include <string>
10
11 namespace ui {
12
13 class MotionEvent;
14
15 // The methods below are explicitly not defined in production code as they can
16 // be relatively expensive and, in the case of equality, contextually confusing.
17
18 bool operator==(const MotionEvent& lhs, const MotionEvent& rhs);
sky 2014/10/22 00:01:04 I would rather you have add an explicit ToString f
jdduke (slow) 2014/10/22 00:15:56 Sure, that's the behavior I had in PS7 but changed
19
20 std::ostream& operator<<(std::ostream& os, const MotionEvent& event);
21
22 } // namespace ui
23
24 #endif // UI_EVENTS_TEST_EVENTS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « ui/events/test/mock_motion_event.cc ('k') | ui/events/test/motion_event_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698