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

Issue 1016373003: [Chromoting] Change Application.Delegate to proper subclass of Application. (Closed)

Created:
5 years, 9 months ago by garykac
Modified:
5 years, 9 months ago
Reviewers:
Jamie
CC:
chromium-reviews, 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

[Chromoting] Change Application.Delegate to proper subclass of Application. App Delegate conversion: * Removed Application.Delegate * Convert DesktopRemoting and AppRemoting to be subclasses of Application * Add ApplicationInterface so that jscompile can verify all required overrides are provided. Access to SessionConnector was a big motivation for having the apps as a subclass: * Create the SessionConnector in the constructor rather than in the getter. * Remove some references to remoting.app.getSessionConnector Test updates: * Updated base.inherits unittests to verify calling superclass methods with arguments. * Removed desktopDelegateForTesting since we can use remoting.app for that now. BUG=465878 Committed: https://crrev.com/a22c2029f25b596648a64d0e41f354c9f6c1c0b0 Cr-Commit-Position: refs/heads/master@{#322437}

Patch Set 1 #

Patch Set 2 : Update comments; remove desktopDelegateForTesting #

Total comments: 22

Patch Set 3 : Remove calls to superclass in overrides #

Patch Set 4 : #

Patch Set 5 : Protect many things #

Total comments: 4

Patch Set 6 : Rename exit_ -> closeMainWindow_ #

Patch Set 7 : sync/merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -312 lines) Patch
M remoting/webapp/app_remoting/js/app_remoting.js View 1 2 3 4 5 6 11 chunks +73 lines, -78 lines 0 comments Download
M remoting/webapp/app_remoting/js/ar_main.js View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/webapp/base/js/application.js View 1 2 3 4 5 8 chunks +146 lines, -133 lines 0 comments Download
M remoting/webapp/base/js/base_inherits_unittest.js View 5 chunks +37 lines, -14 lines 0 comments Download
M remoting/webapp/browser_test/bump_scroll_browser_test.js View 1 2 chunks +3 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/crd_main.js View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/webapp/crd/js/desktop_remoting.js View 1 2 3 4 5 6 12 chunks +49 lines, -80 lines 0 comments Download
M remoting/webapp/crd/js/window_frame.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (6 generated)
garykac
PTAL. I recommend starting with application.js, and then desktop_remoting.js https://codereview.chromium.org/1016373003/diff/20001/remoting/webapp/base/js/application.js File remoting/webapp/base/js/application.js (left): https://codereview.chromium.org/1016373003/diff/20001/remoting/webapp/base/js/application.js#oldcode121 remoting/webapp/base/js/application.js:121: ...
5 years, 9 months ago (2015-03-23 18:44:23 UTC) #2
garykac
ping!
5 years, 9 months ago (2015-03-24 19:53:59 UTC) #3
Jamie
I haven't finished reviewing, but since my first comment calls into question whether or not ...
5 years, 9 months ago (2015-03-24 21:57:06 UTC) #4
Jamie
https://codereview.chromium.org/1016373003/diff/20001/remoting/webapp/app_remoting/js/app_remoting.js File remoting/webapp/app_remoting/js/app_remoting.js (right): https://codereview.chromium.org/1016373003/diff/20001/remoting/webapp/app_remoting/js/app_remoting.js#newcode64 remoting/webapp/app_remoting/js/app_remoting.js:64: remoting.AppRemoting.prototype.runApplicationUrl = function() { This shouldn't be a public ...
5 years, 9 months ago (2015-03-25 20:00:40 UTC) #5
garykac
ptal https://codereview.chromium.org/1016373003/diff/20001/remoting/webapp/app_remoting/js/app_remoting.js File remoting/webapp/app_remoting/js/app_remoting.js (right): https://codereview.chromium.org/1016373003/diff/20001/remoting/webapp/app_remoting/js/app_remoting.js#newcode64 remoting/webapp/app_remoting/js/app_remoting.js:64: remoting.AppRemoting.prototype.runApplicationUrl = function() { On 2015/03/25 20:00:39, Jamie ...
5 years, 9 months ago (2015-03-26 01:41:58 UTC) #6
Jamie
lgtm https://codereview.chromium.org/1016373003/diff/80001/remoting/webapp/app_remoting/js/app_remoting.js File remoting/webapp/app_remoting/js/app_remoting.js (right): https://codereview.chromium.org/1016373003/diff/80001/remoting/webapp/app_remoting/js/app_remoting.js#newcode205 remoting/webapp/app_remoting/js/app_remoting.js:205: * @param {remoting.ConnectionInfo} connectionInfo Do you need the ...
5 years, 9 months ago (2015-03-26 01:54:30 UTC) #7
garykac
https://codereview.chromium.org/1016373003/diff/80001/remoting/webapp/app_remoting/js/app_remoting.js File remoting/webapp/app_remoting/js/app_remoting.js (right): https://codereview.chromium.org/1016373003/diff/80001/remoting/webapp/app_remoting/js/app_remoting.js#newcode205 remoting/webapp/app_remoting/js/app_remoting.js:205: * @param {remoting.ConnectionInfo} connectionInfo On 2015/03/26 01:54:30, Jamie wrote: ...
5 years, 9 months ago (2015-03-26 16:38:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016373003/100001
5 years, 9 months ago (2015-03-26 16:38:22 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/8949) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 9 months ago (2015-03-26 16:41:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1016373003/110001
5 years, 9 months ago (2015-03-26 17:11:26 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:110001)
5 years, 9 months ago (2015-03-26 18:35:04 UTC) #17
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 18:35:59 UTC) #18
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a22c2029f25b596648a64d0e41f354c9f6c1c0b0
Cr-Commit-Position: refs/heads/master@{#322437}

Powered by Google App Engine
This is Rietveld 408576698