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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.cc

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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: chrome/browser/ui/views/external_tab_container_win.cc
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc
index be5510a5b3a0cc8bb04666c786d3e51ad7ff04fc..007168b74fc650656fc79e78a10f2f2ae1af7aa1 100644
--- a/chrome/browser/ui/views/external_tab_container_win.cc
+++ b/chrome/browser/ui/views/external_tab_container_win.cc
@@ -25,7 +25,6 @@
#include "chrome/browser/file_select_helper.h"
#include "chrome/browser/history/history_tab_helper.h"
#include "chrome/browser/history/history_types.h"
-#include "chrome/browser/intents/register_intent_handler_infobar_delegate.h"
#include "chrome/browser/pepper_broker_infobar_delegate.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/repost_form_warning_controller.h"
@@ -52,7 +51,6 @@
#include "content/public/browser/render_process_host.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/bindings_policy.h"
#include "content/public/common/frame_navigate_params.h"
#include "content/public/common/page_transition_types.h"
@@ -811,23 +809,6 @@ void ExternalTabContainerWin::RegisterProtocolHandler(
user_gesture, NULL);
}
-#if defined(ENABLE_WEB_INTENTS)
-void ExternalTabContainerWin::RegisterIntentHandler(
- WebContents* tab,
- const webkit_glue::WebIntentServiceData& data,
- bool user_gesture) {
- RegisterIntentHandlerInfoBarDelegate::Create(tab, data);
-}
-
-void ExternalTabContainerWin::WebIntentDispatch(
- WebContents* tab,
- content::WebIntentsDispatcher* intents_dispatcher) {
- // TODO(binji) How do we want to display the WebIntentPicker bubble if there
- // is no BrowserWindow?
- delete intents_dispatcher;
-}
-#endif
-
void ExternalTabContainerWin::FindReply(WebContents* tab,
int request_id,
int number_of_matches,
« no previous file with comments | « chrome/browser/ui/views/external_tab_container_win.h ('k') | chrome/browser/ui/views/location_bar/location_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698