summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/public/WebIntent.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/public/WebIntent.h')
-rw-r--r--Source/WebKit/chromium/public/WebIntent.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/public/WebIntent.h b/Source/WebKit/chromium/public/WebIntent.h
index d01098fe5..cc080ad99 100644
--- a/Source/WebKit/chromium/public/WebIntent.h
+++ b/Source/WebKit/chromium/public/WebIntent.h
@@ -31,9 +31,12 @@
#ifndef WebIntent_h
#define WebIntent_h
+#include "WebMessagePortChannel.h"
#include "platform/WebCommon.h"
#include "platform/WebPrivatePtr.h"
#include "platform/WebString.h"
+#include "platform/WebURL.h"
+#include "platform/WebVector.h"
namespace WebCore { class Intent; }
@@ -61,6 +64,19 @@ public:
WEBKIT_EXPORT WebString action() const;
WEBKIT_EXPORT WebString type() const;
WEBKIT_EXPORT WebString data() const;
+ WEBKIT_EXPORT WebURL service() const;
+
+ // Retrieve a list of the names of extra metadata associated with the
+ // intent.
+ WEBKIT_EXPORT WebVector<WebString> extrasNames() const;
+
+ // Retrieve the value of an extra metadata element. The argument should
+ // be one of the names retrieved with |extrasNames|. Returns an empty
+ // string if the name is invalid.
+ WEBKIT_EXPORT WebString extrasValue(const WebString&) const;
+
+ // Caller takes ownership of the ports.
+ WEBKIT_EXPORT WebMessagePortChannelArray* messagePortChannelsRelease() const;
#if WEBKIT_IMPLEMENTATION
WebIntent(const WTF::PassRefPtr<WebCore::Intent>&);