| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 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_GFX_TEST_DISPLAY_UTIL_H_ | |
| 6 #define UI_GFX_TEST_DISPLAY_UTIL_H_ | |
| 7 | |
| 8 #include "ui/gfx/display.h" | |
| 9 | |
| 10 namespace gfx { | |
| 11 | |
| 12 inline bool operator==(const Display& lhs, const Display& rhs) { | |
| 13 return lhs.id() == rhs.id() && | |
| 14 lhs.bounds() == rhs.bounds() && | |
| 15 lhs.work_area() == rhs.work_area() && | |
| 16 lhs.device_scale_factor() == rhs.device_scale_factor() && | |
| 17 lhs.rotation() == rhs.rotation() && | |
| 18 lhs.touch_support() == rhs.touch_support(); | |
| 19 } | |
| 20 | |
| 21 } // namespace gfx | |
| 22 | |
| 23 #endif // UI_GFX_TEST_DISPLAY_UTIL_H_ | |
| OLD | NEW |