diff options
Diffstat (limited to 'Source/WebKit/chromium/src/WebIntent.cpp')
-rw-r--r-- | Source/WebKit/chromium/src/WebIntent.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/src/WebIntent.cpp b/Source/WebKit/chromium/src/WebIntent.cpp index 67723bf93..44ce2d0ac 100644 --- a/Source/WebKit/chromium/src/WebIntent.cpp +++ b/Source/WebKit/chromium/src/WebIntent.cpp @@ -127,6 +127,18 @@ WebURL WebIntent::service() const #endif } +WebVector<WebURL> WebIntent::suggestions() const +{ +#if ENABLE(WEB_INTENTS) + WebVector<WebURL> suggestions(m_private->suggestions().size()); + for (size_t i = 0; i < m_private->suggestions().size(); ++i) + suggestions[i] = m_private->suggestions().at(i); + return suggestions; +#else + return WebVector<WebURL>(); +#endif +} + WebMessagePortChannelArray* WebIntent::messagePortChannelsRelease() const { // Note: see PlatformMessagePortChannel::postMessageToRemote. |