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

Unified Diff: trunk/src/remoting/protocol/input_event_tracker.cc

Issue 24217003: Revert 224101 "Remove dependency on Skia from chromoting client." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 months 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 | « trunk/src/remoting/protocol/input_event_tracker.h ('k') | trunk/src/remoting/protocol/mouse_input_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/remoting/protocol/input_event_tracker.cc
===================================================================
--- trunk/src/remoting/protocol/input_event_tracker.cc (revision 224204)
+++ trunk/src/remoting/protocol/input_event_tracker.cc (working copy)
@@ -12,6 +12,7 @@
InputEventTracker::InputEventTracker(InputStub* input_stub)
: input_stub_(input_stub),
+ mouse_pos_(SkIPoint::Make(0, 0)),
mouse_button_state_(0) {
}
@@ -73,7 +74,7 @@
void InputEventTracker::InjectMouseEvent(const MouseEvent& event) {
if (event.has_x() && event.has_y()) {
- mouse_pos_ = webrtc::DesktopVector(event.x(), event.y());
+ mouse_pos_ = SkIPoint::Make(event.x(), event.y());
}
if (event.has_button() && event.has_button_down()) {
// Button values are defined in remoting/proto/event.proto.
« no previous file with comments | « trunk/src/remoting/protocol/input_event_tracker.h ('k') | trunk/src/remoting/protocol/mouse_input_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698