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

Issue 2040973003: OOPIF: Process all local ancestors when requesting and exiting fullscreen. (Closed)

Created:
4 years, 6 months ago by alexmos
Modified:
4 years, 6 months ago
Reviewers:
Charlie Reis, foolip
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis, dcheng, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

OOPIF: Process all local ancestors when requesting and exiting fullscreen. Currently, requestFullscreen, fullyExitFullscreen, and exitFullscreen perform several walks over ancestor frames, stopping as soon as they hit a remote frame. This means that for hierarchies like A-B-A, when fullscreen is entered from the bottom frame, the top frame won't update its fullscreen element stack or queue up fullscreenchange events. This CL fixes this by accounting for local ancestors separated by remote frames in all of these walks. BUG=550497 Committed: https://crrev.com/59e00ee5e5bdb631ed9617e3e028f76b06b35267 Cr-Commit-Position: refs/heads/master@{#401424}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 17

Patch Set 4 : Rebase and move helper to anonymous namespace #

Patch Set 5 : Address foolip@'s comments #

Patch Set 6 : Add bug reference for nested fullscreen #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -28 lines) Patch
M chrome/browser/site_per_process_interactive_browsertest.cc View 1 2 3 4 6 chunks +36 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Fullscreen.cpp View 1 2 3 4 5 6 chunks +69 lines, -11 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
alexmos
Philip, can you please take a look? This CL helps do the right thing with ...
4 years, 6 months ago (2016-06-06 22:23:49 UTC) #2
foolip
This is my first close encounter with OOPIF, fun! https://codereview.chromium.org/2040973003/diff/40001/third_party/WebKit/Source/core/dom/Fullscreen.cpp File third_party/WebKit/Source/core/dom/Fullscreen.cpp (right): https://codereview.chromium.org/2040973003/diff/40001/third_party/WebKit/Source/core/dom/Fullscreen.cpp#newcode124 third_party/WebKit/Source/core/dom/Fullscreen.cpp:124: ...
4 years, 6 months ago (2016-06-09 13:12:36 UTC) #3
alexmos
Thanks for the comments! Can you please take another look? https://codereview.chromium.org/2040973003/diff/40001/third_party/WebKit/Source/core/dom/Fullscreen.cpp File third_party/WebKit/Source/core/dom/Fullscreen.cpp (right): https://codereview.chromium.org/2040973003/diff/40001/third_party/WebKit/Source/core/dom/Fullscreen.cpp#newcode124 ...
4 years, 6 months ago (2016-06-09 21:36:55 UTC) #4
foolip
LGTM! Last week was BlinkOn, but sorry for also being very slow this week, still ...
4 years, 6 months ago (2016-06-22 16:23:58 UTC) #5
alexmos
Thanks for reviewing! https://codereview.chromium.org/2040973003/diff/40001/third_party/WebKit/Source/core/dom/Fullscreen.cpp File third_party/WebKit/Source/core/dom/Fullscreen.cpp (right): https://codereview.chromium.org/2040973003/diff/40001/third_party/WebKit/Source/core/dom/Fullscreen.cpp#newcode400 third_party/WebKit/Source/core/dom/Fullscreen.cpp:400: // TODO(alexmos): Deal with nested fullscreen ...
4 years, 6 months ago (2016-06-22 18:04:22 UTC) #6
alexmos
Charlie, could you please sanity-check the small change in site_per_process_interactive_browsertest.cc? I'm basically removing a couple ...
4 years, 6 months ago (2016-06-22 18:08:38 UTC) #8
Charlie Reis
Test LGTM.
4 years, 6 months ago (2016-06-22 18:41:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040973003/100001
4 years, 6 months ago (2016-06-22 20:33:35 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-22 22:04:30 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 22:06:30 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/59e00ee5e5bdb631ed9617e3e028f76b06b35267
Cr-Commit-Position: refs/heads/master@{#401424}

Powered by Google App Engine
This is Rietveld 408576698