mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add support for creating and parsing URLs (issue #181).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@177 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -159,3 +159,15 @@ bool CefPostDelayedTask(CefThreadId threadId, CefRefPtr<CefTask> task,
|
||||
return cef_post_delayed_task(threadId, CefTaskCppToC::Wrap(task), delay_ms)?
|
||||
true:false;
|
||||
}
|
||||
|
||||
bool CefParseURL(const CefString& url,
|
||||
CefURLParts& parts)
|
||||
{
|
||||
return cef_parse_url(url.GetStruct(), &parts) ? true : false;
|
||||
}
|
||||
|
||||
bool CefCreateURL(const CefURLParts& parts,
|
||||
CefString& url)
|
||||
{
|
||||
return cef_create_url(&parts, url.GetWritableStruct()) ? true : false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user