diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp')
-rw-r--r-- | Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp b/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp index 9cb225033..60a4c68b0 100644 --- a/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp +++ b/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp @@ -74,6 +74,21 @@ WKURLRef WKBundleHitTestResultCopyAbsoluteMediaURL(WKBundleHitTestResultRef hitT return toCopiedURLAPI(toImpl(hitTestResultRef)->absoluteMediaURL()); } +bool WKBundleHitTestResultMediaIsInFullscreen(WKBundleHitTestResultRef hitTestResultRef) +{ + return toImpl(hitTestResultRef)->mediaIsInFullscreen(); +} + +bool WKBundleHitTestResultMediaHasAudio(WKBundleHitTestResultRef hitTestResultRef) +{ + return toImpl(hitTestResultRef)->mediaHasAudio(); +} + +WKBundleHitTestResultMediaType WKBundleHitTestResultGetMediaType(WKBundleHitTestResultRef hitTestResultRef) +{ + return toAPI(toImpl(hitTestResultRef)->mediaType()); +} + WKRect WKBundleHitTestResultGetImageRect(WKBundleHitTestResultRef hitTestResultRef) { return toAPI(toImpl(hitTestResultRef)->imageRect()); |