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

Issue 398403002: Check isActive in onRestore to work-around crbug.com/394819. (Closed)

Created:
6 years, 5 months ago by Jamie
Modified:
6 years, 5 months ago
Reviewers:
garykac, Wez, kelvinp
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Check isActive in onRestore to work-around crbug.com/394819. Also fixes a related bug involving exiting full-screen. If the window was previously maximized when it is full-screened, then ChromeOS sometimes generates an onMaximized event when exiting full-screen, which triggers the app to re-enter full-screen mode. The fix is to explicitly unmaximize the window before going full-screen (which also has the nice benefit of making the double restore() calls unnecessary). BUG=384678 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283972

Patch Set 1 #

Total comments: 2

Patch Set 2 : Unmaximize before entering full-screen mode. #

Patch Set 3 : Reviewer feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M remoting/webapp/fullscreen_v2.js View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M remoting/webapp/window_frame.js View 1 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Jamie
6 years, 5 months ago (2014-07-17 18:46:48 UTC) #1
Wez
lgtm https://codereview.chromium.org/398403002/diff/1/remoting/webapp/fullscreen_v2.js File remoting/webapp/fullscreen_v2.js (right): https://codereview.chromium.org/398403002/diff/1/remoting/webapp/fullscreen_v2.js#newcode117 remoting/webapp/fullscreen_v2.js:117: // so test the full-screen status to make ...
6 years, 5 months ago (2014-07-17 18:49:42 UTC) #2
kelvinp
On 2014/07/17 18:49:42, Wez wrote: > lgtm > > https://codereview.chromium.org/398403002/diff/1/remoting/webapp/fullscreen_v2.js > File remoting/webapp/fullscreen_v2.js (right): > ...
6 years, 5 months ago (2014-07-17 19:59:25 UTC) #3
Jamie
https://codereview.chromium.org/398403002/diff/1/remoting/webapp/fullscreen_v2.js File remoting/webapp/fullscreen_v2.js (right): https://codereview.chromium.org/398403002/diff/1/remoting/webapp/fullscreen_v2.js#newcode117 remoting/webapp/fullscreen_v2.js:117: // so test the full-screen status to make sure ...
6 years, 5 months ago (2014-07-17 21:36:44 UTC) #4
Jamie
ptal
6 years, 5 months ago (2014-07-17 21:39:17 UTC) #5
kelvinp
lgtm
6 years, 5 months ago (2014-07-17 21:40:43 UTC) #6
Jamie
The CQ bit was checked by jamiewalch@chromium.org
6 years, 5 months ago (2014-07-17 21:43:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/398403002/40001
6 years, 5 months ago (2014-07-17 21:46:12 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 02:16:30 UTC) #9
Message was sent while issue was closed.
Change committed as 283972

Powered by Google App Engine
This is Rietveld 408576698