The OpenD Programming Language

cef_display_handler_t.on_auto_resize

Called when auto-resize is enabled via

More...
struct cef_display_handler_t
extern (System)
int function(cef_display_handler_t* self, cef_browser_t* browser, const(cef_size_t)* new_size) nothrow on_auto_resize;

Detailed Description

cef browser host t

:SetAutoResizeEnabled and the contents have auto- resized. |new_size| will be the desired size in view coordinates. Return true (1) if the resize was handled or false (0) for default handling.

Meta