protected CefJSDialogHandler() { _self = cef_jsdialog_handler_t.Alloc(); _ds0 = new cef_jsdialog_handler_t.add_ref_delegate(add_ref); _self->_base._add_ref = Marshal.GetFunctionPointerForDelegate(_ds0); _ds1 = new cef_jsdialog_handler_t.release_delegate(release); _self->_base._release = Marshal.GetFunctionPointerForDelegate(_ds1); _ds2 = new cef_jsdialog_handler_t.get_refct_delegate(get_refct); _self->_base._get_refct = Marshal.GetFunctionPointerForDelegate(_ds2); _ds3 = new cef_jsdialog_handler_t.on_jsdialog_delegate(on_jsdialog); _self->_on_jsdialog = Marshal.GetFunctionPointerForDelegate(_ds3); _ds4 = new cef_jsdialog_handler_t.on_before_unload_dialog_delegate(on_before_unload_dialog); _self->_on_before_unload_dialog = Marshal.GetFunctionPointerForDelegate(_ds4); _ds5 = new cef_jsdialog_handler_t.on_reset_dialog_state_delegate(on_reset_dialog_state); _self->_on_reset_dialog_state = Marshal.GetFunctionPointerForDelegate(_ds5); }
protected CefJSDialogHandler() { _self = cef_jsdialog_handler_t.Alloc(); _ds0 = new cef_jsdialog_handler_t.add_ref_delegate(add_ref); _self->_base._add_ref = Marshal.GetFunctionPointerForDelegate(_ds0); _ds1 = new cef_jsdialog_handler_t.release_delegate(release); _self->_base._release = Marshal.GetFunctionPointerForDelegate(_ds1); _ds2 = new cef_jsdialog_handler_t.has_one_ref_delegate(has_one_ref); _self->_base._has_one_ref = Marshal.GetFunctionPointerForDelegate(_ds2); _ds3 = new cef_jsdialog_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_jsdialog_handler_t.on_jsdialog_delegate(on_jsdialog); _self->_on_jsdialog = Marshal.GetFunctionPointerForDelegate(_ds4); _ds5 = new cef_jsdialog_handler_t.on_before_unload_dialog_delegate(on_before_unload_dialog); _self->_on_before_unload_dialog = Marshal.GetFunctionPointerForDelegate(_ds5); _ds6 = new cef_jsdialog_handler_t.on_reset_dialog_state_delegate(on_reset_dialog_state); _self->_on_reset_dialog_state = Marshal.GetFunctionPointerForDelegate(_ds6); _ds7 = new cef_jsdialog_handler_t.on_dialog_closed_delegate(on_dialog_closed); _self->_on_dialog_closed = Marshal.GetFunctionPointerForDelegate(_ds7); }