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); }
/// <summary> /// Returns the browser host object. This method can only be called in the /// browser process. /// </summary> public CefBrowserHost GetHost() { return(CefBrowserHost.FromNative( cef_browser_t.get_host(_self) )); }