[Webkit-unassigned] [Bug 176119] [GTK][WPE] API for WebView audio mute support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 13 05:52:29 PDT 2020


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

--- Comment #39 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Jan-Michael Brummer from comment #37)
> (In reply to Carlos Garcia Campos from comment #36)
> > (In reply to Jan-Michael Brummer from comment #34)
> > > > > Source/WebKit/WebProcess/WebPage/WebPage.cpp:5082
> > > > > +    send(Messages::WebPageProxy::IsPageMutedDidChange());
> > > > 
> > > > Do we really need to get notified back by the web process, I thought this
> > > > was because setting muted might fail, but since this is called
> > > > unconditionally, and the UI process is getting the value already set there,
> > > > I don't think we need this.
> > > At least this way we know the initial value for a page or in case the page
> > > mute is changed somewhere else.
> > 
> > I don't understand. The mute value is always set by the UI process, either
> > calling setMuted or as initial parameter, so the initial value is the one we
> > have in the WebPageProxy. Or did I miss anything? I don't know what you mean
> > by changed somewhere else. WebPage::setMuted() is only called by the message
> > handler when the IPC message is received and with the initial value. In both
> > cases it's the value just set by the Ui process.
> You are right, I've mixed it up: It is only set by setMuted and the initial
> value. So what exactly are you proposing here?

We can just notify the property when we send the message to the web process.

> It's my second contribution
> here and i'm not yet 100% familiar with the whole code.

Sure, feel free to ask any question here or in IRC. It's normal for first contributions to iterate several times on reviews.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200513/8cc39d4b/attachment.htm>


More information about the webkit-unassigned mailing list