示例#1
0
        public CefWindowInfoWindowsImpl(cef_window_info_t* ptr)
            : base(false)
        {
            if (CefRuntime.Platform != CefRuntimePlatform.Windows)
                throw new InvalidOperationException();

            _self = (cef_window_info_t_windows*)ptr;
        }
示例#2
0
 public CefWindowInfoWindowsImpl()
     : base(true)
 {
     _self = cef_window_info_t_windows.Alloc();
 }
示例#3
0
 protected internal override void DisposeNativePointer()
 {
     cef_window_info_t_windows.Free(_self);
     _self = null;
 }