Index: content/browser/browser_plugin/browser_plugin_guest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
index f2a0f74dd0be0d5abaa9a5ac17b99f8c89617c12..fad9c3086e7fe4964b97d8303289a6a6598e6ff7 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -348,6 +348,19 @@ void BrowserPluginGuest::SetContentsOpaque(bool opaque) { |
browser_plugin_instance_id(), opaque)); |
} |
+void BrowserPluginGuest::OnFindReply(int request_id, |
+ int number_of_matches, |
+ const gfx::Rect& selection_rect, |
+ int active_match_ordinal, |
+ bool final_update) { |
+ // TODO(raymes): Check that this is a top-level guest first somehow. |
+ if (embedder_web_contents_) { |
+ embedder_web_contents_->OnFindReply(request_id, number_of_matches, |
+ selection_rect, active_match_ordinal, |
+ final_update); |
+ } |
+} |
+ |
WebContentsImpl* BrowserPluginGuest::GetWebContents() const { |
return static_cast<WebContentsImpl*>(web_contents()); |
} |