OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_HOST_CHROMEOS_POINT_TRANSFORMER_H_ | 5 #ifndef REMOTING_HOST_CHROMEOS_POINT_TRANSFORMER_H_ |
6 #define REMOTING_HOST_CHROMEOS_POINT_TRANSFORMER_H_ | 6 #define REMOTING_HOST_CHROMEOS_POINT_TRANSFORMER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/aura/window_observer.h" | 9 #include "ui/aura/window_observer.h" |
9 #include "ui/gfx/geometry/point_f.h" | 10 #include "ui/gfx/geometry/point_f.h" |
10 #include "ui/gfx/transform.h" | 11 #include "ui/gfx/transform.h" |
11 | 12 |
12 namespace aura { | 13 namespace aura { |
13 class Window; | 14 class Window; |
14 } // namespace aura | 15 } // namespace aura |
15 | 16 |
16 namespace remoting { | 17 namespace remoting { |
17 | 18 |
(...skipping 27 matching lines...) Expand all Loading... |
45 aura::Window* root_window_; | 46 aura::Window* root_window_; |
46 gfx::Transform root_to_screen_; | 47 gfx::Transform root_to_screen_; |
47 gfx::Transform screen_to_root_; | 48 gfx::Transform screen_to_root_; |
48 | 49 |
49 DISALLOW_COPY_AND_ASSIGN(PointTransformer); | 50 DISALLOW_COPY_AND_ASSIGN(PointTransformer); |
50 }; | 51 }; |
51 | 52 |
52 } // namespace remoting | 53 } // namespace remoting |
53 | 54 |
54 #endif // REMOTING_HOST_CHROMEOS_POINT_TRANSFORMER_H_ | 55 #endif // REMOTING_HOST_CHROMEOS_POINT_TRANSFORMER_H_ |
OLD | NEW |