// void (*)(_cef_browser_process_handler_t* self, _cef_list_value_t* extra_info)*
        private static unsafe void OnRenderProcessThreadCreatedImpl(cef_browser_process_handler_t *self, cef_list_value_t *extra_info)
        {
            var instance = GetInstance((IntPtr)self) as CefBrowserProcessHandler;

            if (instance == null || ((ICefBrowserProcessHandlerPrivate)instance).AvoidOnRenderProcessThreadCreated())
            {
                ReleaseIfNonNull((cef_base_ref_counted_t *)extra_info);
                return;
            }
            instance.OnRenderProcessThreadCreated(CefListValue.Wrap(CefListValue.Create, extra_info));
        }
Esempio n. 2
0
        /// <summary>
        /// Returns the value at the specified key as type list. The returned value
        /// will reference existing data and modifications to the value will modify
        /// this object.
        /// </summary>
        public unsafe virtual CefListValue GetList(string key)
        {
            fixed(char *s0 = key)
            {
                var cstr0 = new cef_string_t {
                    Str = s0, Length = key != null ? key.Length : 0
                };

                return(SafeCall(CefListValue.Wrap(CefListValue.Create, NativeInstance->GetList(&cstr0))));
            }
        }
Esempio n. 3
0
 /// <summary>
 /// Returns a writable copy of this object.
 /// </summary>
 public unsafe virtual CefListValue Copy()
 {
     return(SafeCall(CefListValue.Wrap(CefListValue.Create, NativeInstance->Copy())));
 }
Esempio n. 4
0
 /// <summary>
 /// Returns the value at the specified index as type list. The returned value
 /// will reference existing data and modifications to the value will modify
 /// this object.
 /// </summary>
 public unsafe virtual CefListValue GetList(long index)
 {
     return(SafeCall(CefListValue.Wrap(CefListValue.Create, NativeInstance->GetList(new UIntPtr((ulong)index)))));
 }