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

Issue 13932020: Set the initial resolution of an RDP session to the client screen resolution if it is available. (Closed)

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

Description

Set the initial resolution of an RDP session to the client screen resolution if it is available. Changes in this CL: - The version of the control channel is increased to 3. This allows the host and client to tell if the peer supports capabilities negotiation or not. - The client and host negotiate supported capabilities by sending each other a list of the supported capabilities. Capabilities supported by both client and host are assumed to be enabled. - The client plugin and webapp negotiate the list of capabilities supported by the client. The webapp has the final word. - The DesktopEnvironment interface was extended to provide the list of all supported capabilities and receive the results of negotiation with the client. - Added the 'sendInitialResolution' capability. When it is enabled the client sends its screen resolution to the host once the connection has been established. - DesktopSessionProxy now waits for the client screen resolution when the 'sendInitialResolution' capability is enabled. BUG=230893 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195192

Patch Set 1 #

Patch Set 2 : Fix Mac and remoting_unittests. #

Total comments: 6

Patch Set 3 : CR feedback. #

Total comments: 8

Patch Set 4 : CR feedback #2 #

Total comments: 32

Patch Set 5 : CR feedback #3 #

Patch Set 6 : fixed remoting_unittests #

Total comments: 16

Patch Set 7 : CR feedback #4 #

Patch Set 8 : rebased #

Patch Set 9 : Fix Clang #

Unified diffs Side-by-side diffs Delta from patch set Stats (+667 lines, -67 lines) Patch
A remoting/base/capabilities.h View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A remoting/base/capabilities.cc View 1 2 3 4 5 6 1 chunk +44 lines, -0 lines 0 comments Download
A remoting/base/capabilities_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +106 lines, -0 lines 0 comments Download
M remoting/client/chromoting_client.h View 1 2 3 4 5 6 3 chunks +15 lines, -5 lines 0 comments Download
M remoting/client/chromoting_client.cc View 1 2 3 4 5 6 7 5 chunks +42 lines, -0 lines 0 comments Download
M remoting/client/client_config.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/client/client_user_interface.h View 2 chunks +7 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.h View 1 2 3 4 3 chunks +10 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 3 4 5 6 7 4 chunks +22 lines, -1 line 0 comments Download
M remoting/host/basic_desktop_environment.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M remoting/host/basic_desktop_environment.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 chunks +10 lines, -5 lines 0 comments Download
M remoting/host/client_session.h View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download
M remoting/host/client_session.cc View 1 2 3 4 5 7 chunks +64 lines, -1 line 0 comments Download
M remoting/host/client_session_unittest.cc View 1 2 chunks +6 lines, -1 line 0 comments Download
M remoting/host/desktop_environment.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M remoting/host/desktop_process_unittest.cc View 1 2 chunks +10 lines, -5 lines 0 comments Download
M remoting/host/desktop_session_proxy.h View 1 2 3 4 4 chunks +11 lines, -7 lines 0 comments Download
M remoting/host/desktop_session_proxy.cc View 1 2 3 4 5 chunks +53 lines, -19 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/ipc_desktop_environment.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/ipc_desktop_environment.cc View 1 2 3 4 2 chunks +11 lines, -4 lines 0 comments Download
M remoting/host/ipc_desktop_environment_unittest.cc View 1 2 3 4 3 chunks +12 lines, -5 lines 0 comments Download
M remoting/proto/control.proto View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/proto/internal.proto View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/client_control_dispatcher.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/client_control_dispatcher.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M remoting/protocol/client_stub.h View 1 chunk +4 lines, -2 lines 0 comments Download
M remoting/protocol/host_control_dispatcher.h View 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/protocol/host_control_dispatcher.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M remoting/protocol/host_stub.h View 2 chunks +4 lines, -0 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 2 chunks +6 lines, -4 lines 0 comments Download
M remoting/protocol/session_config.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/protocol/session_config.cc View 1 2 3 4 5 6 3 chunks +14 lines, -3 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download
M remoting/webapp/client_plugin.js View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/webapp/client_plugin_async.js View 1 2 3 4 5 6 6 chunks +61 lines, -2 lines 0 comments Download
M remoting/webapp/client_session.js View 1 2 3 3 chunks +58 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
alexeypa (please no reviews)
PTAL. Jamie: *.js Sergey: the rest.
7 years, 8 months ago (2013-04-12 17:58:38 UTC) #1
Wez
On 2013/04/12 17:58:38, alexeypa wrote: > PTAL. > > Jamie: *.js > Sergey: the rest. ...
7 years, 8 months ago (2013-04-15 19:33:14 UTC) #2
alexeypa (please no reviews)
> Can we tick & "disable" the resize-to-client menu item, or hide it, so it's ...
7 years, 8 months ago (2013-04-15 19:56:29 UTC) #3
Jamie
As discussed, I don't think having an 'always resize to client' capability is the way ...
7 years, 8 months ago (2013-04-15 22:14:11 UTC) #4
alexeypa (please no reviews)
> As discussed, I don't think having an 'always resize to client' > capability is ...
7 years, 8 months ago (2013-04-15 23:18:53 UTC) #5
alexeypa (please no reviews)
... jscompiler passes as well.
7 years, 8 months ago (2013-04-15 23:19:53 UTC) #6
Jamie
I don't see any code to implement the sendInitialSize feature. Am I missing something? Also, ...
7 years, 8 months ago (2013-04-15 23:40:23 UTC) #7
alexeypa (please no reviews)
> I don't see any code to implement the sendInitialSize feature. Am I missing something? ...
7 years, 8 months ago (2013-04-15 23:56:31 UTC) #8
Jamie
JS LGTM
7 years, 8 months ago (2013-04-16 00:15:25 UTC) #9
wez1
On 15 Apr 2013 15:14, <jamiewalch@chromium.org> wrote: > > As discussed, I don't think having ...
7 years, 8 months ago (2013-04-16 05:19:41 UTC) #10
Sergey Ulanov
https://codereview.chromium.org/13932020/diff/14040/remoting/base/capabilities.cc File remoting/base/capabilities.cc (right): https://codereview.chromium.org/13932020/diff/14040/remoting/base/capabilities.cc#newcode18 remoting/base/capabilities.cc:18: bool isValidCapability(const std::string& capability) { CamelCase https://codereview.chromium.org/13932020/diff/14040/remoting/base/capabilities.cc#newcode66 remoting/base/capabilities.cc:66: bool ...
7 years, 8 months ago (2013-04-16 08:38:53 UTC) #11
alexeypa (please no reviews)
On 2013/04/16 05:19:41, wez1 wrote: > On 15 Apr 2013 15:14, <mailto:jamiewalch@chromium.org> wrote: > > ...
7 years, 8 months ago (2013-04-16 22:06:11 UTC) #12
alexeypa (please no reviews)
Sergey, ping.
7 years, 8 months ago (2013-04-17 23:23:28 UTC) #13
Sergey Ulanov
lgtm, but please see my comments https://chromiumcodereview.appspot.com/13932020/diff/14040/remoting/host/client_session.cc File remoting/host/client_session.cc (right): https://chromiumcodereview.appspot.com/13932020/diff/14040/remoting/host/client_session.cc#newcode161 remoting/host/client_session.cc:161: if (desktop_environment_) { ...
7 years, 8 months ago (2013-04-18 00:34:53 UTC) #14
alexeypa (please no reviews)
https://codereview.chromium.org/13932020/diff/14040/remoting/host/client_session.cc File remoting/host/client_session.cc (right): https://codereview.chromium.org/13932020/diff/14040/remoting/host/client_session.cc#newcode161 remoting/host/client_session.cc:161: if (desktop_environment_) { On 2013/04/18 00:34:53, sergeyu wrote: > ...
7 years, 8 months ago (2013-04-18 18:56:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/13932020/48001
7 years, 8 months ago (2013-04-18 19:00:03 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-18 19:27:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/13932020/63001
7 years, 8 months ago (2013-04-18 21:36:24 UTC) #18
commit-bot: I haz the power
Presubmit check for 13932020-63001 failed and returned exit status 1. INFO:root:Found 38 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-18 21:36:40 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/13932020/63001
7 years, 8 months ago (2013-04-18 22:12:54 UTC) #20
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
7 years, 8 months ago (2013-04-19 09:29:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/13932020/63001
7 years, 8 months ago (2013-04-19 13:54:56 UTC) #22
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 14:55:42 UTC) #23
Message was sent while issue was closed.
Change committed as 195192

Powered by Google App Engine
This is Rietveld 408576698