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

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 9a2a95030bb6c0820407a1821f968872dcf3bb62..e18b7643c612f86bbd29275db2a19ec5277e0fa9 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -9,11 +9,9 @@
#include "base/memory/singleton.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
-#include "content/public/browser/web_intents_dispatcher.h"
#include "content/public/common/url_constants.h"
#include "content/public/common/bindings_policy.h"
#include "ui/gfx/rect.h"
-#include "webkit/glue/web_intent_data.h"
namespace content {
@@ -137,14 +135,6 @@ content::ColorChooser* WebContentsDelegate::OpenColorChooser(
return NULL;
}
-void WebContentsDelegate::WebIntentDispatch(
- WebContents* web_contents,
- WebIntentsDispatcher* intents_dispatcher) {
- // The caller passes this method ownership of the |intents_dispatcher|, but
- // this empty implementation will not use it, so we delete it immediately.
- delete intents_dispatcher;
-}
-
bool WebContentsDelegate::RequestPpapiBrokerPermission(
WebContents* web_contents,
const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698