diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-16 18:02:58 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-16 18:02:58 +0000 |
commit | 8c83a71cfc4664a2e5643e9ee4bb1bd3ed53eb0e (patch) | |
tree | 2791a8f91d314baa69420965b6824e5ed72fe3a2 /remoting/host/host_window_proxy.cc | |
parent | 85f2958961e6989d2f9cbf76d481c71a9073307b (diff) | |
download | chromium_src-8c83a71cfc4664a2e5643e9ee4bb1bd3ed53eb0e.zip chromium_src-8c83a71cfc4664a2e5643e9ee4bb1bd3ed53eb0e.tar.gz chromium_src-8c83a71cfc4664a2e5643e9ee4bb1bd3ed53eb0e.tar.bz2 |
Remove dependency on skia from remoting
Remoting uses types in webrtc/modules/desktop_capture to represent
rectangles, vectors and regions. This CL removes a few places left where
we were still using Skia types and removes Skia from DEPS.
Also removed leftover InvalidateRegion() declaration from
desktop_session_proxy.h .
R=jamiewalch@chromium.org
Review URL: https://codereview.chromium.org/112453002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_window_proxy.cc')
-rw-r--r-- | remoting/host/host_window_proxy.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/remoting/host/host_window_proxy.cc b/remoting/host/host_window_proxy.cc index c810719..085fadf 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)); |