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

Issue 497723002: Merge willEnter/willExitFullScreen into didEnter/didExitFullScreen (Closed)

Created:
6 years, 4 months ago by philipj_slow
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis
Project:
blink
Visibility:
Public.

Description

Merge willEnter/willExitFullScreen into didEnter/didExitFullScreen The will/did callback pairs came into being in 2011: https://bugs.webkit.org/show_bug.cgi?id=70477 https://code.google.com/p/chromium/issues/detail?id=100264 The original problem was that the webkitfullscreenchange was dispatched too early, but this is not affected since the did* callbacks are the ones left in use. The risk is that something done in the will* callbacks is too late if done moved to the did* callbacks. That amounts to: - Saving placeholder style and unwrapping/wrapping the renderer in Fullscreen::willEnterFullScreenForElement(). - The overlayFullscreenVideoEnabled() bits in HTMLMediaElement::willStopBeingFullscreenElement() and FullscreenController::willExitFullScreen(). Since the only difference between will* and did* is that the new size is known and events aren't fired synchronously, this seems likely to be safe. BUG=407002 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181218

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -100 lines) Patch
M Source/core/dom/Fullscreen.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/dom/Fullscreen.cpp View 3 chunks +2 lines, -20 lines 2 comments Download
M Source/web/FullscreenController.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/web/FullscreenController.cpp View 3 chunks +34 lines, -59 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 chunk +0 lines, -10 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 3 chunks +0 lines, -3 lines 0 comments Download
M Source/web/tests/WebViewTest.cpp View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
philipj_slow
PTAL. I'm on my phone and didn't finish the commit message, but the two links ...
6 years, 4 months ago (2014-08-25 04:01:26 UTC) #1
falken
lgtm. if it doesn't break the layout tests introduced by the bugs listed in the ...
6 years, 4 months ago (2014-08-25 05:07:54 UTC) #2
philipj_slow
On 2014/08/25 05:07:54, falken wrote: > lgtm. if it doesn't break the layout tests introduced ...
6 years, 4 months ago (2014-08-25 08:06:23 UTC) #3
philipj_slow
https://codereview.chromium.org/497723002/diff/1/Source/core/dom/Fullscreen.cpp File Source/core/dom/Fullscreen.cpp (right): https://codereview.chromium.org/497723002/diff/1/Source/core/dom/Fullscreen.cpp#newcode448 Source/core/dom/Fullscreen.cpp:448: void Fullscreen::didExitFullScreenForElement(Element*) On 2014/08/25 05:07:54, falken wrote: > Should ...
6 years, 4 months ago (2014-08-25 08:06:30 UTC) #4
philipj_slow
esprehn, mind giving a second opinion? I've updated the description to point out where things ...
6 years, 4 months ago (2014-08-25 08:58:26 UTC) #5
philipj_slow
I wrote a bit in https://code.google.com/p/chromium/issues/detail?id=407002 about the motivation as well.
6 years, 4 months ago (2014-08-25 09:07:41 UTC) #6
philipj_slow
Ping esprehn.
6 years, 3 months ago (2014-08-26 21:20:02 UTC) #7
philipj_slow
I asked Darin Fisher, who wrote the original patch, to take a look and he ...
6 years, 3 months ago (2014-09-02 08:24:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/497723002/1
6 years, 3 months ago (2014-09-02 08:25:28 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 3 months ago (2014-09-02 08:33:45 UTC) #12
philipj_slow
tkent, can you please review Source/web?
6 years, 3 months ago (2014-09-02 08:37:39 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/14191)
6 years, 3 months ago (2014-09-02 08:37:41 UTC) #16
tkent
lgtm
6 years, 3 months ago (2014-09-02 08:47:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/497723002/1
6 years, 3 months ago (2014-09-02 08:47:36 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-02 08:52:49 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 181218

Powered by Google App Engine
This is Rietveld 408576698