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

Issue 10918224: Cross-platform plumbing for resize-to-client (Closed)

Created:
8 years, 3 months ago by Jamie
Modified:
8 years, 2 months ago
Reviewers:
Sergey Ulanov, Lambros, Wez
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, pam+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Cross-platform plumbing for resize-to-client and Linux implementation. BUG=145049 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158718

Patch Set 1 #

Total comments: 2

Patch Set 2 : Cleaned up SkISize zero check. Fixed XFlush bug. #

Total comments: 24

Patch Set 3 : Fixed Clang errors. #

Total comments: 13

Patch Set 4 : Reviewer comments. #

Total comments: 24

Patch Set 5 : Fixed comment. #

Patch Set 6 : Fixed comment. #

Patch Set 7 : Reviewer comments and removed Linux impl (will re-add in follow-up). #

Patch Set 8 : Added missing files. #

Patch Set 9 : Missed reviewer comments and trybot fixes. #

Total comments: 57

Patch Set 10 : Reviewer comments. #

Total comments: 7

Patch Set 11 : Reviewer comments, plus disable resize-to-client if overridden by user. #

Total comments: 2

Patch Set 12 : Removed anonymous namespace. #

Patch Set 13 : Actually use RestoreSize API. #

Total comments: 16

Patch Set 14 : Fixed non-registration bug and addressed reviewer comments. #

Patch Set 15 : Fixed typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+630 lines, -1 line) Patch
M remoting/host/chromoting_host.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M remoting/host/client_session.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
A remoting/host/desktop_resizer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +52 lines, -0 lines 0 comments Download
A remoting/host/desktop_resizer_linux.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +45 lines, -0 lines 0 comments Download
A remoting/host/desktop_resizer_mac.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +45 lines, -0 lines 0 comments Download
A remoting/host/desktop_resizer_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +45 lines, -0 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/host_status_observer.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +9 lines, -0 lines 0 comments Download
A remoting/host/resizing_host_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +48 lines, -0 lines 0 comments Download
A remoting/host/resizing_host_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +159 lines, -0 lines 0 comments Download
A remoting/host/resizing_host_observer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +194 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Jamie
Wez, please check the plumbing. Lambros, please check the Linux implementation. Note that there are ...
8 years, 3 months ago (2012-09-13 20:32:04 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/10918224/diff/13001/remoting/tools/me2me_virtual_host.py File remoting/tools/me2me_virtual_host.py (right): https://codereview.chromium.org/10918224/diff/13001/remoting/tools/me2me_virtual_host.py#newcode259 remoting/tools/me2me_virtual_host.py:259: xvfb = "/usr/bin/Xvfb-randr" Not directly related to this CL: ...
8 years, 3 months ago (2012-09-13 20:52:43 UTC) #2
rmsousa
A few driveby comments https://codereview.chromium.org/10918224/diff/13001/remoting/host/desktop_resizer_linux.cc File remoting/host/desktop_resizer_linux.cc (right): https://codereview.chromium.org/10918224/diff/13001/remoting/host/desktop_resizer_linux.cc#newcode27 remoting/host/desktop_resizer_linux.cc:27: // client size"). It doesn't ...
8 years, 3 months ago (2012-09-13 21:59:05 UTC) #3
Lambros
http://codereview.chromium.org/10918224/diff/2001/remoting/host/desktop_resizer_linux.cc File remoting/host/desktop_resizer_linux.cc (right): http://codereview.chromium.org/10918224/diff/2001/remoting/host/desktop_resizer_linux.cc#newcode7 remoting/host/desktop_resizer_linux.cc:7: #include <X11/Xlib.h> nit: #include <string.h> for strcmp http://codereview.chromium.org/10918224/diff/2001/remoting/host/desktop_resizer_linux.cc#newcode8 remoting/host/desktop_resizer_linux.cc:8: ...
8 years, 3 months ago (2012-09-13 22:00:35 UTC) #4
Jamie
ptal https://codereview.chromium.org/10918224/diff/2001/remoting/host/desktop_resizer_linux.cc File remoting/host/desktop_resizer_linux.cc (right): https://codereview.chromium.org/10918224/diff/2001/remoting/host/desktop_resizer_linux.cc#newcode7 remoting/host/desktop_resizer_linux.cc:7: #include <X11/Xlib.h> On 2012/09/13 22:00:35, Lambros wrote: > ...
8 years, 3 months ago (2012-09-14 21:07:33 UTC) #5
rmsousa
https://codereview.chromium.org/10918224/diff/13001/remoting/host/desktop_resizer_linux.cc File remoting/host/desktop_resizer_linux.cc (right): https://codereview.chromium.org/10918224/diff/13001/remoting/host/desktop_resizer_linux.cc#newcode232 remoting/host/desktop_resizer_linux.cc:232: XRRModeInfo mode; On 2012/09/14 21:07:34, Jamie wrote: > On ...
8 years, 3 months ago (2012-09-14 21:37:05 UTC) #6
Jamie
On 2012/09/14 21:37:05, rmsousa wrote: > https://codereview.chromium.org/10918224/diff/13001/remoting/host/desktop_resizer_linux.cc > File remoting/host/desktop_resizer_linux.cc (right): > > https://codereview.chromium.org/10918224/diff/13001/remoting/host/desktop_resizer_linux.cc#newcode232 > ...
8 years, 3 months ago (2012-09-14 22:02:42 UTC) #7
Lambros
Linux implementation lgtm http://codereview.chromium.org/10918224/diff/6005/remoting/host/desktop_resizer_linux.cc File remoting/host/desktop_resizer_linux.cc (right): http://codereview.chromium.org/10918224/diff/6005/remoting/host/desktop_resizer_linux.cc#newcode152 remoting/host/desktop_resizer_linux.cc:152: // primary output is disabled instead, ...
8 years, 3 months ago (2012-09-14 23:21:22 UTC) #8
Jamie
fyi http://codereview.chromium.org/10918224/diff/6005/remoting/host/desktop_resizer_linux.cc File remoting/host/desktop_resizer_linux.cc (right): http://codereview.chromium.org/10918224/diff/6005/remoting/host/desktop_resizer_linux.cc#newcode152 remoting/host/desktop_resizer_linux.cc:152: // primary output is disabled instead, which is ...
8 years, 3 months ago (2012-09-15 00:28:26 UTC) #9
Wez
Some initial comments, but mostly looks good; will re-review when the changes we discussed are ...
8 years, 3 months ago (2012-09-15 22:39:07 UTC) #10
Jamie
PTAL. I've removed the Linux implementation and will follow-up with that once this has landed. ...
8 years, 3 months ago (2012-09-19 22:35:06 UTC) #11
Wez
https://codereview.chromium.org/10918224/diff/24002/remoting/host/desktop_resizer.h File remoting/host/desktop_resizer.h (right): https://codereview.chromium.org/10918224/diff/24002/remoting/host/desktop_resizer.h#newcode23 remoting/host/desktop_resizer.h:23: // disconnection. This interface has no concept of disconnection; ...
8 years, 3 months ago (2012-09-20 21:35:14 UTC) #12
Jamie
https://codereview.chromium.org/10918224/diff/24002/remoting/host/desktop_resizer.h File remoting/host/desktop_resizer.h (right): https://codereview.chromium.org/10918224/diff/24002/remoting/host/desktop_resizer.h#newcode23 remoting/host/desktop_resizer.h:23: // disconnection. On 2012/09/20 21:35:15, Wez wrote: > This ...
8 years, 3 months ago (2012-09-20 22:59:59 UTC) #13
Wez
https://codereview.chromium.org/10918224/diff/24002/remoting/host/desktop_resizer.h File remoting/host/desktop_resizer.h (right): https://codereview.chromium.org/10918224/diff/24002/remoting/host/desktop_resizer.h#newcode23 remoting/host/desktop_resizer.h:23: // disconnection. On 2012/09/20 22:59:59, Jamie wrote: > On ...
8 years, 3 months ago (2012-09-21 00:59:31 UTC) #14
tfarina
http://codereview.chromium.org/10918224/diff/39001/remoting/host/resizing_host_observer.h File remoting/host/resizing_host_observer.h (right): http://codereview.chromium.org/10918224/diff/39001/remoting/host/resizing_host_observer.h#newcode23 remoting/host/resizing_host_observer.h:23: class ResizingHostObserver : public remoting::HostStatusObserver { nit: remoting:: here ...
8 years, 3 months ago (2012-09-23 02:37:41 UTC) #15
Jamie
ptal https://codereview.chromium.org/10918224/diff/24002/remoting/host/desktop_resizer.h File remoting/host/desktop_resizer.h (right): https://codereview.chromium.org/10918224/diff/24002/remoting/host/desktop_resizer.h#newcode23 remoting/host/desktop_resizer.h:23: // disconnection. On 2012/09/21 00:59:32, Wez wrote: > ...
8 years, 3 months ago (2012-09-24 22:49:15 UTC) #16
tfarina
https://codereview.chromium.org/10918224/diff/45001/remoting/host/desktop_resizer_linux.cc File remoting/host/desktop_resizer_linux.cc (right): https://codereview.chromium.org/10918224/diff/45001/remoting/host/desktop_resizer_linux.cc#newcode16 remoting/host/desktop_resizer_linux.cc:16: this is missing a virtual dtor.
8 years, 3 months ago (2012-09-24 22:52:07 UTC) #17
Jamie
https://codereview.chromium.org/10918224/diff/45001/remoting/host/desktop_resizer_linux.cc File remoting/host/desktop_resizer_linux.cc (right): https://codereview.chromium.org/10918224/diff/45001/remoting/host/desktop_resizer_linux.cc#newcode16 remoting/host/desktop_resizer_linux.cc:16: On 2012/09/24 22:52:07, tfarina wrote: > this is missing ...
8 years, 3 months ago (2012-09-24 23:11:20 UTC) #18
tfarina
On 2012/09/24 23:11:20, Jamie wrote: > The base class has one. Is it necessary to ...
8 years, 3 months ago (2012-09-24 23:15:25 UTC) #19
Jamie
https://codereview.chromium.org/10918224/diff/24002/remoting/host/resizing_host_observer_unittest.cc File remoting/host/resizing_host_observer_unittest.cc (right): https://codereview.chromium.org/10918224/diff/24002/remoting/host/resizing_host_observer_unittest.cc#newcode15 remoting/host/resizing_host_observer_unittest.cc:15: std::ostream& operator<<(std::ostream& os, const SkISize& size) { On 2012/09/20 ...
8 years, 2 months ago (2012-09-25 19:50:24 UTC) #20
Wez
LGTM w/ nits. https://codereview.chromium.org/10918224/diff/46017/remoting/host/desktop_resizer.h File remoting/host/desktop_resizer.h (right): https://codereview.chromium.org/10918224/diff/46017/remoting/host/desktop_resizer.h#newcode22 remoting/host/desktop_resizer.h:22: // Return the current size of ...
8 years, 2 months ago (2012-09-25 20:48:29 UTC) #21
Jamie
fyi https://codereview.chromium.org/10918224/diff/46017/remoting/host/desktop_resizer.h File remoting/host/desktop_resizer.h (right): https://codereview.chromium.org/10918224/diff/46017/remoting/host/desktop_resizer.h#newcode22 remoting/host/desktop_resizer.h:22: // Return the current size of the desktop, ...
8 years, 2 months ago (2012-09-25 23:20:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/10918224/57020
8 years, 2 months ago (2012-09-26 00:02:09 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/10918224/57020
8 years, 2 months ago (2012-09-26 00:11:03 UTC) #24
commit-bot: I haz the power
8 years, 2 months ago (2012-09-26 02:02:21 UTC) #25
Change committed as 158718

Powered by Google App Engine
This is Rietveld 408576698