OLD | NEW |
---|---|
(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_ | |
OLD | NEW |