adds offscreen renderer ipc message to disable external popups
This commit is contained in:
parent
6b33564056
commit
155fef99ae
4 changed files with 11 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "atom/browser/osr/osr_web_contents_view.h"
|
||||
|
||||
#include "content/common/worker_messages.h"
|
||||
#include "atom/common/api/api_messages.h"
|
||||
#include "content/public/browser/render_view_host.h"
|
||||
#include "third_party/WebKit/public/platform/WebScreenInfo.h"
|
||||
#include "ui/display/screen.h"
|
||||
|
@ -127,8 +127,7 @@ void OffScreenWebContentsView::RenderViewCreated(
|
|||
GetView()->InstallTransparency();
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
host->Send(new WorkerProcessMsg_DisableExternalPopupMenus(
|
||||
host->GetRoutingID()));
|
||||
host->Send(new AtomViewMsg_Offscreen(host->GetRoutingID()));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue