|
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 |
CefBaseRefCounted | +--CefViewDelegate | +--CefPanelDelegate | +--CefWindowDelegatein cef_window_delegate.h
Implement this interface to handle window events. The methods of this class will be called on the browser process UI thread unless otherwise indicated.
Method Summary | |
virtual bool |
CanClose( CefRefPtr< CefWindow > window )
Return true if |window| can be closed. |
virtual bool |
CanMaximize( CefRefPtr< CefWindow > window )
Return true if |window| can be maximized. |
virtual bool |
CanMinimize( CefRefPtr< CefWindow > window )
Return true if |window| can be minimized. |
virtual bool |
CanResize( CefRefPtr< CefWindow > window )
Return true if |window| can be resized. |
virtual CefRefPtr< CefWindow > |
GetParentWindow( CefRefPtr< CefWindow > window, bool* is_menu, bool* can_activate_menu )
Return the parent for |window| or NULL if the |window| does not have a parent. |
virtual bool |
IsFrameless( CefRefPtr< CefWindow > window )
Return true if |window| should be created without a frame or title bar. |
virtual bool |
OnAccelerator( CefRefPtr< CefWindow > window, int command_id )
Called when a keyboard accelerator registered with CefWindow::SetAccelerator is triggered. |
virtual bool |
OnKeyEvent( CefRefPtr< CefWindow > window, const CefKeyEvent& event )
Called after all other controls in the window have had a chance to handle the event. |
virtual void |
OnWindowCreated( CefRefPtr< CefWindow > window )
Called when |window| is created. |
virtual void |
OnWindowDestroyed( CefRefPtr< CefWindow > window )
Called when |window| is destroyed. |
Methods inherited from class CefViewDelegate |
GetPreferredSize, GetMinimumSize, GetMaximumSize, GetHeightForWidth, OnParentViewChanged, OnChildViewChanged, OnFocus, OnBlur |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual bool CanClose( CefRefPtr< CefWindow > window );
public virtual bool CanMaximize( CefRefPtr< CefWindow > window );
public virtual bool CanMinimize( CefRefPtr< CefWindow > window );
public virtual bool CanResize( CefRefPtr< CefWindow > window );
public virtual CefRefPtr< CefWindow > GetParentWindow( CefRefPtr< CefWindow > window, bool* is_menu, bool* can_activate_menu );
public virtual bool IsFrameless( CefRefPtr< CefWindow > window );
public virtual bool OnAccelerator( CefRefPtr< CefWindow > window, int command_id );
public virtual bool OnKeyEvent( CefRefPtr< CefWindow > window, const CefKeyEvent& event );
public virtual void OnWindowCreated( CefRefPtr< CefWindow > window );
public virtual void OnWindowDestroyed( CefRefPtr< CefWindow > window );
|
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 |