summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h')
-rw-r--r--Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h b/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h
index a23d00908..2582b47dd 100644
--- a/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h
+++ b/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h
@@ -40,11 +40,12 @@ class WebFrame;
class InjectedBundleHitTestResult : public API::ObjectImpl<API::Object::Type::BundleHitTestResult> {
public:
- static PassRefPtr<InjectedBundleHitTestResult> create(const WebCore::HitTestResult&);
+ static Ref<InjectedBundleHitTestResult> create(const WebCore::HitTestResult&);
const WebCore::HitTestResult& coreHitTestResult() const { return m_hitTestResult; }
- PassRefPtr<InjectedBundleNodeHandle> nodeHandle() const;
+ PassRefPtr<InjectedBundleNodeHandle> nodeHandle() const;
+ PassRefPtr<InjectedBundleNodeHandle> urlElementHandle() const;
WebFrame* frame() const;
WebFrame* targetFrame() const;
@@ -54,10 +55,12 @@ public:
String absoluteMediaURL() const;
bool mediaIsInFullscreen() const;
bool mediaHasAudio() const;
+ bool isDownloadableMedia() const;
BundleHitTestResultMediaType mediaType() const;
String linkLabel() const;
String linkTitle() const;
+ String linkSuggestedFilename() const;
WebCore::IntRect imageRect() const;