summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/WebPage/WebFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/WebPage/WebFrame.h')
-rw-r--r--Source/WebKit2/WebProcess/WebPage/WebFrame.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WebKit2/WebProcess/WebPage/WebFrame.h b/Source/WebKit2/WebProcess/WebPage/WebFrame.h
index 839b57926..bd6c038ee 100644
--- a/Source/WebKit2/WebProcess/WebPage/WebFrame.h
+++ b/Source/WebKit2/WebProcess/WebPage/WebFrame.h
@@ -52,6 +52,10 @@ class InjectedBundleRangeHandle;
class InjectedBundleScriptWorld;
class WebPage;
+#if ENABLE(WEB_INTENTS)
+struct IntentData;
+#endif
+
class WebFrame : public APIObject {
public:
static const Type APIType = TypeBundleFrame;
@@ -75,6 +79,10 @@ public:
void startDownload(const WebCore::ResourceRequest&);
void convertHandleToDownload(WebCore::ResourceHandle*, const WebCore::ResourceRequest&, const WebCore::ResourceResponse&);
+#if ENABLE(WEB_INTENTS)
+ void deliverIntent(const IntentData&);
+#endif
+
String source() const;
String contentsAsString() const;
String selectionAsString() const;