Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: content/public/browser/web_intents_dispatcher.h

Issue 10218009: Allow severing connection between dispatcher and injector (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 762aca17b84544af579faa8b1e29231cba44cf2b..b83b72e72b6f68d00f925fd6308555f626b69988 100644
--- a/content/public/browser/web_intents_dispatcher.h
+++ b/content/public/browser/web_intents_dispatcher.h
@@ -54,6 +54,9 @@ class CONTENT_EXPORT WebIntentsDispatcher {
// |web_contents| must not be NULL.
virtual void DispatchIntent(WebContents* web_contents) = 0;
+ // Abandon current attempt to dispatch, allow new call to DispatchIntent.
+ virtual void CancelDispatch() = 0;
Greg Billock 2012/04/25 14:26:52 How about ResetDispatch. This sounds like it'll ca
groby-ooo-7-16 2012/04/25 16:40:10 Done.
+
// Return a success or failure message to the source context which invoked
// the intent. Deletes the object; it should not be used after this call
// returns. Calls the reply notifications, if any are registered.

Powered by Google App Engine
This is Rietveld 408576698