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

Unified Diff: content/browser/tab_contents/tab_contents_delegate.h

Issue 8666013: Add a public content/ interface for intents. Use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For try servers. Created 9 years, 1 month 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
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/browser/tab_contents/tab_contents_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents_delegate.h
diff --git a/content/browser/tab_contents/tab_contents_delegate.h b/content/browser/tab_contents/tab_contents_delegate.h
index 10abb9709c3ca3a5918ba3cabd75fddb819a642f..b1e0355223baf1978552b6763040c43878a54409 100644
--- a/content/browser/tab_contents/tab_contents_delegate.h
+++ b/content/browser/tab_contents/tab_contents_delegate.h
@@ -32,6 +32,7 @@ class ListValue;
namespace content {
class BrowserContext;
struct FileChooserParams;
+class IntentsHost;
class JavaScriptDialogCreator;
}
@@ -333,11 +334,9 @@ class CONTENT_EXPORT TabContentsDelegate {
const string16& title,
const string16& disposition);
- // WebIntent notification handler.
+ // Web Intents notification handler. Takes ownership of the |intents_host|.
virtual void WebIntentDispatch(TabContents* tab,
- int routing_id,
- const webkit_glue::WebIntentData& intent,
- int intent_id);
+ content::IntentsHost* intents_host);
// Result of string search in the page. This includes the number of matches
// found and the selection rect (in screen coordinates) for the string found.
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/browser/tab_contents/tab_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698