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

Issue 1016623002: [Webapp Refactor] Reparent the ConnectedView into the delegate. (Closed)

Created:
5 years, 9 months ago by kelvinp
Modified:
5 years, 9 months ago
Reviewers:
Jamie
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Webapp Refactor] Reparent the ConnectedView into the delegate. In the existing implementation, the session connector creates the DesktopConnectedView for both app remoting and desktop remoting and assigns it to a global. This CL removes the global, |remoting.desktopConnectedView|, and makes it owned by the corresponding application delegate. This will enable us to create an app remoting specific delegate in the upcoming CL. BUG=465878 Committed: https://crrev.com/d267b3623a7737bfbed88dde8277d7ff6167bb80 Cr-Commit-Position: refs/heads/master@{#321229}

Patch Set 1 : Baseline #

Total comments: 2

Patch Set 2 : Please diff this patch against patch set 1 #

Total comments: 10

Patch Set 3 : Reviewer's feedback #

Patch Set 4 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -122 lines) Patch
M remoting/webapp/app_remoting/js/app_remoting.js View 1 2 3 3 chunks +14 lines, -2 lines 0 comments Download
M remoting/webapp/browser_test/browser_test.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/browser_test/bump_scroll_browser_test.js View 1 6 chunks +13 lines, -7 lines 0 comments Download
M remoting/webapp/crd/js/client_session.js View 1 4 chunks +1 line, -22 lines 0 comments Download
M remoting/webapp/crd/js/connected_view.js View 1 2 chunks +41 lines, -0 lines 0 comments Download
M remoting/webapp/crd/js/desktop_connected_view.js View 1 8 chunks +22 lines, -57 lines 0 comments Download
M remoting/webapp/crd/js/desktop_remoting.js View 1 2 3 7 chunks +30 lines, -8 lines 0 comments Download
M remoting/webapp/crd/js/desktop_viewport.js View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/webapp/crd/js/remoting.js View 1 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/session_connector_impl.js View 1 2 3 5 chunks +0 lines, -23 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
kelvinp
PTAL https://codereview.chromium.org/1016623002/diff/40001/remoting/webapp/crd/js/client_session.js File remoting/webapp/crd/js/client_session.js (left): https://codereview.chromium.org/1016623002/diff/40001/remoting/webapp/crd/js/client_session.js#oldcode453 remoting/webapp/crd/js/client_session.js:453: remoting.desktopConnectedView.onConnectionReady(ready); Implemented in DesktopConnectedView as an event instead. ...
5 years, 9 months ago (2015-03-17 01:06:17 UTC) #3
Jamie
https://codereview.chromium.org/1016623002/diff/20001/remoting/webapp/crd/js/desktop_remoting.js File remoting/webapp/crd/js/desktop_remoting.js (right): https://codereview.chromium.org/1016623002/diff/20001/remoting/webapp/crd/js/desktop_remoting.js#newcode307 remoting/webapp/crd/js/desktop_remoting.js:307: remoting.accessCode = ''; Did you intend to remove this? ...
5 years, 9 months ago (2015-03-18 01:03:56 UTC) #4
kelvinp
PTAL https://codereview.chromium.org/1016623002/diff/20001/remoting/webapp/crd/js/desktop_remoting.js File remoting/webapp/crd/js/desktop_remoting.js (right): https://codereview.chromium.org/1016623002/diff/20001/remoting/webapp/crd/js/desktop_remoting.js#newcode307 remoting/webapp/crd/js/desktop_remoting.js:307: remoting.accessCode = ''; On 2015/03/18 01:03:56, Jamie wrote: ...
5 years, 9 months ago (2015-03-18 18:44:22 UTC) #5
kelvinp
Rebased onto master. PTAL
5 years, 9 months ago (2015-03-18 19:13:56 UTC) #6
Jamie
lgtm
5 years, 9 months ago (2015-03-18 20:01:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016623002/80001
5 years, 9 months ago (2015-03-18 20:05:40 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 9 months ago (2015-03-18 23:08:23 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-18 23:09:15 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d267b3623a7737bfbed88dde8277d7ff6167bb80
Cr-Commit-Position: refs/heads/master@{#321229}

Powered by Google App Engine
This is Rietveld 408576698