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

Side by Side Diff: remoting/host/chromeos/display_transform_util.h

Issue 756643006: Remote assistance on Chrome OS Part IX - Input injection on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Ozone_input_injection
Patch Set: Fix rotation on X11 devices Created 6 years 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
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 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698