protected CefResourceHandler() { _self = cef_resource_handler_t.Alloc(); _ds0 = new cef_resource_handler_t.add_ref_delegate(add_ref); _self->_base._add_ref = Marshal.GetFunctionPointerForDelegate(_ds0); _ds1 = new cef_resource_handler_t.release_delegate(release); _self->_base._release = Marshal.GetFunctionPointerForDelegate(_ds1); _ds2 = new cef_resource_handler_t.has_one_ref_delegate(has_one_ref); _self->_base._has_one_ref = Marshal.GetFunctionPointerForDelegate(_ds2); _ds3 = new cef_resource_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_resource_handler_t.process_request_delegate(process_request); _self->_process_request = Marshal.GetFunctionPointerForDelegate(_ds4); _ds5 = new cef_resource_handler_t.get_response_headers_delegate(get_response_headers); _self->_get_response_headers = Marshal.GetFunctionPointerForDelegate(_ds5); _ds6 = new cef_resource_handler_t.read_response_delegate(read_response); _self->_read_response = Marshal.GetFunctionPointerForDelegate(_ds6); _ds7 = new cef_resource_handler_t.can_get_cookie_delegate(can_get_cookie); _self->_can_get_cookie = Marshal.GetFunctionPointerForDelegate(_ds7); _ds8 = new cef_resource_handler_t.can_set_cookie_delegate(can_set_cookie); _self->_can_set_cookie = Marshal.GetFunctionPointerForDelegate(_ds8); _ds9 = new cef_resource_handler_t.cancel_delegate(cancel); _self->_cancel = Marshal.GetFunctionPointerForDelegate(_ds9); }
protected CefResourceHandler() { _self = cef_resource_handler_t.Alloc(); _ds0 = new cef_resource_handler_t.add_ref_delegate(add_ref); _self->_base._add_ref = Marshal.GetFunctionPointerForDelegate(_ds0); _ds1 = new cef_resource_handler_t.release_delegate(release); _self->_base._release = Marshal.GetFunctionPointerForDelegate(_ds1); _ds2 = new cef_resource_handler_t.has_one_ref_delegate(has_one_ref); _self->_base._has_one_ref = Marshal.GetFunctionPointerForDelegate(_ds2); _ds3 = new cef_resource_handler_t.process_request_delegate(process_request); _self->_process_request = Marshal.GetFunctionPointerForDelegate(_ds3); _ds4 = new cef_resource_handler_t.get_response_headers_delegate(get_response_headers); _self->_get_response_headers = Marshal.GetFunctionPointerForDelegate(_ds4); _ds5 = new cef_resource_handler_t.read_response_delegate(read_response); _self->_read_response = Marshal.GetFunctionPointerForDelegate(_ds5); _ds6 = new cef_resource_handler_t.can_get_cookie_delegate(can_get_cookie); _self->_can_get_cookie = Marshal.GetFunctionPointerForDelegate(_ds6); _ds7 = new cef_resource_handler_t.can_set_cookie_delegate(can_set_cookie); _self->_can_set_cookie = Marshal.GetFunctionPointerForDelegate(_ds7); _ds8 = new cef_resource_handler_t.cancel_delegate(cancel); _self->_cancel = Marshal.GetFunctionPointerForDelegate(_ds8); }