// TODO: functions from cef_trace_event.h (not generated automatically) #endregion #region cef_parser // Methods from cef_parser.h. /// <summary> /// Parse the specified |url| into its component parts. /// Returns false if the URL is empty or invalid. /// </summary> public static bool ParseUrl(string url, out CefUrlParts parts) { fixed(char *url_str = url) { var n_url = new cef_string_t(url_str, url != null ? url.Length : 0); var n_parts = new cef_urlparts_t(); var result = libcef.parse_url(&n_url, &n_parts) != 0; parts = result ? CefUrlParts.FromNative(&n_parts) : null; cef_urlparts_t.Clear(&n_parts); return(result); } }