protected CefDisplayHandler() { _self = cef_display_handler_t.Alloc(); _ds0 = new cef_display_handler_t.add_ref_delegate(add_ref); _self->_base._add_ref = Marshal.GetFunctionPointerForDelegate(_ds0); _ds1 = new cef_display_handler_t.release_delegate(release); _self->_base._release = Marshal.GetFunctionPointerForDelegate(_ds1); _ds2 = new cef_display_handler_t.has_one_ref_delegate(has_one_ref); _self->_base._has_one_ref = Marshal.GetFunctionPointerForDelegate(_ds2); _ds3 = new cef_display_handler_t.has_at_least_one_ref_delegate(has_at_least_one_ref); _self->_base._has_at_least_one_ref = Marshal.GetFunctionPointerForDelegate(_ds3); _ds4 = new cef_display_handler_t.on_address_change_delegate(on_address_change); _self->_on_address_change = Marshal.GetFunctionPointerForDelegate(_ds4); _ds5 = new cef_display_handler_t.on_title_change_delegate(on_title_change); _self->_on_title_change = Marshal.GetFunctionPointerForDelegate(_ds5); _ds6 = new cef_display_handler_t.on_favicon_urlchange_delegate(on_favicon_urlchange); _self->_on_favicon_urlchange = Marshal.GetFunctionPointerForDelegate(_ds6); _ds7 = new cef_display_handler_t.on_fullscreen_mode_change_delegate(on_fullscreen_mode_change); _self->_on_fullscreen_mode_change = Marshal.GetFunctionPointerForDelegate(_ds7); _ds8 = new cef_display_handler_t.on_tooltip_delegate(on_tooltip); _self->_on_tooltip = Marshal.GetFunctionPointerForDelegate(_ds8); _ds9 = new cef_display_handler_t.on_status_message_delegate(on_status_message); _self->_on_status_message = Marshal.GetFunctionPointerForDelegate(_ds9); _dsa = new cef_display_handler_t.on_console_message_delegate(on_console_message); _self->_on_console_message = Marshal.GetFunctionPointerForDelegate(_dsa); _dsb = new cef_display_handler_t.on_auto_resize_delegate(on_auto_resize); _self->_on_auto_resize = Marshal.GetFunctionPointerForDelegate(_dsb); _dsc = new cef_display_handler_t.on_loading_progress_change_delegate(on_loading_progress_change); _self->_on_loading_progress_change = Marshal.GetFunctionPointerForDelegate(_dsc); }
protected CefDisplayHandler() { _self = cef_display_handler_t.Alloc(); _ds0 = new cef_display_handler_t.add_ref_delegate(add_ref); _self->_base._add_ref = Marshal.GetFunctionPointerForDelegate(_ds0); _ds1 = new cef_display_handler_t.release_delegate(release); _self->_base._release = Marshal.GetFunctionPointerForDelegate(_ds1); _ds2 = new cef_display_handler_t.get_refct_delegate(get_refct); _self->_base._get_refct = Marshal.GetFunctionPointerForDelegate(_ds2); _ds3 = new cef_display_handler_t.on_address_change_delegate(on_address_change); _self->_on_address_change = Marshal.GetFunctionPointerForDelegate(_ds3); _ds4 = new cef_display_handler_t.on_title_change_delegate(on_title_change); _self->_on_title_change = Marshal.GetFunctionPointerForDelegate(_ds4); _ds5 = new cef_display_handler_t.on_tooltip_delegate(on_tooltip); _self->_on_tooltip = Marshal.GetFunctionPointerForDelegate(_ds5); _ds6 = new cef_display_handler_t.on_status_message_delegate(on_status_message); _self->_on_status_message = Marshal.GetFunctionPointerForDelegate(_ds6); _ds7 = new cef_display_handler_t.on_console_message_delegate(on_console_message); _self->_on_console_message = Marshal.GetFunctionPointerForDelegate(_ds7); }