| Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| index c530e82bde81dccf45383e65a34b7626352b1f6f..2a35f2c1d8715e6d8aab6221edc1917f4780aca5 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -931,6 +931,9 @@ bool ChromeClientImpl::HasOpenedPopup() const {
|
|
|
| PopupMenu* ChromeClientImpl::OpenPopupMenu(LocalFrame& frame,
|
| HTMLSelectElement& select) {
|
| + if (frame.GetDocument()->GetSettings()->GetPagePopupsSuppressed())
|
| + return nullptr;
|
| +
|
| NotifyPopupOpeningObservers();
|
| if (WebViewBase::UseExternalPopupMenus())
|
| return new ExternalPopupMenu(frame, select, *web_view_);
|
|
|