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:
@@ -725,6 +725,21 @@ void BrowserWebViewDelegate::willSendRequest(
|
||||
request.setRequestorID(browser_->UIT_GetUniqueID());
|
||||
}
|
||||
|
||||
void BrowserWebViewDelegate::reportFindInPageMatchCount(
|
||||
int request_id, int count, bool final_update)
|
||||
{
|
||||
browser_->UIT_NotifyFindStatus(request_id, count, gfx::Rect(),
|
||||
-1, // // Don't update active match ordinal.
|
||||
final_update);
|
||||
}
|
||||
|
||||
void BrowserWebViewDelegate::reportFindInPageSelection(
|
||||
int request_id, int active_match_ordinal, const WebKit::WebRect& sel)
|
||||
{
|
||||
browser_->UIT_NotifyFindStatus(request_id, -1, sel, active_match_ordinal,
|
||||
false);
|
||||
}
|
||||
|
||||
|
||||
// Public methods ------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user