[Webkit-unassigned] [Bug 147802] Media Session: notify the UI process when media controls are enabled/disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 10 13:06:10 PDT 2015


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

--- Comment #3 from Matt Rajca <mrajca at apple.com> ---
(In reply to comment #2)
> Comment on attachment 258550 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=258550&action=review
> 
> > Source/WebCore/Modules/mediasession/MediaRemoteControls.h:56
> > -    MediaRemoteControls(ScriptExecutionContext&);
> > +    MediaRemoteControls(ScriptExecutionContext&, MediaSession*);
> 
> Why is this constructor public instead of private?

When Media Sessions of a "content" category kind are created, they get a new MediaRemoteControls object by default. MediaRemoteControls' constructor is public so we can call it from MediaSession.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150810/5d1441a9/attachment.html>


More information about the webkit-unassigned mailing list