| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 30b0471e693c2d16a7f03d70f7630cd547fbde2b..2f79c40b7efebc804bdfcdd75ca949b44133cc34 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -2572,7 +2572,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())
|
| @@ -2592,6 +2593,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,
|
| @@ -3955,8 +3958,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,
|
|
|