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/remote_input_filter.h | |
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/remote_input_filter.h')
-rw-r--r-- | remoting/host/remote_input_filter.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/remoting/host/remote_input_filter.h b/remoting/host/remote_input_filter.h index 4944ea3..20b5db6 100644 --- a/remoting/host/remote_input_filter.h +++ b/remoting/host/remote_input_filter.h @@ -12,7 +12,6 @@ #include "base/time/time.h" #include "remoting/protocol/input_event_tracker.h" #include "remoting/protocol/input_stub.h" -#include "third_party/skia/include/core/SkPoint.h" namespace remoting { @@ -28,7 +27,7 @@ class RemoteInputFilter : public protocol::InputStub { // Informs the filter that local mouse activity has been detected. If the // activity does not match events we injected then we assume that it is local, // and block remote input for a short while. - void LocalMouseMoved(const SkIPoint& mouse_pos); + void LocalMouseMoved(const webrtc::DesktopVector& mouse_pos); // Informs the filter that injecting input causes an echo. void SetExpectLocalEcho(bool expect_local_echo); @@ -44,7 +43,7 @@ class RemoteInputFilter : public protocol::InputStub { // Queue of recently-injected mouse positions used to distinguish echoes of // injected events from movements from a local input device. - std::list<SkIPoint> injected_mouse_positions_; + std::list<webrtc::DesktopVector> injected_mouse_positions_; // Time at which local input events were most recently observed. base::TimeTicks latest_local_input_time_; |