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

Unified Diff: remoting/host/host_window_proxy.cc

Issue 112453002: Remove dependency on skia from remoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/host_status_observer.h ('k') | remoting/host/input_injector_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_window_proxy.cc
diff --git a/remoting/host/host_window_proxy.cc b/remoting/host/host_window_proxy.cc
index c8107195c842a08fca284ee40d174ac0eea716f4..085fadfa9f8f6607a02f350339594e1665592c7e 100644
--- a/remoting/host/host_window_proxy.cc
+++ b/remoting/host/host_window_proxy.cc
@@ -9,6 +9,7 @@
#include "base/logging.h"
#include "base/single_thread_task_runner.h"
#include "remoting/host/client_session_control.h"
+#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
namespace remoting {
@@ -38,7 +39,8 @@ class HostWindowProxy::Core
// ClientSessionControl interface.
virtual const std::string& client_jid() const OVERRIDE;
virtual void DisconnectSession() OVERRIDE;
- virtual void OnLocalMouseMoved(const SkIPoint& position) OVERRIDE;
+ virtual void OnLocalMouseMoved(
+ const webrtc::DesktopVector& position) OVERRIDE;
virtual void SetDisableInputs(bool disable_inputs) OVERRIDE;
// Task runner on which public methods of this class must be called.
@@ -152,7 +154,8 @@ void HostWindowProxy::Core::DisconnectSession() {
client_session_control_->DisconnectSession();
}
-void HostWindowProxy::Core::OnLocalMouseMoved(const SkIPoint& position) {
+void HostWindowProxy::Core::OnLocalMouseMoved(
+ const webrtc::DesktopVector& position) {
if (!caller_task_runner_->BelongsToCurrentThread()) {
caller_task_runner_->PostTask(
FROM_HERE, base::Bind(&Core::OnLocalMouseMoved, this, position));
« no previous file with comments | « remoting/host/host_status_observer.h ('k') | remoting/host/input_injector_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698