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

Issue 10384127: Chromoting: the Me2me host now presents a notification on the console allowing a user to disconnect… (Closed)

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

Description

Chromoting: the Me2me host (on Mac and Windows) now presents a notification on the console allowing a user to disconnect an incoming session. BUG=127321, 127322 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136698

Patch Set 1 #

Total comments: 10

Patch Set 2 : CR feedback. #

Patch Set 3 : Fixing stack overflow on Mac. #

Patch Set 4 : Adding the Disconnect window on Mac too. #

Patch Set 5 : Rebased. Unix-line endings. The license text. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+597 lines, -478 lines) Patch
M remoting/host/chromoting_host_unittest.cc View 6 chunks +9 lines, -8 lines 0 comments Download
M remoting/host/continue_window_win.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M remoting/host/disconnect_window.h View 2 chunks +9 lines, -1 line 0 comments Download
M remoting/host/disconnect_window_linux.cc View 5 chunks +9 lines, -8 lines 0 comments Download
M remoting/host/disconnect_window_mac.h View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M remoting/host/disconnect_window_mac.mm View 1 2 5 chunks +11 lines, -15 lines 0 comments Download
M remoting/host/disconnect_window_win.cc View 9 chunks +16 lines, -17 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 chunk +2 lines, -1 line 0 comments Download
A + remoting/host/host_ui.rc View 1 2 3 4 1 chunk +102 lines, -102 lines 0 comments Download
A + remoting/host/host_ui_resource.h View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
A remoting/host/host_user_interface.h View 1 chunk +105 lines, -0 lines 0 comments Download
A remoting/host/host_user_interface.cc View 1 chunk +150 lines, -0 lines 0 comments Download
M remoting/host/it2me_host_user_interface.h View 1 chunk +21 lines, -63 lines 0 comments Download
M remoting/host/it2me_host_user_interface.cc View 3 chunks +72 lines, -117 lines 0 comments Download
D remoting/host/plugin/host_plugin.rc View 1 chunk +0 lines, -102 lines 0 comments Download
D remoting/host/plugin/host_plugin_resource.h View 1 chunk +0 lines, -23 lines 0 comments Download
M remoting/host/plugin/host_script_object.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 9 chunks +43 lines, -4 lines 0 comments Download
M remoting/host/simple_host_process.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 9 chunks +24 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
alexeypa (please no reviews)
Please take a look. dcaiafa@ -> Mac specifics jamiewalch@ & simonmorris@ -> the rest.
8 years, 7 months ago (2012-05-11 19:07:24 UTC) #1
Jamie
lgtm, but this was tricky to review, as it felt like a mix of refactoring ...
8 years, 7 months ago (2012-05-11 19:51:39 UTC) #2
alexeypa (please no reviews)
Lambros, could you please try if this change breaks Mac? http://codereview.chromium.org/download/issue10384127_1.diff is based on r136616.
8 years, 7 months ago (2012-05-11 19:52:59 UTC) #3
simonmorris
My useful comments would be a subset of jamiewalch@'s, so lgtm.
8 years, 7 months ago (2012-05-11 19:58:40 UTC) #4
alexeypa (please no reviews)
On 2012/05/11 19:51:39, Jamie wrote: > lgtm, but this was tricky to review, as it ...
8 years, 7 months ago (2012-05-11 20:01:09 UTC) #5
alexeypa (please no reviews)
FYI. https://chromiumcodereview.appspot.com/10384127/diff/1/remoting/host/continue_window_win.cc File remoting/host/continue_window_win.cc (right): https://chromiumcodereview.appspot.com/10384127/diff/1/remoting/host/continue_window_win.cc#newcode128 remoting/host/continue_window_win.cc:128: ::DestroyWindow(hwnd_); On 2012/05/11 19:51:39, Jamie wrote: > What's ...
8 years, 7 months ago (2012-05-11 20:01:21 UTC) #6
dcaiafa
lgtm, with comments. https://chromiumcodereview.appspot.com/10384127/diff/1/remoting/host/disconnect_window_mac.mm File remoting/host/disconnect_window_mac.mm (right): https://chromiumcodereview.appspot.com/10384127/diff/1/remoting/host/disconnect_window_mac.mm#newcode68 remoting/host/disconnect_window_mac.mm:68: @property (nonatomic, assign) DisconnectCallback disconnect_callback; This ...
8 years, 7 months ago (2012-05-11 20:10:38 UTC) #7
alexeypa (please no reviews)
8 years, 7 months ago (2012-05-11 20:19:29 UTC) #8
FYI.

https://chromiumcodereview.appspot.com/10384127/diff/1/remoting/host/disconne...
File remoting/host/disconnect_window_mac.mm (right):

https://chromiumcodereview.appspot.com/10384127/diff/1/remoting/host/disconne...
remoting/host/disconnect_window_mac.mm:68: @property (nonatomic, assign)
DisconnectCallback disconnect_callback;
On 2012/05/11 20:10:38, dcaiafa wrote:
> This doesn't need to be a property. It's private and doesn't require special
> actions on access. It looks like this is true for host and username as well,
but
> this can be fixed in a different CL. 

Removed.

https://chromiumcodereview.appspot.com/10384127/diff/1/remoting/host/disconne...
remoting/host/disconnect_window_mac.mm:78: @synthesize disconnect_callback =
disconnect_callback_;
On 2012/05/11 20:10:38, dcaiafa wrote:
> Again, not needed.

Done.

https://chromiumcodereview.appspot.com/10384127/diff/1/remoting/host/disconne...
remoting/host/disconnect_window_mac.mm:99: if
(!self.disconnect_callback.is_null()) {
On 2012/05/11 20:10:38, dcaiafa wrote:
> To access the field directly, just drop the 'self.'. E.g.:
> if (disconnect_callback_.is_null()) ...

Done.

Powered by Google App Engine
This is Rietveld 408576698