public static extern void cef_string_list_clear(cef_string_list *list);
public static extern void cef_string_list_free(cef_string_list *list);
public static extern int cef_string_list_value(cef_string_list *list, int index, ref cef_string_t value);
public static extern void cef_string_list_append(cef_string_list *list, cef_string_t *value);
/// <summary> /// Create new string list filled with values from collection. /// </summary> public CefStringList(IEnumerable<string> collection) { this.handle = CreateHandle(collection); this.ownsHandle = true; }
public static void cont(cef_file_dialog_callback_t *self, int selected_accept_filter, cef_string_list *file_paths) { cont_delegate d; var p = self->_cont; if (p == _p4) { d = _d4; } else { d = (cont_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(cont_delegate)); if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; } } d(self, selected_accept_filter, file_paths); }
private void on_resolve_completed(cef_resolve_callback_t *self, CefErrorCode result, cef_string_list *resolved_ips) { CheckSelf(self); var mResolvedIps = cef_string_list.ToArray(resolved_ips); OnResolveCompleted(result, mResolvedIps); }
private void Dispose(bool disposing) { if (this.handle != null) { if (this.ownsHandle) { DestroyHandle(this.handle); } this.handle = null; } }
/// <summary> /// Retrieve the list of organization unit names. /// </summary> public void GetOrganizationUnitNames(cef_string_list *names) { throw new NotImplementedException(); // TODO: CefSslCertPrincipal.GetOrganizationUnitNames }
/// <summary> /// Retrieve the list of domain components. /// </summary> public void GetDomainComponents(cef_string_list *components) { throw new NotImplementedException(); // TODO: CefSslCertPrincipal.GetDomainComponents }
/// <summary> /// Retrieve the list of street addresses. /// </summary> public void GetStreetAddresses(cef_string_list *addresses) { throw new NotImplementedException(); // TODO: CefSslCertPrincipal.GetStreetAddresses }
/// <summary> /// Retrieve the original command line string as a vector of strings. /// The argv array: { program, [(--|-|/)switch[=value]]*, [--], [argument]* } /// </summary> public void GetArgv(cef_string_list *argv) { throw new NotImplementedException(); // TODO: CefCommandLine.GetArgv }
public static void get_organization_unit_names(cef_x509cert_principal_t *self, cef_string_list *names) { get_organization_unit_names_delegate d; var p = self->_get_organization_unit_names; if (p == _pb) { d = _db; } else { d = (get_organization_unit_names_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_organization_unit_names_delegate)); if (_pb == IntPtr.Zero) { _db = d; _pb = p; } } d(self, names); }
public static extern cef_string_list *cef_string_list_copy(cef_string_list *list);
private void cont(cef_run_file_dialog_callback_t *self, cef_browser_host_t *browser_host, cef_string_list *file_paths) { CheckSelf(self); var mBrowserHost = CefBrowserHost.FromNative(browser_host); var mFilePaths = cef_string_list.ToArray(file_paths); OnFileDialogDismissed(mBrowserHost, mFilePaths); }
public static int get_dictionary_suggestions(cef_context_menu_params_t *self, cef_string_list *suggestions) { get_dictionary_suggestions_delegate d; var p = self->_get_dictionary_suggestions; if (p == _p12) { d = _d12; } else { d = (get_dictionary_suggestions_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_dictionary_suggestions_delegate)); if (_p12 == IntPtr.Zero) { _d12 = d; _p12 = p; } } return(d(self, suggestions)); }
/// <summary> /// Called when the Favicon URL for a page changes. /// </summary> private void on_favicon_urlchange(cef_display_handler_t *self, cef_browser_t *browser, cef_string_list *icon_urls) { ThrowIfObjectDisposed(); var m_browser = CefBrowser.From(browser); var m_icon_urls = CefStringList.From(icon_urls); this.OnFaviconChange(m_browser, m_icon_urls); }
/// <summary> /// Create new empty string list. /// </summary> public CefStringList() { this.handle = CreateHandle(); this.ownsHandle = true; }
public static extern int cef_string_list_size(cef_string_list *list);
/// <summary> /// Create string list wrapper. /// </summary> private CefStringList(cef_string_list* list, bool ownsHandle = false) { this.handle = list; this.ownsHandle = ownsHandle; }
public static extern void get_extensions_for_mime_type(cef_string_t *mime_type, cef_string_list *extensions);