[Webkit-unassigned] [Bug 120196] [Gtk][WK2] Use a permission-request for fullscreen requests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 4 06:15:14 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=120196


Brian Holt <brian.holt at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brian.holt at samsung.com,
                   |                            |cgarcia at igalia.com,
                   |                            |gns at gnome.org,
                   |                            |mario at webkit.org,
                   |                            |mrobinson at webkit.org




--- Comment #1 from Brian Holt <brian.holt at samsung.com>  2013-09-04 06:14:32 PST ---
I know a lot of effort went into designing the permission-request mechanism so I suspect that it is the preferred option for getting permission for a fullscreen.  That said, I also think that emitting the signals for entering and leaving fullscreen mode is still useful and should be kept.

So my view is that we should create a new permission request subclass WebKitFullScreenPermissionRequest and emit it with the permission-request signal in webkitWebViewEnterFullScreen() to get the user's permission.  Adding a policy to the WebKitWebContext WebKitFullScreenPolicy with values WEBKIT_FULLSCREEN_POLICY_ASK and WEBKIT_FULLSCREEN_POLICY_ALWAYS would also make sense to me (much like TSL errors).

I'd be happy to do the implementation and propose it formally on the mailing list if there is support.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list