Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: extensions/browser/api/web_view/web_view_internal_api.cc

Issue 901833002: Allow MimeHandlerViewGuest to be notified of StopFinding events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/web_view/web_view_internal_api.cc
diff --git a/extensions/browser/api/web_view/web_view_internal_api.cc b/extensions/browser/api/web_view/web_view_internal_api.cc
index a7da3bd246f040f61657c0377410ca60949dc58f..6270ec1eb9d8b7ac8bf177b86b6dfde49c80c1d0 100644
--- a/extensions/browser/api/web_view/web_view_internal_api.cc
+++ b/extensions/browser/api/web_view/web_view_internal_api.cc
@@ -244,7 +244,7 @@ bool WebViewInternalFindFunction::RunAsyncSafe(WebViewGuest* guest) {
params->options->match_case ? *params->options->match_case : false;
}
- guest->StartFinding(search_text, options, this);
+ guest->StartFindInternal(search_text, options, this);
return true;
}
@@ -275,7 +275,7 @@ bool WebViewInternalStopFindingFunction::RunAsyncSafe(WebViewGuest* guest) {
action = content::STOP_FIND_ACTION_KEEP_SELECTION;
}
- guest->StopFinding(action);
+ guest->StopFindingInternal(action);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698