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

Issue 12594009: Converted LocalInputMonitor into a SessionController instance. (Closed)

Created:
7 years, 9 months ago by alexeypa (please no reviews)
Modified:
7 years, 9 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, sail+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

DesktopEnvironment is now responsible for creation of the local input monitor. LocalInputMonitor instances use the ClientSessionControl interface to pass notification about local mouse movements and to disconnect the client session when the disconnect shortcut (Ctrl+Alt+Esc) is pressed. This CL also completely removes the MouseMoveObserver interface (along with its implementation in ChromotingHost) since it is not used any more. BUG=104544 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190444

Patch Set 1 #

Total comments: 10

Patch Set 2 : CR feedback. #

Total comments: 4

Patch Set 3 : CR feedabck. #

Patch Set 4 : rebased on top of https://chromiumcodereview.appspot.com/12879006/ #

Patch Set 5 : Posting ClientSessionControl tasks directly since we have a weak point now. #

Total comments: 8

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -358 lines) Patch
M remoting/host/basic_desktop_environment.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M remoting/host/basic_desktop_environment.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host.h View 3 chunks +1 line, -6 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 4 5 1 chunk +0 lines, -14 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 4 5 4 chunks +3 lines, -9 lines 0 comments Download
M remoting/host/client_session_control.h View 1 2 3 2 chunks +1 line, -5 lines 0 comments Download
M remoting/host/desktop_session_agent.h View 1 2 3 4 5 2 chunks +0 lines, -5 lines 0 comments Download
M remoting/host/desktop_session_agent.cc View 1 2 3 4 5 5 chunks +2 lines, -17 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 3 4 5 3 chunks +14 lines, -11 lines 0 comments Download
M remoting/host/host_mock_objects.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/host_user_interface.h View 3 chunks +0 lines, -9 lines 0 comments Download
M remoting/host/host_user_interface.cc View 5 chunks +0 lines, -22 lines 0 comments Download
M remoting/host/ipc_desktop_environment_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -14 lines 0 comments Download
M remoting/host/local_input_monitor.h View 1 2 3 4 5 2 chunks +15 lines, -13 lines 0 comments Download
M remoting/host/local_input_monitor_linux.cc View 1 2 3 4 10 chunks +35 lines, -75 lines 0 comments Download
M remoting/host/local_input_monitor_mac.mm View 1 2 3 4 8 chunks +35 lines, -59 lines 0 comments Download
M remoting/host/local_input_monitor_unittest.cc View 1 2 3 3 chunks +37 lines, -26 lines 0 comments Download
M remoting/host/local_input_monitor_win.cc View 1 2 3 4 10 chunks +28 lines, -46 lines 0 comments Download
D remoting/host/mouse_move_observer.h View 1 chunk +0 lines, -24 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
alexeypa (please no reviews)
PTAL.
7 years, 9 months ago (2013-03-19 22:58:02 UTC) #1
Sergey Ulanov
Looks mostly good, but I feel iffy about SessionController interface. https://codereview.chromium.org/12594009/diff/1/remoting/host/local_input_monitor.h File remoting/host/local_input_monitor.h (right): https://codereview.chromium.org/12594009/diff/1/remoting/host/local_input_monitor.h#newcode21 ...
7 years, 9 months ago (2013-03-20 06:31:05 UTC) #2
alexeypa (please no reviews)
https://codereview.chromium.org/12594009/diff/1/remoting/host/local_input_monitor.h File remoting/host/local_input_monitor.h (right): https://codereview.chromium.org/12594009/diff/1/remoting/host/local_input_monitor.h#newcode21 remoting/host/local_input_monitor.h:21: // SessionController::EventHandler::Disconnect() this key combination is On 2013/03/20 06:31:06, ...
7 years, 9 months ago (2013-03-20 17:05:29 UTC) #3
Sergey Ulanov
lgtm https://codereview.chromium.org/12594009/diff/7001/remoting/host/session_controller.h File remoting/host/session_controller.h (right): https://codereview.chromium.org/12594009/diff/7001/remoting/host/session_controller.h#newcode17 remoting/host/session_controller.h:17: // (representing some aspects of the desktop environment) ...
7 years, 9 months ago (2013-03-20 17:23:31 UTC) #4
alexeypa (please no reviews)
https://codereview.chromium.org/12594009/diff/7001/remoting/host/session_controller.h File remoting/host/session_controller.h (right): https://codereview.chromium.org/12594009/diff/7001/remoting/host/session_controller.h#newcode17 remoting/host/session_controller.h:17: // (representing some aspects of the desktop environment) that ...
7 years, 9 months ago (2013-03-20 17:34:31 UTC) #5
alexeypa (please no reviews)
Patch set #4 is a version of the CL rebased on top of https://chromiumcodereview.appspot.com/12879006/. It ...
7 years, 9 months ago (2013-03-22 18:59:44 UTC) #6
Sergey Ulanov
LGTM with some nits https://codereview.chromium.org/12594009/diff/27002/remoting/host/local_input_monitor.h File remoting/host/local_input_monitor.h (right): https://codereview.chromium.org/12594009/diff/27002/remoting/host/local_input_monitor.h#newcode31 remoting/host/local_input_monitor.h:31: static scoped_ptr<LocalInputMonitor> Create( nit add ...
7 years, 9 months ago (2013-03-23 19:54:22 UTC) #7
alexeypa (please no reviews)
https://codereview.chromium.org/12594009/diff/27002/remoting/host/local_input_monitor.h File remoting/host/local_input_monitor.h (right): https://codereview.chromium.org/12594009/diff/27002/remoting/host/local_input_monitor.h#newcode31 remoting/host/local_input_monitor.h:31: static scoped_ptr<LocalInputMonitor> Create( On 2013/03/23 19:54:22, sergeyu wrote: > ...
7 years, 9 months ago (2013-03-25 15:54:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12594009/22004
7 years, 9 months ago (2013-03-25 16:14:45 UTC) #9
commit-bot: I haz the power
7 years, 9 months ago (2013-03-25 18:34:41 UTC) #10
Message was sent while issue was closed.
Change committed as 190444

Powered by Google App Engine
This is Rietveld 408576698