Beispiel #1
0
        protected CefBrowserProcessHandler()
        {
            _self = cef_browser_process_handler_t.Alloc();

            _ds0 = new cef_browser_process_handler_t.add_ref_delegate(add_ref);
            _self->_base._add_ref = Marshal.GetFunctionPointerForDelegate(_ds0);
            _ds1 = new cef_browser_process_handler_t.release_delegate(release);
            _self->_base._release = Marshal.GetFunctionPointerForDelegate(_ds1);
            _ds2 = new cef_browser_process_handler_t.has_one_ref_delegate(has_one_ref);
            _self->_base._has_one_ref = Marshal.GetFunctionPointerForDelegate(_ds2);
            _ds3 = new cef_browser_process_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_browser_process_handler_t.get_cookieable_schemes_delegate(get_cookieable_schemes);
            _self->_get_cookieable_schemes = Marshal.GetFunctionPointerForDelegate(_ds4);
            _ds5 = new cef_browser_process_handler_t.on_context_initialized_delegate(on_context_initialized);
            _self->_on_context_initialized = Marshal.GetFunctionPointerForDelegate(_ds5);
            _ds6 = new cef_browser_process_handler_t.on_before_child_process_launch_delegate(on_before_child_process_launch);
            _self->_on_before_child_process_launch = Marshal.GetFunctionPointerForDelegate(_ds6);
            _ds7 = new cef_browser_process_handler_t.get_print_handler_delegate(get_print_handler);
            _self->_get_print_handler = Marshal.GetFunctionPointerForDelegate(_ds7);
            _ds8 = new cef_browser_process_handler_t.on_schedule_message_pump_work_delegate(on_schedule_message_pump_work);
            _self->_on_schedule_message_pump_work = Marshal.GetFunctionPointerForDelegate(_ds8);
            _ds9 = new cef_browser_process_handler_t.get_default_client_delegate(get_default_client);
            _self->_get_default_client = Marshal.GetFunctionPointerForDelegate(_ds9);
        }
Beispiel #2
0
        protected CefBrowserProcessHandler()
        {
            _self = cef_browser_process_handler_t.Alloc();

            _ds0 = new cef_browser_process_handler_t.add_ref_delegate(add_ref);
            _self->_base._add_ref = Marshal.GetFunctionPointerForDelegate(_ds0);
            _ds1 = new cef_browser_process_handler_t.release_delegate(release);
            _self->_base._release = Marshal.GetFunctionPointerForDelegate(_ds1);
            _ds2 = new cef_browser_process_handler_t.get_refct_delegate(get_refct);
            _self->_base._get_refct = Marshal.GetFunctionPointerForDelegate(_ds2);
            _ds3 = new cef_browser_process_handler_t.on_context_initialized_delegate(on_context_initialized);
            _self->_on_context_initialized = Marshal.GetFunctionPointerForDelegate(_ds3);
            _ds4 = new cef_browser_process_handler_t.on_before_child_process_launch_delegate(on_before_child_process_launch);
            _self->_on_before_child_process_launch = Marshal.GetFunctionPointerForDelegate(_ds4);
            _ds5 = new cef_browser_process_handler_t.on_render_process_thread_created_delegate(on_render_process_thread_created);
            _self->_on_render_process_thread_created = Marshal.GetFunctionPointerForDelegate(_ds5);
            _ds6 = new cef_browser_process_handler_t.get_print_handler_delegate(get_print_handler);
            _self->_get_print_handler = Marshal.GetFunctionPointerForDelegate(_ds6);
        }
 protected CefBrowserProcessHandler()
 {
     _self = cef_browser_process_handler_t.Alloc();
 
     _ds0 = new cef_browser_process_handler_t.add_ref_delegate(add_ref);
     _self->_base._add_ref = Marshal.GetFunctionPointerForDelegate(_ds0);
     _ds1 = new cef_browser_process_handler_t.release_delegate(release);
     _self->_base._release = Marshal.GetFunctionPointerForDelegate(_ds1);
     _ds2 = new cef_browser_process_handler_t.has_one_ref_delegate(has_one_ref);
     _self->_base._has_one_ref = Marshal.GetFunctionPointerForDelegate(_ds2);
     _ds3 = new cef_browser_process_handler_t.on_context_initialized_delegate(on_context_initialized);
     _self->_on_context_initialized = Marshal.GetFunctionPointerForDelegate(_ds3);
     _ds4 = new cef_browser_process_handler_t.on_before_child_process_launch_delegate(on_before_child_process_launch);
     _self->_on_before_child_process_launch = Marshal.GetFunctionPointerForDelegate(_ds4);
     _ds5 = new cef_browser_process_handler_t.on_render_process_thread_created_delegate(on_render_process_thread_created);
     _self->_on_render_process_thread_created = Marshal.GetFunctionPointerForDelegate(_ds5);
     _ds6 = new cef_browser_process_handler_t.get_print_handler_delegate(get_print_handler);
     _self->_get_print_handler = Marshal.GetFunctionPointerForDelegate(_ds6);
 }