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

Side by Side Diff: chrome/browser/external_tab_container_win.cc

Issue 7930002: Rename WebIntentData for backend storage to WebIntentServiceData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix class/struct decl Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/external_tab_container_win.h" 5 #include "chrome/browser/external_tab_container_win.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 } 760 }
761 761
762 void ExternalTabContainer::RegisterIntentHandler(TabContents* tab, 762 void ExternalTabContainer::RegisterIntentHandler(TabContents* tab,
763 const string16& action, 763 const string16& action,
764 const string16& type, 764 const string16& type,
765 const string16& href, 765 const string16& href,
766 const string16& title) { 766 const string16& title) {
767 Browser::RegisterIntentHandlerHelper(tab, action, type, href, title); 767 Browser::RegisterIntentHandlerHelper(tab, action, type, href, title);
768 } 768 }
769 769
770 void ExternalTabContainer::WebIntentDispatch(TabContents* tab, 770 void ExternalTabContainer::WebIntentDispatch(
771 int routing_id, 771 TabContents* tab,
772 const string16& action, 772 int routing_id,
773 const string16& type, 773 const webkit_glue::WebIntentData& intent,
774 const string16& data, 774 int intent_id) {
775 int intent_id) {
776 // TODO(binji) How do we want to display the WebIntentPicker bubble if there 775 // TODO(binji) How do we want to display the WebIntentPicker bubble if there
777 // is no BrowserWindow? 776 // is no BrowserWindow?
778 } 777 }
779 778
780 void ExternalTabContainer::FindReply(TabContents* tab, 779 void ExternalTabContainer::FindReply(TabContents* tab,
781 int request_id, 780 int request_id,
782 int number_of_matches, 781 int number_of_matches,
783 const gfx::Rect& selection_rect, 782 const gfx::Rect& selection_rect,
784 int active_match_ordinal, 783 int active_match_ordinal,
785 bool final_update) { 784 bool final_update) {
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 if (params.disposition == CURRENT_TAB) { 1211 if (params.disposition == CURRENT_TAB) {
1213 DCHECK(route_all_top_level_navigations_); 1212 DCHECK(route_all_top_level_navigations_);
1214 forward_params.disposition = NEW_FOREGROUND_TAB; 1213 forward_params.disposition = NEW_FOREGROUND_TAB;
1215 } 1214 }
1216 TabContents* new_contents = 1215 TabContents* new_contents =
1217 ExternalTabContainer::OpenURLFromTab(source, forward_params); 1216 ExternalTabContainer::OpenURLFromTab(source, forward_params);
1218 // support only one navigation for a dummy tab before it is killed. 1217 // support only one navigation for a dummy tab before it is killed.
1219 ::DestroyWindow(GetNativeView()); 1218 ::DestroyWindow(GetNativeView());
1220 return new_contents; 1219 return new_contents;
1221 } 1220 }
OLDNEW
« no previous file with comments | « chrome/browser/external_tab_container_win.h ('k') | chrome/browser/intents/register_intent_handler_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698