Chromium Code Reviews| 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 REMOTING_HOST_CHROMEOS_DISPLAY_TRANSFORM_UTIL_H_ | |
| 6 #define REMOTING_HOST_CHROMEOS_DISPLAY_TRANSFORM_UTIL_H_ | |
| 7 | |
| 8 #include "ui/gfx/geometry/point_f.h" | |
| 9 | |
| 10 namespace remoting { | |
| 11 | |
| 12 // Converts |location| from the window tree host coordinate system to the native | |
| 13 // screen coordinate system. |location| is in device pixels. | |
|
Wez
2014/12/04 01:28:25
It's confusing to say that |location| is in "windo
Wez
2014/12/04 01:28:25
Is there some design doc we can refer to that expl
kelvinp
2014/12/05 03:17:28
Unfortunately, we don't have a design docs. The c
| |
| 14 gfx::PointF ConvertPointToNativeScreen(const gfx::PointF& location); | |
| 15 | |
| 16 // Converts |location| from the native screen coordinate system to the window | |
| 17 // tree host coordinate system. |location| is in device pixels. | |
| 18 gfx::PointF ConvertPointFromNativeScreen(const gfx::PointF& location); | |
| 19 | |
| 20 } // namespace remoting | |
| 21 | |
| 22 #endif // REMOTING_HOST_CHROMEOS_DISPLAY_TRANSFORM_UTIL_H_ | |
| OLD | NEW |