Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 4023c19829043fc3e1ed8f15ab2028fcefc22cc7..f630bb543453456159f60aeb57f3c0167dffe7f4 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -2573,7 +2573,8 @@ void Browser::RegisterIntentHandlerHelper(TabContents* tab, |
const string16& action, |
const string16& type, |
const string16& href, |
- const string16& title) { |
+ const string16& title, |
+ const string16& disposition) { |
TabContentsWrapper* tcw = TabContentsWrapper::GetCurrentWrapperForContents( |
tab); |
if (!tcw || tcw->profile()->IsOffTheRecord()) |
@@ -2593,6 +2594,8 @@ void Browser::RegisterIntentHandlerHelper(TabContents* tab, |
service.action = action; |
service.type = type; |
service.title = title; |
+ service.setDisposition(disposition); |
+ |
InfoBarTabHelper* infobar_helper = tcw->infobar_tab_helper(); |
infobar_helper->AddInfoBar(new RegisterIntentHandlerInfoBarDelegate( |
infobar_helper, |
@@ -3974,8 +3977,9 @@ void Browser::RegisterIntentHandler(TabContents* tab, |
const string16& action, |
const string16& type, |
const string16& href, |
- const string16& title) { |
- RegisterIntentHandlerHelper(tab, action, type, href, title); |
+ const string16& title, |
+ const string16& disposition) { |
+ RegisterIntentHandlerHelper(tab, action, type, href, title, disposition); |
} |
void Browser::WebIntentDispatch(TabContents* tab, |