WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
137220
Add a ChromeClient API that gets called whenever the Page's audio playing state has changed
https://bugs.webkit.org/show_bug.cgi?id=137220
Summary
Add a ChromeClient API that gets called whenever the Page's audio playing sta...
Ada Chan
Reported
2014-09-29 11:27:56 PDT
It'll most likely be: virtual void isPlayingAudioDidChange(bool) to match the bool isPlayingAudio() const; we are adding to WebCore::Page. See
https://bugs.webkit.org/show_bug.cgi?id=137218
.
Attachments
Patch
(2.59 KB, patch)
2014-10-06 11:45 PDT
,
Ada Chan
jer.noble
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ada Chan
Comment 1
2014-10-06 11:45:31 PDT
Created
attachment 239344
[details]
Patch
Jer Noble
Comment 2
2014-10-06 14:20:46 PDT
Comment on
attachment 239344
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=239344&action=review
r=me, with nit.
> Source/WebCore/page/ChromeClient.h:434 > + virtual void isPlayingAudioDidChange(bool /*newIsPlayingAudio*/) { }
Nit: You don't need to include the (commented out) parameter name here. It's obvious from the function name.
Ada Chan
Comment 3
2014-10-06 14:24:44 PDT
(In reply to
comment #2
)
> (From update of
attachment 239344
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=239344&action=review
> > r=me, with nit. > > > Source/WebCore/page/ChromeClient.h:434 > > + virtual void isPlayingAudioDidChange(bool /*newIsPlayingAudio*/) { } > > Nit: You don't need to include the (commented out) parameter name here. It's obvious from the function name.
I'll remove it. Thanks for the review!
Ada Chan
Comment 4
2014-10-06 14:37:08 PDT
Committed:
https://trac.webkit.org/changeset/174365
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug