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

Unified Diff: remoting/host/client_session.cc

Issue 8985007: Refactoring of the client-side input pipeline and scaling dimension management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 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
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index c358508367ea91e89d0777310a4393e8a63f36de..532b825c03317224abb68c158c9d3e8ed81da8b1 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -239,6 +239,7 @@ void ClientSession::RestoreEventState() {
for (int i = 1; i < MouseEvent::BUTTON_MAX; i++) {
if (remote_mouse_button_state_ & (1 << (i - 1))) {
MouseEvent mouse;
+ // TODO(wez): Shouldn't [need to] set position here.
mouse.set_x(remote_mouse_pos_.x());
mouse.set_y(remote_mouse_pos_.y());
mouse.set_button((MouseEvent::MouseButton)i);

Powered by Google App Engine
This is Rietveld 408576698