mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add find in page support.
- Fix loading of resources from libcef.dll (Issue 76). - Fix leak of CefMessageLoopForUI object when not in multi threaded message loop mode. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@88 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -176,6 +176,24 @@ void CefBrowserCToCpp::GetFrameNames(std::vector<std::wstring>& names)
|
||||
cef_string_list_free(list);
|
||||
}
|
||||
|
||||
void CefBrowserCToCpp::Find(int identifier, const std::wstring& searchText,
|
||||
bool forward, bool matchCase, bool findNext)
|
||||
{
|
||||
if(CEF_MEMBER_MISSING(struct_, find))
|
||||
return;
|
||||
|
||||
struct_->find(struct_, identifier, searchText.c_str(), forward,
|
||||
matchCase, findNext);
|
||||
}
|
||||
|
||||
void CefBrowserCToCpp::StopFinding(bool clearSelection)
|
||||
{
|
||||
if(CEF_MEMBER_MISSING(struct_, stop_finding))
|
||||
return;
|
||||
|
||||
struct_->stop_finding(struct_, clearSelection);
|
||||
}
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
long CefCToCpp<CefBrowserCToCpp, CefBrowser, cef_browser_t>::DebugObjCt = 0;
|
||||
|
Reference in New Issue
Block a user