| 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_FAKE_MOUSE_CURSOR_MONITOR_H_ | 5 #ifndef REMOTING_HOST_FAKE_MOUSE_CURSOR_MONITOR_H_ |
| 6 #define REMOTING_HOST_FAKE_MOUSE_CURSOR_MONITOR_H_ | 6 #define REMOTING_HOST_FAKE_MOUSE_CURSOR_MONITOR_H_ |
| 7 | 7 |
| 8 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" | 8 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" |
| 9 | 9 |
| 10 namespace remoting { | 10 namespace remoting { |
| 11 | 11 |
| 12 class FakeMouseCursorMonitor : public webrtc::MouseCursorMonitor { | 12 class FakeMouseCursorMonitor : public webrtc::MouseCursorMonitor { |
| 13 public: | 13 public: |
| 14 FakeMouseCursorMonitor(); | 14 FakeMouseCursorMonitor(); |
| 15 virtual ~FakeMouseCursorMonitor(); | 15 virtual ~FakeMouseCursorMonitor(); |
| 16 | 16 |
| 17 virtual void Init(Callback* callback, Mode mode) OVERRIDE; | 17 virtual void Init(Callback* callback, Mode mode) override; |
| 18 virtual void Capture() OVERRIDE; | 18 virtual void Capture() override; |
| 19 | 19 |
| 20 private: | 20 private: |
| 21 Callback* callback_; | 21 Callback* callback_; |
| 22 | 22 |
| 23 DISALLOW_COPY_AND_ASSIGN(FakeMouseCursorMonitor); | 23 DISALLOW_COPY_AND_ASSIGN(FakeMouseCursorMonitor); |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace remoting | 26 } // namespace remoting |
| 27 | 27 |
| 28 #endif // REMOTING_HOST_FAKE_MOUSE_CURSOR_MONITOR_H_ | 28 #endif // REMOTING_HOST_FAKE_MOUSE_CURSOR_MONITOR_H_ |
| OLD | NEW |