| Index: chrome/browser/extensions/extension_host.cc
|
| diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
|
| index a47c8ebeaabff3d4a7a2febf1548843cf5b9f13e..5e5f4fc408a1ea6329f1f50da94d65e0eda0e075 100644
|
| --- a/chrome/browser/extensions/extension_host.cc
|
| +++ b/chrome/browser/extensions/extension_host.cc
|
| @@ -404,6 +404,10 @@ void ExtensionHost::CloseContents(WebContents* contents) {
|
| }
|
| }
|
|
|
| +bool ExtensionHost::ShouldSuppressDialogs() {
|
| + return extension_->is_platform_app();
|
| +}
|
| +
|
| WebContents* ExtensionHost::OpenURLFromTab(WebContents* source,
|
| const OpenURLParams& params) {
|
| // Whitelist the dispositions we will allow to be opened.
|
|
|