Exemplo n.º 1
0
        public static void notify_screen_info_changed(cef_browser_host_t *self)
        {
            notify_screen_info_changed_delegate d;
            var p = self->_notify_screen_info_changed;

            if (p == _p19)
            {
                d = _d19;
            }
            else
            {
                d = (notify_screen_info_changed_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(notify_screen_info_changed_delegate));
                if (_p19 == IntPtr.Zero)
                {
                    _d19 = d; _p19 = p;
                }
            }
            d(self);
        }
Exemplo n.º 2
0
 public static void notify_screen_info_changed(cef_browser_host_t* self)
 {
     notify_screen_info_changed_delegate d;
     var p = self->_notify_screen_info_changed;
     if (p == _p1a) { d = _d1a; }
     else
     {
         d = (notify_screen_info_changed_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(notify_screen_info_changed_delegate));
         if (_p1a == IntPtr.Zero) { _d1a = d; _p1a = p; }
     }
     d(self);
 }