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

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: 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_delegate.h ('k') | content/content_browser.gypi » ('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.cc
diff --git a/content/browser/tab_contents/tab_contents_delegate.cc b/content/browser/tab_contents/tab_contents_delegate.cc
index 7cbc3dc99547df89acfb47a5235611912b375eee..4b36bc6a8d9740f286dbbd6534204dbeb9805d68 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,10 @@ 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) {
+ // The caller passes this method ownership of the |intents_host|, but this
+ // empty implementation will not use it, so we delete it immediately.
+ delete intents_host;
}
void TabContentsDelegate::FindReply(TabContents* tab,
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698