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

Issue 12678008: Reworked the plumbing required to pass the client resolution to the desktop resizer. (Closed)

Created:
7 years, 9 months ago by alexeypa (please no reviews)
Modified:
7 years, 9 months ago
Reviewers:
palmer, Wez, 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

Reworked the plumbing required to pass the client resolution to the desktop resizer. This is mostly a renaming CL: - DesktopSessionParams -> ScreenResolution - OnClientResolutionChanged() -> SetScreenResolution(). Also added validation of ScreenResolution before passing it to session controllers. BUG=196316 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188661

Patch Set 1 #

Total comments: 14

Patch Set 2 : CR feedback. #

Total comments: 6

Patch Set 3 : CR feedback. #

Total comments: 12

Patch Set 4 : CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -149 lines) Patch
M remoting/host/chromoting_messages.h View 3 chunks +6 lines, -6 lines 0 comments Download
M remoting/host/client_session.cc View 1 3 chunks +20 lines, -14 lines 0 comments Download
M remoting/host/daemon_process.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/daemon_process.cc View 1 4 chunks +14 lines, -23 lines 0 comments Download
M remoting/host/daemon_process_unittest.cc View 6 chunks +11 lines, -11 lines 0 comments Download
M remoting/host/daemon_process_win.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M remoting/host/desktop_session.h View 1 chunk +0 lines, -16 lines 0 comments Download
M remoting/host/desktop_session.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M remoting/host/desktop_session_connector.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/desktop_session_proxy.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M remoting/host/desktop_session_proxy.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M remoting/host/desktop_session_win.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/desktop_session_win.cc View 1 7 chunks +15 lines, -32 lines 0 comments Download
M remoting/host/host_mock_objects.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/ipc_desktop_environment.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/ipc_desktop_environment.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/ipc_desktop_environment_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/ipc_session_controller.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/ipc_session_controller.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M remoting/host/resizing_host_observer.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/resizing_host_observer.cc View 1 2 2 chunks +7 lines, -8 lines 0 comments Download
M remoting/host/resizing_host_observer_unittest.cc View 1 3 chunks +5 lines, -1 line 0 comments Download
A remoting/host/screen_resolution.h View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
A remoting/host/screen_resolution.cc View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
A remoting/host/screen_resolution_unittest.cc View 1 2 1 chunk +80 lines, -0 lines 0 comments Download
M remoting/host/session_controller.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M remoting/remoting.gyp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
alexeypa (please no reviews)
Jamie, PTAL. Chris, please take a look at remoting/host/chromoting_messages.h. It is basically a rename CL, ...
7 years, 9 months ago (2013-03-15 16:27:31 UTC) #1
Jamie
lgtm with nits. If you make any non-trivial changes in response to my comments, I'll ...
7 years, 9 months ago (2013-03-15 18:33:24 UTC) #2
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/12678008/diff/1/remoting/host/daemon_process.cc File remoting/host/daemon_process.cc (right): https://chromiumcodereview.appspot.com/12678008/diff/1/remoting/host/daemon_process.cc#newcode193 remoting/host/daemon_process.cc:193: LOG(ERROR) << "Invalid DPI of the remote screen specified: ...
7 years, 9 months ago (2013-03-15 20:30:41 UTC) #3
Jamie
https://chromiumcodereview.appspot.com/12678008/diff/1/remoting/host/desktop_session_proxy.h File remoting/host/desktop_session_proxy.h (right): https://chromiumcodereview.appspot.com/12678008/diff/1/remoting/host/desktop_session_proxy.h#newcode125 remoting/host/desktop_session_proxy.h:125: // API used to implement the SessionController interface. Nit: ...
7 years, 9 months ago (2013-03-15 22:06:27 UTC) #4
palmer
IPC security LGTM
7 years, 9 months ago (2013-03-15 22:20:29 UTC) #5
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/12678008/diff/1/remoting/host/desktop_session_proxy.h File remoting/host/desktop_session_proxy.h (right): https://chromiumcodereview.appspot.com/12678008/diff/1/remoting/host/desktop_session_proxy.h#newcode125 remoting/host/desktop_session_proxy.h:125: // API used to implement the SessionController interface. On ...
7 years, 9 months ago (2013-03-15 22:32:12 UTC) #6
Jamie
lgtm
7 years, 9 months ago (2013-03-15 22:33:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12678008/27001
7 years, 9 months ago (2013-03-15 22:43:22 UTC) #8
Wez
nit: CL description is missing an "of" in the final line.
7 years, 9 months ago (2013-03-16 00:44:53 UTC) #9
Wez
https://chromiumcodereview.appspot.com/12678008/diff/27001/remoting/host/screen_resolution.h File remoting/host/screen_resolution.h (right): https://chromiumcodereview.appspot.com/12678008/diff/27001/remoting/host/screen_resolution.h#newcode15 remoting/host/screen_resolution.h:15: // This structure describes the screen's dimensions and DPI. ...
7 years, 9 months ago (2013-03-16 01:03:25 UTC) #10
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/12678008/diff/27001/remoting/host/screen_resolution.h File remoting/host/screen_resolution.h (right): https://chromiumcodereview.appspot.com/12678008/diff/27001/remoting/host/screen_resolution.h#newcode15 remoting/host/screen_resolution.h:15: // This structure describes the screen's dimensions and DPI. ...
7 years, 9 months ago (2013-03-16 22:20:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12678008/60001
7 years, 9 months ago (2013-03-16 22:21:27 UTC) #12
alexeypa (please no reviews)
7 years, 9 months ago (2013-03-18 01:04:10 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 manually as r188661 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698