| Index: content/public/browser/web_intents_dispatcher.h
|
| diff --git a/content/public/browser/web_intents_dispatcher.h b/content/public/browser/web_intents_dispatcher.h
|
| index 36d55e0a633b08e53eeb5d8758c9de85421d7003..762aca17b84544af579faa8b1e29231cba44cf2b 100644
|
| --- a/content/public/browser/web_intents_dispatcher.h
|
| +++ b/content/public/browser/web_intents_dispatcher.h
|
| @@ -17,6 +17,7 @@ struct WebIntentData;
|
| namespace content {
|
|
|
| class WebContents;
|
| +class WebContentsDelegate;
|
|
|
| // This class is the coordinator for dispatching web intents and seeing that
|
| // return messages are sent to the correct invoking context. The WebContents
|
| @@ -39,6 +40,11 @@ class CONTENT_EXPORT WebIntentsDispatcher {
|
| typedef base::Callback<void(webkit_glue::WebIntentReplyType)>
|
| ReplyNotification;
|
|
|
| + // Create internal (browser-triggered) intent. This will create
|
| + // a new dispatcher with the passed intent payload |data|. The caller should
|
| + // manage dispatching it correctly.
|
| + static WebIntentsDispatcher* Create(const webkit_glue::WebIntentData& data);
|
| +
|
| virtual ~WebIntentsDispatcher() {}
|
|
|
| // Get the intent data being dispatched.
|
|
|