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

Issue 7604007: Make floor-control more robust. (Closed)

Created:
9 years, 4 months ago by Lambros
Modified:
9 years, 4 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Make floor-control more robust. Check all injected mouse positions, not just the first one, to deal with possibility that mouse-injection API might fail. Also rename recent_remote_mouse_positions_ to injected_mouse_positions_ to emphasize these are the events that were (attempted to be) injected into the host. BUG=None TEST=Use buggy Mac client to send invalid mouse position to Linux host (move mouse off-screen. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96124

Patch Set 1 #

Total comments: 8

Patch Set 2 : Remove logs, fix comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -7 lines) Patch
M remoting/host/client_session.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M remoting/host/client_session.cc View 1 3 chunks +20 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Lambros
9 years, 4 months ago (2011-08-09 18:59:23 UTC) #1
Jamie
LGTM with some wording nits, and one debug log left in the code. http://codereview.chromium.org/7604007/diff/1/remoting/host/client_session.cc File ...
9 years, 4 months ago (2011-08-09 19:42:44 UTC) #2
Lambros
http://codereview.chromium.org/7604007/diff/1/remoting/host/client_session.cc File remoting/host/client_session.cc (right): http://codereview.chromium.org/7604007/diff/1/remoting/host/client_session.cc#newcode101 remoting/host/client_session.cc:101: LOG(INFO) << "Queue too big"; On 2011/08/09 19:42:45, Jamie ...
9 years, 4 months ago (2011-08-09 20:35:42 UTC) #3
Jamie
LGTM
9 years, 4 months ago (2011-08-09 20:57:11 UTC) #4
commit-bot: I haz the power
9 years, 4 months ago (2011-08-10 03:30:21 UTC) #5
Change committed as 96124

Powered by Google App Engine
This is Rietveld 408576698