Bug 137044 - Add stub implementation for WebKit API to query whether there's audio playing on a page
Summary: Add stub implementation for WebKit API to query whether there's audio playing...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ada Chan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-23 14:32 PDT by Ada Chan
Modified: 2014-09-29 10:47 PDT (History)
2 users (show)

See Also:


Attachments
Patch (4.38 KB, patch)
2014-09-23 16:29 PDT, Ada Chan
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ada Chan 2014-09-23 14:32:59 PDT
In WKPage, we'll add:

bool WKPageIsPlayingAudio(WKPageRef page);

In WKPageUIClient, we'll add this callback:

WKPageIsPlayingAudioDidChangeCallback  isPlayingAudioDidChange;

<rdar://problem/18415634>
Comment 1 Ada Chan 2014-09-23 16:29:46 PDT
Created attachment 238576 [details]
Patch
Comment 2 Ada Chan 2014-09-29 10:47:29 PDT
Committed:
https://trac.webkit.org/changeset/173930