| Index: chrome/browser/extensions/extension_view_host.cc
|
| diff --git a/chrome/browser/extensions/extension_view_host.cc b/chrome/browser/extensions/extension_view_host.cc
|
| index d36b3d000fc5e8b7ece9b016b5483771b427f481..615e13cd8abf6e28db278d05fbf2ccec1f60db9e 100644
|
| --- a/chrome/browser/extensions/extension_view_host.cc
|
| +++ b/chrome/browser/extensions/extension_view_host.cc
|
| @@ -148,13 +148,13 @@ WebContents* ExtensionViewHost::OpenURLFromTab(
|
| const OpenURLParams& params) {
|
| // Whitelist the dispositions we will allow to be opened.
|
| switch (params.disposition) {
|
| - case SINGLETON_TAB:
|
| - case NEW_FOREGROUND_TAB:
|
| - case NEW_BACKGROUND_TAB:
|
| - case NEW_POPUP:
|
| - case NEW_WINDOW:
|
| - case SAVE_TO_DISK:
|
| - case OFF_THE_RECORD: {
|
| + case WindowOpenDisposition::SINGLETON_TAB:
|
| + case WindowOpenDisposition::NEW_FOREGROUND_TAB:
|
| + case WindowOpenDisposition::NEW_BACKGROUND_TAB:
|
| + case WindowOpenDisposition::NEW_POPUP:
|
| + case WindowOpenDisposition::NEW_WINDOW:
|
| + case WindowOpenDisposition::SAVE_TO_DISK:
|
| + case WindowOpenDisposition::OFF_THE_RECORD: {
|
| // Only allow these from hosts that are bound to a browser (e.g. popups).
|
| // Otherwise they are not driven by a user gesture.
|
| Browser* browser = view_->GetBrowser();
|
|
|