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

Issue 952353002: Requiem for client_screen.js (Closed)

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

Description

Requiem for client_screen.js client_screen.js currently defines a few global functions and a few 'private' functions that are called in application.js and desktop_connected_view.js This CL 1. Moves onClientStateChange_, updateStatistics_ into application.js as they are called from there and their implementation depends on application.js. 2. Moves declaration of globals clientSession and desktopConnectedView into application.js 3. Moves remoting.disconnect into remoting.Application. 4. Moves onResize and onVisibilityChanged into desktop_connected_view.js 5. Removes client_screen.js BUG=461995 Committed: https://crrev.com/975f1f41b5e28426de9c3ee6d56f26c4fdfbd618 Cr-Commit-Position: refs/heads/master@{#319195}

Patch Set 1 #

Total comments: 21

Patch Set 2 : Reviewer's feedback #

Total comments: 1

Patch Set 3 : Rebase #

Patch Set 4 : Rebase + Ready for Check-in #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -174 lines) Patch
M chrome/test/remoting/remote_desktop_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/remoting_webapp_files.gypi View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M remoting/webapp/app_remoting/js/app_remoting.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/base/js/application.js View 1 2 5 chunks +71 lines, -4 lines 0 comments Download
M remoting/webapp/base/js/base.js View 1 2 3 4 chunks +19 lines, -4 lines 0 comments Download
M remoting/webapp/browser_test/browser_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
D remoting/webapp/crd/js/client_screen.js View 1 2 1 chunk +0 lines, -120 lines 0 comments Download
M remoting/webapp/crd/js/client_session.js View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/desktop_connected_view.js View 1 2 8 chunks +30 lines, -12 lines 0 comments Download
M remoting/webapp/crd/js/desktop_remoting.js View 1 2 2 chunks +8 lines, -9 lines 0 comments Download
M remoting/webapp/crd/js/fullscreen.js View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M remoting/webapp/crd/js/smart_reconnector.js View 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/toolbar.js View 1 1 chunk +4 lines, -3 lines 0 comments Download
M remoting/webapp/crd/js/ui_mode.js View 1 chunk +0 lines, -11 lines 0 comments Download
M remoting/webapp/crd/js/window_frame.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
kelvinp
PTAL https://codereview.chromium.org/952353002/diff/1/remoting/webapp/base/js/application.js File remoting/webapp/base/js/application.js (right): https://codereview.chromium.org/952353002/diff/1/remoting/webapp/base/js/application.js#newcode231 remoting/webapp/base/js/application.js:231: remoting.Application.prototype.onClientStateChange_ = function(state) { Moved from client_screen.js.
5 years, 10 months ago (2015-02-25 22:44:38 UTC) #2
kelvinp
PTAL
5 years, 9 months ago (2015-03-03 22:53:12 UTC) #4
Jamie
https://codereview.chromium.org/952353002/diff/1/remoting/webapp/app_remoting/js/app_remoting.js File remoting/webapp/app_remoting/js/app_remoting.js (right): https://codereview.chromium.org/952353002/diff/1/remoting/webapp/app_remoting/js/app_remoting.js#newcode147 remoting/webapp/app_remoting/js/app_remoting.js:147: remoting.app.disconnect); bind? https://codereview.chromium.org/952353002/diff/1/remoting/webapp/base/js/application.js File remoting/webapp/base/js/application.js (right): https://codereview.chromium.org/952353002/diff/1/remoting/webapp/base/js/application.js#newcode126 remoting/webapp/base/js/application.js:126: // ...
5 years, 9 months ago (2015-03-04 01:06:55 UTC) #5
kelvinp
PTAL https://codereview.chromium.org/952353002/diff/1/remoting/webapp/app_remoting/js/app_remoting.js File remoting/webapp/app_remoting/js/app_remoting.js (right): https://codereview.chromium.org/952353002/diff/1/remoting/webapp/app_remoting/js/app_remoting.js#newcode147 remoting/webapp/app_remoting/js/app_remoting.js:147: remoting.app.disconnect); On 2015/03/04 01:06:54, Jamie wrote: > bind? ...
5 years, 9 months ago (2015-03-04 21:02:21 UTC) #6
Jamie
lgtm https://codereview.chromium.org/952353002/diff/20001/remoting/webapp/crd/js/fullscreen.js File remoting/webapp/crd/js/fullscreen.js (right): https://codereview.chromium.org/952353002/diff/20001/remoting/webapp/crd/js/fullscreen.js#newcode61 remoting/webapp/crd/js/fullscreen.js:61: this.src_ = remoting.fullscreen; Add @private annotations for these ...
5 years, 9 months ago (2015-03-04 22:00:52 UTC) #7
kelvinp
FYI
5 years, 9 months ago (2015-03-05 01:23:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/952353002/60001
5 years, 9 months ago (2015-03-05 01:24:18 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-05 02:32:16 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 02:32:50 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/975f1f41b5e28426de9c3ee6d56f26c4fdfbd618
Cr-Commit-Position: refs/heads/master@{#319195}

Powered by Google App Engine
This is Rietveld 408576698