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

Issue 10381115: [Chromoting] The Windows IT2Me host gets any new text items it finds on the clipboard. (Closed)

Created:
8 years, 7 months ago by simonmorris
Modified:
8 years, 7 months ago
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, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

[Chromoting] The Windows IT2Me host gets any new text items it finds on the clipboard. A follow-up CL will send those items to the client. The approach used in this CL will do nothing on OSes earlier than Vista. BUG=117473 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137455

Patch Set 1 #

Total comments: 41

Patch Set 2 : Reviews. #

Total comments: 8

Patch Set 3 : Review. #

Total comments: 9

Patch Set 4 : Move ClipboardWin to the UI thread, and tidy up. #

Total comments: 10

Patch Set 5 : Review. #

Patch Set 6 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -43 lines) Patch
M remoting/host/clipboard.h View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M remoting/host/clipboard_win.cc View 1 2 3 7 chunks +116 lines, -8 lines 0 comments Download
M remoting/host/desktop_environment.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M remoting/host/event_executor.h View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download
M remoting/host/event_executor_linux.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/host/event_executor_mac.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/host/event_executor_win.cc View 1 2 3 4 6 chunks +19 lines, -22 lines 0 comments Download
M remoting/host/simple_host_process.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
simonmorris
ptal sergeyu@ -> chromoting_host_context.[c|h] alexeypa@ -> everything else
8 years, 7 months ago (2012-05-11 20:17:23 UTC) #1
dcheng
http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc#newcode81 remoting/host/clipboard_win.cc:81: HANDLE GetData(UINT uFormat) { u_format or just format. http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc#newcode95 ...
8 years, 7 months ago (2012-05-11 20:28:30 UTC) #2
alexeypa (please no reviews)
http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc#newcode81 remoting/host/clipboard_win.cc:81: HANDLE GetData(UINT uFormat) { |uFormat| -> |format| http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc#newcode97 remoting/host/clipboard_win.cc:97: ...
8 years, 7 months ago (2012-05-11 20:42:36 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/10381115/diff/1/remoting/host/chromoting_host_context.cc File remoting/host/chromoting_host_context.cc (right): http://codereview.chromium.org/10381115/diff/1/remoting/host/chromoting_host_context.cc#newcode34 remoting/host/chromoting_host_context.cc:34: base::Thread::Options(MessageLoop::TYPE_UI, 0)) && On some platforms (mac and linux) ...
8 years, 7 months ago (2012-05-11 21:10:10 UTC) #4
simonmorris
http://codereview.chromium.org/10381115/diff/1/remoting/host/chromoting_host_context.cc File remoting/host/chromoting_host_context.cc (right): http://codereview.chromium.org/10381115/diff/1/remoting/host/chromoting_host_context.cc#newcode34 remoting/host/chromoting_host_context.cc:34: base::Thread::Options(MessageLoop::TYPE_UI, 0)) && On 2012/05/11 21:10:11, sergeyu wrote: > ...
8 years, 7 months ago (2012-05-11 22:12:58 UTC) #5
alexeypa (please no reviews)
LGTM for remoting/host/clipboard_win.cc http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc#newcode167 remoting/host/clipboard_win.cc:167: ::GetProcAddress(::GetModuleHandle(L"user32.dll"), On 2012/05/11 22:12:58, simonmorris wrote: ...
8 years, 7 months ago (2012-05-11 23:49:17 UTC) #6
simonmorris
http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc#newcode174 remoting/host/clipboard_win.cc:174: LOG(WARNING) << "AddClipboardFormatListener() couldn't be loaded."; On 2012/05/11 23:49:17, ...
8 years, 7 months ago (2012-05-12 00:16:55 UTC) #7
simonmorris
ping
8 years, 7 months ago (2012-05-15 00:29:30 UTC) #8
Sergey Ulanov
On 2012/05/15 00:29:30, simonmorris wrote: > ping Can you please address my concern about multiple ...
8 years, 7 months ago (2012-05-15 00:40:59 UTC) #9
simonmorris
On 2012/05/15 00:40:59, sergeyu wrote: > On 2012/05/15 00:29:30, simonmorris wrote: > > ping > ...
8 years, 7 months ago (2012-05-15 00:49:55 UTC) #10
alexeypa (please no reviews)
http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): http://codereview.chromium.org/10381115/diff/1/remoting/host/clipboard_win.cc#newcode174 remoting/host/clipboard_win.cc:174: LOG(WARNING) << "AddClipboardFormatListener() couldn't be loaded."; On 2012/05/12 00:16:56, ...
8 years, 7 months ago (2012-05-15 15:34:59 UTC) #11
Wez
http://codereview.chromium.org/10381115/diff/1/remoting/host/chromoting_host_context.cc File remoting/host/chromoting_host_context.cc (right): http://codereview.chromium.org/10381115/diff/1/remoting/host/chromoting_host_context.cc#newcode34 remoting/host/chromoting_host_context.cc:34: base::Thread::Options(MessageLoop::TYPE_UI, 0)) && On 2012/05/11 22:12:58, simonmorris wrote: > ...
8 years, 7 months ago (2012-05-15 18:40:02 UTC) #12
Wez
http://codereview.chromium.org/10381115/diff/5002/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): http://codereview.chromium.org/10381115/diff/5002/remoting/host/clipboard_win.cc#newcode136 remoting/host/clipboard_win.cc:136: HMODULE user32_module = ::GetModuleHandle(L"user32.dll"); Consider using base::LoadNativeLibrary/GetFunctionPointerFromNativeLibrary? http://codereview.chromium.org/10381115/diff/5002/remoting/host/clipboard_win.cc#newcode146 remoting/host/clipboard_win.cc:146: ...
8 years, 7 months ago (2012-05-15 18:50:07 UTC) #13
simonmorris
PTAL ClipboardWin now runs on the UI thread. http://codereview.chromium.org/10381115/diff/5002/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): http://codereview.chromium.org/10381115/diff/5002/remoting/host/clipboard_win.cc#newcode136 remoting/host/clipboard_win.cc:136: HMODULE ...
8 years, 7 months ago (2012-05-15 21:47:47 UTC) #14
alexeypa (please no reviews)
http://codereview.chromium.org/10381115/diff/5002/remoting/host/clipboard_win.cc File remoting/host/clipboard_win.cc (right): http://codereview.chromium.org/10381115/diff/5002/remoting/host/clipboard_win.cc#newcode136 remoting/host/clipboard_win.cc:136: HMODULE user32_module = ::GetModuleHandle(L"user32.dll"); On 2012/05/15 21:47:48, simonmorris wrote: ...
8 years, 7 months ago (2012-05-15 23:12:29 UTC) #15
Wez
http://codereview.chromium.org/10381115/diff/4003/remoting/host/clipboard.h File remoting/host/clipboard.h (right): http://codereview.chromium.org/10381115/diff/4003/remoting/host/clipboard.h#newcode23 remoting/host/clipboard.h:23: // This method must be called on the UI ...
8 years, 7 months ago (2012-05-15 23:46:18 UTC) #16
simonmorris
http://codereview.chromium.org/10381115/diff/4003/remoting/host/clipboard.h File remoting/host/clipboard.h (right): http://codereview.chromium.org/10381115/diff/4003/remoting/host/clipboard.h#newcode23 remoting/host/clipboard.h:23: // This method must be called on the UI ...
8 years, 7 months ago (2012-05-16 00:41:33 UTC) #17
Wez
lgtm
8 years, 7 months ago (2012-05-16 00:55:50 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10381115/7012
8 years, 7 months ago (2012-05-16 16:13:47 UTC) #19
commit-bot: I haz the power
8 years, 7 months ago (2012-05-16 18:03:38 UTC) #20
Change committed as 137455

Powered by Google App Engine
This is Rietveld 408576698