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

Unified Diff: remoting/host/remote_input_filter.h

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/local_input_monitor_win.cc ('k') | remoting/host/remote_input_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remote_input_filter.h
diff --git a/remoting/host/remote_input_filter.h b/remoting/host/remote_input_filter.h
index 4944ea39693bf83680e29863991ae4f5b310e792..20b5db63f93711407ff6f9a586b0cb7ff61e085d 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_;
« no previous file with comments | « remoting/host/local_input_monitor_win.cc ('k') | remoting/host/remote_input_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698