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

Issue 422923002: Revert of Remove WebSettings::setDisallowFullscreenForNonMediaElements(bool) (Closed)

Created:
6 years, 4 months ago by Ignacio Solla
Modified:
6 years, 4 months ago
CC:
abarth-chromium, blink-reviews, dglazkov+blink, jamesr
Project:
blink
Visibility:
Public.

Description

Revert of Remove WebSettings::setDisallowFullscreenForNonMediaElements(bool) (https://codereview.chromium.org/416013002/) Reason for revert: We need this for the Android WebView Original issue's description: > Remove WebSettings::setDisallowFullscreenForNonMediaElements(bool) > > It is never called from Chromium. > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178831 TBR=jochen@chromium.org,qinmin@chromium.org,philipj@opera.com NOTREECHECKS=true NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179048

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M Source/web/FullscreenController.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/web/WebSettingsImpl.h View 3 chunks +3 lines, -0 lines 0 comments Download
M Source/web/WebSettingsImpl.cpp View 2 chunks +6 lines, -0 lines 0 comments Download
M public/web/WebSettings.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Ignacio Solla
Created Revert of Remove WebSettings::setDisallowFullscreenForNonMediaElements(bool)
6 years, 4 months ago (2014-07-28 16:43:55 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/igsolla@chromium.org/422923002/1
6 years, 4 months ago (2014-07-28 16:44:30 UTC) #2
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-28 16:44:31 UTC) #3
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 4 months ago (2014-07-28 16:44:31 UTC) #4
qinmin
lgtm
6 years, 4 months ago (2014-07-28 17:39:37 UTC) #5
qinmin
The CQ bit was checked by qinmin@chromium.org
6 years, 4 months ago (2014-07-28 17:39:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/igsolla@chromium.org/422923002/1
6 years, 4 months ago (2014-07-28 17:39:53 UTC) #7
commit-bot: I haz the power
Change committed as 179048
6 years, 4 months ago (2014-07-28 17:40:20 UTC) #8
philipj_slow
Why is this needed for Android WebView? It seems like a completely random kind of ...
6 years, 4 months ago (2014-07-28 20:09:00 UTC) #9
philipj_slow
This should have a test, otherwise it will invariably break with refactoring. It looks to ...
6 years, 4 months ago (2014-07-29 07:45:24 UTC) #10
Ignacio Solla
On 2014/07/28 20:09:00, philipj wrote: > Why is this needed for Android WebView? It seems ...
6 years, 4 months ago (2014-07-29 09:53:21 UTC) #11
Ignacio Solla
6 years, 4 months ago (2014-07-29 09:56:26 UTC) #12
Message was sent while issue was closed.
On 2014/07/29 07:45:24, philipj wrote:
> This should have a test, otherwise it will invariably break with refactoring.

I will add the test in a subsequent patch:
https://codereview.chromium.org/428633004/

> 
> It looks to me like this won't actually work correctly. The call to
> enterFullScreenForElement in
FullscreenElementStack::requestFullScreenForElement
> will now silently fail, and it will be perpetually waiting for the
> FullscreenElementStack::didEnterFullScreenForElement callback.
> 
> A better place for this would be together with the other "If any of the
> following conditions are true, terminate these steps" in
> FullscreenElementStack::requestFullScreenForElement.

I agree, and I'm moving this into
FullscreenElementStack::requestFullScreenForElement
in the subsequent patch.

Powered by Google App Engine
This is Rietveld 408576698