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

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

Issue 8666013: Add a public content/ interface for intents. Use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix IntentInjector; use TCO::tab_contents() 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
Index: content/browser/tab_contents/tab_contents_delegate.cc
diff --git a/content/browser/tab_contents/tab_contents_delegate.cc b/content/browser/tab_contents/tab_contents_delegate.cc
index 7cbc3dc99547df89acfb47a5235611912b375eee..8f95f1eef5e870ec63749a5f432cad29dc84888b 100644
--- a/content/browser/tab_contents/tab_contents_delegate.cc
+++ b/content/browser/tab_contents/tab_contents_delegate.cc
@@ -9,6 +9,7 @@
#include "base/memory/singleton.h"
#include "content/browser/javascript_dialogs.h"
#include "content/browser/tab_contents/tab_contents.h"
+#include "content/public/browser/intents_host.h"
#include "content/public/common/url_constants.h"
#include "ui/gfx/rect.h"
#include "webkit/glue/web_intent_data.h"
@@ -313,9 +314,8 @@ void TabContentsDelegate::RegisterIntentHandler(TabContents* tab,
void TabContentsDelegate::WebIntentDispatch(
TabContents* tab,
- int routing_id,
- const webkit_glue::WebIntentData& intent,
- int intent_id) {
+ content::IntentsHost* intents_host) {
+ delete intents_host;
James Hawkins 2011/11/29 02:57:55 This is a very strange method indeed. Can you add
Greg Billock 2011/11/29 19:18:16 Done.
}
void TabContentsDelegate::FindReply(TabContents* tab,

Powered by Google App Engine
This is Rietveld 408576698