|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
(default)
Class CefBrowserViewDelegate
CefBaseRefCounted
|
+--CefViewDelegate
|
+--CefBrowserViewDelegate
in cef_browser_view_delegate.h
- class CefBrowserViewDelegate
- extends CefViewDelegate
Implement this interface to handle BrowserView events. The methods of this
class will be called on the browser process UI thread unless otherwise
indicated.
GetDelegateForPopupBrowserView
public virtual CefRefPtr< CefBrowserViewDelegate > GetDelegateForPopupBrowserView( CefRefPtr< CefBrowserView > browser_view, const CefBrowserSettings& settings, CefRefPtr< CefClient > client, bool is_devtools );
- Called before a new popup BrowserView is created. The popup originated
from |browser_view|. |settings| and |client| are the values returned from
CefLifeSpanHandler::OnBeforePopup(). |is_devtools| will be true if the
popup will be a DevTools browser. Return the delegate that will be used for
the new popup BrowserView.
OnBrowserCreated
public virtual void OnBrowserCreated( CefRefPtr< CefBrowserView > browser_view, CefRefPtr< CefBrowser > browser );
- Called when |browser| associated with |browser_view| is created. This
method will be called after CefLifeSpanHandler::OnAfterCreated() is called
for |browser| and before OnPopupBrowserViewCreated() is called for
|browser|'s parent delegate if |browser| is a popup.
OnBrowserDestroyed
public virtual void OnBrowserDestroyed( CefRefPtr< CefBrowserView > browser_view, CefRefPtr< CefBrowser > browser );
- Called when |browser| associated with |browser_view| is destroyed. Release
all references to |browser| and do not attempt to execute any methods on
|browser| after this callback returns. This method will be called before
CefLifeSpanHandler::OnBeforeClose() is called for |browser|.
OnPopupBrowserViewCreated
public virtual bool OnPopupBrowserViewCreated( CefRefPtr< CefBrowserView > browser_view, CefRefPtr< CefBrowserView > popup_browser_view, bool is_devtools );
- Called after |popup_browser_view| is created. This method will be called
after CefLifeSpanHandler::OnAfterCreated() and OnBrowserCreated() are
called for the new popup browser. The popup originated from |browser_view|.
|is_devtools| will be true if the popup is a DevTools browser. Optionally
add |popup_browser_view| to the views hierarchy yourself and return true.
Otherwise return false and a default CefWindow will be created for the
popup.
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt