| 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_MOUSE_CURSOR_MONITOR_AURA_H_ | 5 #ifndef REMOTING_HOST_CHROMEOS_MOUSE_CURSOR_MONITOR_AURA_H_ |
| 6 #define REMOTING_HOST_CHROMEOS_MOUSE_CURSOR_MONITOR_AURA_H_ | 6 #define REMOTING_HOST_CHROMEOS_MOUSE_CURSOR_MONITOR_AURA_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" | 9 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" |
| 9 #include "ui/base/cursor/cursor.h" | 10 #include "ui/base/cursor/cursor.h" |
| 10 #include "ui/gfx/geometry/point.h" | 11 #include "ui/gfx/geometry/point.h" |
| 11 | 12 |
| 12 namespace remoting { | 13 namespace remoting { |
| 13 | 14 |
| 14 // Monitors changes in cursor shape and location. It can be constructed on any | 15 // Monitors changes in cursor shape and location. It can be constructed on any |
| 15 // thread but all public methods must be called on the capturer thread. | 16 // thread but all public methods must be called on the capturer thread. |
| 16 class MouseCursorMonitorAura : public webrtc::MouseCursorMonitor { | 17 class MouseCursorMonitorAura : public webrtc::MouseCursorMonitor { |
| 17 public: | 18 public: |
| (...skipping 10 matching lines...) Expand all Loading... |
| 28 Mode mode_; | 29 Mode mode_; |
| 29 ui::Cursor last_cursor_; | 30 ui::Cursor last_cursor_; |
| 30 gfx::Point last_mouse_location_; | 31 gfx::Point last_mouse_location_; |
| 31 | 32 |
| 32 DISALLOW_COPY_AND_ASSIGN(MouseCursorMonitorAura); | 33 DISALLOW_COPY_AND_ASSIGN(MouseCursorMonitorAura); |
| 33 }; | 34 }; |
| 34 | 35 |
| 35 } // namespace remoting | 36 } // namespace remoting |
| 36 | 37 |
| 37 #endif // REMOTING_HOST_CHROMEOS_MOUSE_CURSOR_MONITOR_AURA_H_ | 38 #endif // REMOTING_HOST_CHROMEOS_MOUSE_CURSOR_MONITOR_AURA_H_ |
| OLD | NEW |