Chromium Code Reviews| 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..5da348ebca4e5ff4e4ffee091b1d31a934c6f538 100644 |
| --- a/content/public/browser/web_intents_dispatcher.h |
| +++ b/content/public/browser/web_intents_dispatcher.h |
| @@ -7,6 +7,7 @@ |
| #include "base/callback.h" |
| #include "content/common/content_export.h" |
| +#include "content/public/browser/render_view_host.h" |
| #include "webkit/glue/web_intent_reply_data.h" |
| namespace webkit_glue { |
| @@ -59,6 +60,12 @@ class CONTENT_EXPORT WebIntentsDispatcher { |
| virtual void RegisterReplyNotification(const ReplyNotification& closure) = 0; |
| }; |
| +// This function is used when the intent provider render view is already known, |
| +// and there is no need to register a callback. Instead the intent data just |
| +// needs to be dispatched 'one-way' to the RenderViewHost. |
| +CONTENT_EXPORT void DirectDispatchIntent(webkit_glue::WebIntentData intent_data, |
| + RenderViewHost* render_view_host); |
|
James Hawkins
2012/03/26 19:55:57
nit: Document the parameters.
benwells
2012/03/27 04:24:12
Done.
|
| + |
| } // namespace content |
| #endif // CONTENT_PUBLIC_BROWSER_WEB_INTENTS_DISPATCHER_H_ |