| 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_IPC_MOUSE_CURSOR_MONITOR_H_ | 5 #ifndef REMOTING_HOST_IPC_MOUSE_CURSOR_MONITOR_H_ |
| 6 #define REMOTING_HOST_IPC_MOUSE_CURSOR_MONITOR_H_ | 6 #define REMOTING_HOST_IPC_MOUSE_CURSOR_MONITOR_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 11 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" | 12 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
| 12 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" | 13 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" |
| 13 | 14 |
| 14 namespace remoting { | 15 namespace remoting { |
| 15 | 16 |
| 16 class DesktopSessionProxy; | 17 class DesktopSessionProxy; |
| 17 | 18 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 39 | 40 |
| 40 // Used to cancel tasks pending on the capturer when it is stopped. | 41 // Used to cancel tasks pending on the capturer when it is stopped. |
| 41 base::WeakPtrFactory<IpcMouseCursorMonitor> weak_factory_; | 42 base::WeakPtrFactory<IpcMouseCursorMonitor> weak_factory_; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(IpcMouseCursorMonitor); | 44 DISALLOW_COPY_AND_ASSIGN(IpcMouseCursorMonitor); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace remoting | 47 } // namespace remoting |
| 47 | 48 |
| 48 #endif // REMOTING_HOST_IPC_MOUSE_CURSOR_MONITOR_H_ | 49 #endif // REMOTING_HOST_IPC_MOUSE_CURSOR_MONITOR_H_ |
| OLD | NEW |