public static void parent_window_will_close(cef_browser_host_t *self)
        {
            parent_window_will_close_delegate d;
            var p = self->_parent_window_will_close;

            if (p == _p4)
            {
                d = _d4;
            }
            else
            {
                d = (parent_window_will_close_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(parent_window_will_close_delegate));
                if (_p4 == IntPtr.Zero)
                {
                    _d4 = d; _p4 = p;
                }
            }
            d(self);
        }
 public static void parent_window_will_close(cef_browser_host_t* self)
 {
     parent_window_will_close_delegate d;
     var p = self->_parent_window_will_close;
     if (p == _p4) { d = _d4; }
     else
     {
         d = (parent_window_will_close_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(parent_window_will_close_delegate));
         if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; }
     }
     d(self);
 }