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

Issue 2325663002: Make Fullscreen::requestFullscreen and exitFullscreen static (Closed)

Created:
4 years, 3 months ago by foolip
Modified:
4 years, 3 months ago
Reviewers:
eae
CC:
chromium-reviews, blink-reviews-html_chromium.org, kinuko+watch, feature-media-reviews_chromium.org, mlamouri+watch-blink_chromium.org, gasubic, sof, eae+blinkwatch, fs, eric.carlson_apple.com, haraken, blink-reviews-dom_chromium.org, dglazkov+blink, nessy, blink-reviews, Srirama, vcarbune.chromium, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make Fullscreen::requestFullscreen and exitFullscreen static Making requestFullscreen and exitFullscreen async like the spec will mean that no state on the Fullscreen instances will be modified synchronously in the request/exit calls, and the instances may in fact end up not being created at all. The code arguably ends up looking worse with this change alone, but it does make it very clear that all events are put in the queue of the requesting document, and not for each document involved. This should not be observable at all, and makes future CLs smaller. BUG=402421, 402376 Committed: https://crrev.com/2d25b500542df1129457767aef5ec97b31ca695e Cr-Commit-Position: refs/heads/master@{#417446}

Patch Set 1 #

Total comments: 7

Patch Set 2 : doc->document, for loop #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -47 lines) Patch
M third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ElementFullscreen.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Fullscreen.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Fullscreen.cpp View 1 12 chunks +31 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 8 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
foolip
PTAL and CQ?
4 years, 3 months ago (2016-09-08 17:53:54 UTC) #6
eae
I have a couple of concerns and questions but nothing major. Feel free to land ...
4 years, 3 months ago (2016-09-08 19:28:39 UTC) #7
foolip
https://codereview.chromium.org/2325663002/diff/1/third_party/WebKit/Source/core/dom/Fullscreen.cpp File third_party/WebKit/Source/core/dom/Fullscreen.cpp (right): https://codereview.chromium.org/2325663002/diff/1/third_party/WebKit/Source/core/dom/Fullscreen.cpp#newcode224 third_party/WebKit/Source/core/dom/Fullscreen.cpp:224: Document& doc = element.document(); On 2016/09/08 19:28:38, eae wrote: ...
4 years, 3 months ago (2016-09-08 20:00:58 UTC) #8
foolip
https://codereview.chromium.org/2325663002/diff/1/third_party/WebKit/Source/core/dom/Fullscreen.cpp File third_party/WebKit/Source/core/dom/Fullscreen.cpp (right): https://codereview.chromium.org/2325663002/diff/1/third_party/WebKit/Source/core/dom/Fullscreen.cpp#newcode407 third_party/WebKit/Source/core/dom/Fullscreen.cpp:407: while (currentDoc) { On 2016/09/08 20:00:58, foolip wrote: > ...
4 years, 3 months ago (2016-09-08 22:19:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2325663002/20001
4 years, 3 months ago (2016-09-08 22:20:42 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-09 00:01:15 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 00:03:36 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2d25b500542df1129457767aef5ec97b31ca695e
Cr-Commit-Position: refs/heads/master@{#417446}

Powered by Google App Engine
This is Rietveld 408576698