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

Unified Diff: chrome/browser/external_tab_container_win.cc

Issue 7745027: Dispatch the following IPC messages in TabContents and handle them via the TabContentsDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « chrome/browser/external_tab_container_win.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/external_tab_container_win.cc
===================================================================
--- chrome/browser/external_tab_container_win.cc (revision 98271)
+++ chrome/browser/external_tab_container_win.cc (working copy)
@@ -745,6 +745,35 @@
Browser::EnumerateDirectoryHelper(tab, request_id, path);
}
+void ExternalTabContainer::JSOutOfMemory(TabContents* tab) {
+ Browser::JSOutOfMemoryHelper(tab);
+}
+
+void ExternalTabContainer::RegisterProtocolHandler(TabContents* tab,
+ const std::string& protocol,
+ const GURL& url,
+ const string16& title) {
+ Browser::RegisterProtocolHandlerHelper(tab, protocol, url, title);
+}
+
+void ExternalTabContainer::RegisterIntentHandler(TabContents* tab,
+ const string16& action,
+ const string16& type,
+ const string16& href,
+ const string16& title) {
+ Browser::RegisterIntentHandlerHelper(tab, action, type, href, title);
+}
+
+void ExternalTabContainer::WebIntentDispatch(TabContents* tab,
+ int routing_id,
+ const string16& action,
+ const string16& type,
+ const string16& data,
+ int intent_id) {
+ Browser::WebIntentDispatchHelper(tab, routing_id, action, type, data,
+ intent_id);
+}
+
bool ExternalTabContainer::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(ExternalTabContainer, message)
« no previous file with comments | « chrome/browser/external_tab_container_win.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698