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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 10941015: [Android] Upstream the WebView find-in-page API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 7613dcfd42b69bf5517ba666fdf81a44d781f3c3..234436cb83dc27f30da7b59c83da0bafab16d7c5 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -503,6 +503,15 @@ void RenderViewHostImpl::ActivateNearestFindResult(int request_id,
void RenderViewHostImpl::RequestFindMatchRects(int current_version) {
Send(new ViewMsg_FindMatchRects(GetRoutingID(), current_version));
}
+
+void RenderViewHostImpl::SynchronousFind(int request_id,
+ const string16& search_text,
+ const WebKit::WebFindOptions& options,
+ int* match_count,
+ int* active_ordinal) {
+ Send(new ViewMsg_SynchronousFind(GetRoutingID(), request_id, search_text,
jam 2012/09/19 16:55:43 can you make this conditional for webview as well?
Leandro GraciĆ” Gil 2012/09/19 18:08:59 Sounds good to me. I'll do as soon as the check is
+ options, match_count, active_ordinal));
+}
#endif
void RenderViewHostImpl::DragTargetDragEnter(

Powered by Google App Engine
This is Rietveld 408576698