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

Issue 2861047: Refactor the client code. Move all x11-related code into X11View and create... (Closed)

Created:
10 years, 5 months ago by garykac
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Sergey Ulanov, dmac, awong, garykac
Visibility:
Public.

Description

Refactor the client code for the X11 version. Make ChromotingViews responsible for initializing themselves. Move all x11-related code into X11View. Create InputCapturer class manage client input capture. BUG=none TEST=ran Win host + X11 client Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52973

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 16

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 19

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+711 lines, -638 lines) Patch
M remoting/client/chromoting_client.h View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +26 lines, -16 lines 0 comments Download
M remoting/client/chromoting_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +99 lines, -52 lines 1 comment Download
M remoting/client/chromoting_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +10 lines, -5 lines 0 comments Download
A remoting/client/client_config.h View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A remoting/client/client_context.h View 1 2 3 4 5 6 7 8 1 chunk +48 lines, -0 lines 0 comments Download
A remoting/client/client_context.cc View 1 2 3 4 5 6 7 8 1 chunk +52 lines, -0 lines 0 comments Download
M remoting/client/client_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +8 lines, -4 lines 0 comments Download
M remoting/client/client_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +59 lines, -34 lines 0 comments Download
A remoting/client/client_util_unittest.cc View 7 8 9 10 11 1 chunk +36 lines, -0 lines 0 comments Download
M remoting/client/host_connection.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -3 lines 0 comments Download
A remoting/client/input_handler.h View 14 1 chunk +28 lines, -0 lines 0 comments Download
M remoting/client/jingle_host_connection.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +6 lines, -8 lines 0 comments Download
M remoting/client/jingle_host_connection.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +11 lines, -14 lines 0 comments Download
M remoting/client/plugin/chromoting_plugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +7 lines, -7 lines 0 comments Download
M remoting/client/plugin/chromoting_plugin.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +22 lines, -65 lines 0 comments Download
M remoting/client/plugin/chromoting_plugin_unittest.cc View 7 8 9 10 11 12 13 14 15 16 1 chunk +0 lines, -13 lines 0 comments Download
A remoting/client/plugin/pepper_input_handler.h View 14 1 chunk +27 lines, -0 lines 0 comments Download
A remoting/client/plugin/pepper_input_handler.cc View 14 1 chunk +19 lines, -0 lines 0 comments Download
M remoting/client/plugin/pepper_view.h View 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/plugin/pepper_view.cc View 7 8 9 10 11 12 13 14 15 16 2 chunks +9 lines, -2 lines 0 comments Download
M remoting/client/simple_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +0 lines, -148 lines 0 comments Download
M remoting/client/x11_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +23 lines, -236 lines 0 comments Download
A remoting/client/x11_input_handler.h View 14 15 16 17 1 chunk +38 lines, -0 lines 0 comments Download
A remoting/client/x11_input_handler.cc View 14 15 16 17 1 chunk +62 lines, -0 lines 0 comments Download
M remoting/client/x11_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +6 lines, -1 line 0 comments Download
M remoting/client/x11_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +58 lines, -9 lines 0 comments Download
MM remoting/host/chromoting_host_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +6 lines, -6 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +9 lines, -14 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
garykac
10 years, 5 months ago (2010-07-07 20:37:46 UTC) #1
awong
I'm slightly concerned how this fits in with the pepper API. Can you sketch out ...
10 years, 5 months ago (2010-07-08 01:46:56 UTC) #2
Alpha Left Google
http://codereview.chromium.org/2861047/diff/29003/1026 File remoting/client/chromoting_client.h (right): http://codereview.chromium.org/2861047/diff/29003/1026#newcode30 remoting/client/chromoting_client.h:30: base::WaitableEvent* client_done); Don't think we need client_done any more ...
10 years, 5 months ago (2010-07-08 21:15:32 UTC) #3
garykac
Merged with Albert's recent checkin. The Win-host/X11-client code was all working fine last week, but ...
10 years, 5 months ago (2010-07-16 22:44:23 UTC) #4
garykac
OK. Try again...
10 years, 5 months ago (2010-07-16 22:57:50 UTC) #5
awong
Looks okay as a first pass. There's some cleanup we need to do to the ...
10 years, 5 months ago (2010-07-17 01:27:19 UTC) #6
garykac
http://codereview.chromium.org/2861047/diff/55034/110004 File remoting/client/chromoting_client.cc (right): http://codereview.chromium.org/2861047/diff/55034/110004#newcode39 remoting/client/chromoting_client.cc:39: context_->Start(); On 2010/07/17 01:27:19, awong wrote: > Feels to ...
10 years, 5 months ago (2010-07-17 02:37:30 UTC) #7
awong
10 years, 5 months ago (2010-07-19 21:50:10 UTC) #8
lgtm

http://codereview.chromium.org/2861047/diff/47004/140002
File remoting/client/chromoting_client.cc (right):

http://codereview.chromium.org/2861047/diff/47004/140002#newcode51
remoting/client/chromoting_client.cc:51: 
remove extra newline.

Powered by Google App Engine
This is Rietveld 408576698