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

Issue 863123002: Fix minimize -> fullscreen transition. (Closed)

Created:
5 years, 11 months ago by Jamie
Modified:
5 years, 11 months ago
Reviewers:
kelvinp
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

Fix minimize -> fullscreen transition. When the full-screen app is minimized and then restored, an onRestored event fires, which causes the title bar to re-appear and the remote desktop to be resized. This CL suppresses that notification. I don't think this is easily testable, because there's no way of programmatically restoring a window from a minimized state. BUG=400921 Committed: https://crrev.com/eb838509ce28dc498b2632ff59c17184a4f99037 Cr-Commit-Position: refs/heads/master@{#312963}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Suppress duplicate callbacks. #

Total comments: 4

Patch Set 3 : Reviewer feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -12 lines) Patch
M remoting/webapp/crd/js/fullscreen_v2.js View 1 2 4 chunks +53 lines, -12 lines 0 comments Download
M remoting/webapp/js_proto/chrome_proto.js View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Jamie
PTAL
5 years, 11 months ago (2015-01-22 02:35:48 UTC) #2
kelvinp
https://codereview.chromium.org/863123002/diff/1/remoting/webapp/crd/js/fullscreen_v2.js File remoting/webapp/crd/js/fullscreen_v2.js (right): https://codereview.chromium.org/863123002/diff/1/remoting/webapp/crd/js/fullscreen_v2.js#newcode23 remoting/webapp/crd/js/fullscreen_v2.js:23: * only want transitions from full-screen to windowed to ...
5 years, 11 months ago (2015-01-22 17:42:08 UTC) #3
Jamie
https://codereview.chromium.org/863123002/diff/1/remoting/webapp/crd/js/fullscreen_v2.js File remoting/webapp/crd/js/fullscreen_v2.js (right): https://codereview.chromium.org/863123002/diff/1/remoting/webapp/crd/js/fullscreen_v2.js#newcode23 remoting/webapp/crd/js/fullscreen_v2.js:23: * only want transitions from full-screen to windowed to ...
5 years, 11 months ago (2015-01-22 23:27:31 UTC) #4
kelvinp
https://codereview.chromium.org/863123002/diff/1/remoting/webapp/crd/js/fullscreen_v2.js File remoting/webapp/crd/js/fullscreen_v2.js (right): https://codereview.chromium.org/863123002/diff/1/remoting/webapp/crd/js/fullscreen_v2.js#newcode23 remoting/webapp/crd/js/fullscreen_v2.js:23: * only want transitions from full-screen to windowed to ...
5 years, 11 months ago (2015-01-23 00:14:59 UTC) #5
kelvinp
lgtm once the comment is addressed.
5 years, 11 months ago (2015-01-23 00:15:11 UTC) #6
Jamie
PTAL https://codereview.chromium.org/863123002/diff/1/remoting/webapp/crd/js/fullscreen_v2.js File remoting/webapp/crd/js/fullscreen_v2.js (right): https://codereview.chromium.org/863123002/diff/1/remoting/webapp/crd/js/fullscreen_v2.js#newcode102 remoting/webapp/crd/js/fullscreen_v2.js:102: if (!this.isMinimized_) { On 2015/01/23 00:14:59, kelvinp wrote: ...
5 years, 11 months ago (2015-01-23 00:44:16 UTC) #7
kelvinp
https://codereview.chromium.org/863123002/diff/20001/remoting/webapp/crd/js/fullscreen_v2.js File remoting/webapp/crd/js/fullscreen_v2.js (right): https://codereview.chromium.org/863123002/diff/20001/remoting/webapp/crd/js/fullscreen_v2.js#newcode35 remoting/webapp/crd/js/fullscreen_v2.js:35: this.previousCallbackState_ = null; Nit: I think isFullScreen_ would be ...
5 years, 11 months ago (2015-01-23 18:26:07 UTC) #8
Jamie
PTAL https://codereview.chromium.org/863123002/diff/20001/remoting/webapp/crd/js/fullscreen_v2.js File remoting/webapp/crd/js/fullscreen_v2.js (right): https://codereview.chromium.org/863123002/diff/20001/remoting/webapp/crd/js/fullscreen_v2.js#newcode35 remoting/webapp/crd/js/fullscreen_v2.js:35: this.previousCallbackState_ = null; On 2015/01/23 18:26:07, kelvinp wrote: ...
5 years, 11 months ago (2015-01-23 18:51:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863123002/40001
5 years, 11 months ago (2015-01-23 21:43:29 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-23 23:36:32 UTC) #12
commit-bot: I haz the power
5 years, 11 months ago (2015-01-23 23:37:31 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/eb838509ce28dc498b2632ff59c17184a4f99037
Cr-Commit-Position: refs/heads/master@{#312963}

Powered by Google App Engine
This is Rietveld 408576698