Skip to content
API Documentation
BastionGuard™
SecureBrowserViewDelegate Class Reference
Inheritance diagram for SecureBrowserViewDelegate:

Public Member Functions

CefRefPtr< CefBrowserViewDelegate > GetDelegateForPopupBrowserView (CefRefPtr< CefBrowserView >, const CefBrowserSettings &, CefRefPtr< CefClient >, bool) override
bool OnPopupBrowserViewCreated (CefRefPtr< CefBrowserView >, CefRefPtr< CefBrowserView > popup_browser_view, bool is_devtools) override
 IMPLEMENT_REFCOUNTING (SecureBrowserViewDelegate)

Detailed Description

Definition at line 494 of file SecureBrowser.cpp.

Member Function Documentation

◆ GetDelegateForPopupBrowserView()

CefRefPtr< CefBrowserViewDelegate > SecureBrowserViewDelegate::GetDelegateForPopupBrowserView ( CefRefPtr< CefBrowserView > ,
const CefBrowserSettings & ,
CefRefPtr< CefClient > ,
bool  )
inlineoverride

Definition at line 496 of file SecureBrowser.cpp.

500 {
501 // Riusa lo stesso delegate anche per eventuali popup annidati.
502 return this;
503 }

◆ IMPLEMENT_REFCOUNTING()

SecureBrowserViewDelegate::IMPLEMENT_REFCOUNTING ( SecureBrowserViewDelegate )

◆ OnPopupBrowserViewCreated()

bool SecureBrowserViewDelegate::OnPopupBrowserViewCreated ( CefRefPtr< CefBrowserView > ,
CefRefPtr< CefBrowserView > popup_browser_view,
bool is_devtools )
inlineoverride

Definition at line 505 of file SecureBrowser.cpp.

508 {
509 CEF_REQUIRE_UI_THREAD();
510
511 if (is_devtools || !popup_browser_view)
512 return false;
513
514 CefWindow::CreateTopLevelWindow(
515 new SecurePopupWindowDelegate(popup_browser_view));
516
517 // La finestra e' stata creata da BastionGuard: evita la finestra popup
518 // predefinita di CEF/Chromium.
519 return true;
520 }
SecurePopupWindowDelegate(CefRefPtr< CefBrowserView > view)

References SecurePopupWindowDelegate::SecurePopupWindowDelegate().


The documentation for this class was generated from the following file: