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 #
Messages
Total messages: 18 (6 generated)
|