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

Issue 13142002: Moved code implementing message-only windows to a dedicated class (Windows only). (Closed)

Created:
7 years, 9 months ago by alexeypa (please no reviews)
Modified:
7 years, 8 months ago
Reviewers:
Lambros, dcaiafa
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, dcheng, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Moved code implementing message-only windows to a dedicated class (Windows only). This CL merges three implementations of message-only windows that we have in remoting into one class remoting::win::MessageWindow. Collateral changes: - The local input monitor now closes the connection if it cannot subscribe to the raw mouse input. Without this the remote user could potentially prevent the local user from closing the connection. - The clipboard window can be started only once, just like its owner. TEST=remoting_unittests.MessageWindowTest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191532

Patch Set 1 #

Total comments: 6

Patch Set 2 : CR feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -236 lines) Patch
M remoting/host/clipboard_win.cc View 1 8 chunks +53 lines, -96 lines 0 comments Download
M remoting/host/local_input_monitor_win.cc View 1 7 chunks +50 lines, -82 lines 0 comments Download
M remoting/host/win/host_service.h View 1 4 chunks +10 lines, -6 lines 0 comments Download
M remoting/host/win/host_service.cc View 1 6 chunks +16 lines, -52 lines 0 comments Download
A remoting/host/win/message_window.h View 1 1 chunk +67 lines, -0 lines 0 comments Download
A remoting/host/win/message_window.cc View 1 1 chunk +118 lines, -0 lines 0 comments Download
A remoting/host/win/message_window_unittest.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
alexeypa (please no reviews)
Daniel, PTAL. Lambros, please rubber-stamp as needed.
7 years, 9 months ago (2013-03-28 03:40:46 UTC) #1
dcaiafa
https://codereview.chromium.org/13142002/diff/1/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): https://codereview.chromium.org/13142002/diff/1/remoting/host/clipboard_win.cc#newcode125 remoting/host/clipboard_win.cc:125: // Used to subsribe to WM_CLIPBOARDUPDATE messages. nit: subscribe ...
7 years, 9 months ago (2013-03-28 23:25:35 UTC) #2
alexeypa (please no reviews)
https://codereview.chromium.org/13142002/diff/1/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): https://codereview.chromium.org/13142002/diff/1/remoting/host/clipboard_win.cc#newcode125 remoting/host/clipboard_win.cc:125: // Used to subsribe to WM_CLIPBOARDUPDATE messages. On 2013/03/28 ...
7 years, 8 months ago (2013-03-29 16:57:00 UTC) #3
dcaiafa
lgtm
7 years, 8 months ago (2013-03-29 17:42:26 UTC) #4
Lambros
lgtm
7 years, 8 months ago (2013-03-29 23:27:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/13142002/7001
7 years, 8 months ago (2013-03-29 23:40:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/13142002/7001
7 years, 8 months ago (2013-03-30 17:01:45 UTC) #7
commit-bot: I haz the power
7 years, 8 months ago (2013-03-30 18:00:09 UTC) #8
Message was sent while issue was closed.
Change committed as 191532

Powered by Google App Engine
This is Rietveld 408576698