| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index c8e64f16b1c2294a75409046f288ba16b05ae083..490430f693b17791f86935c43f224345fb9305fa 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -674,6 +674,10 @@ bool WebContentsImpl::OnMessageReceived(RenderViewHost* render_view_host,
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_RegisterProtocolHandler,
|
| OnRegisterProtocolHandler)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply)
|
| +#if defined(OS_ANDROID)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_GetFindMatchRects_Reply,
|
| + OnGetFindMatchRectsReply)
|
| +#endif
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_CrashedPlugin, OnCrashedPlugin)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_AppCacheAccessed, OnAppCacheAccessed)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_OpenColorChooser, OnOpenColorChooser)
|
| @@ -2197,6 +2201,16 @@ void WebContentsImpl::OnFindReply(int request_id,
|
| }
|
| }
|
|
|
| +#if defined(OS_ANDROID)
|
| +void WebContentsImpl::OnGetFindMatchRectsReply(
|
| + int version,
|
| + const std::vector<gfx::RectF>& rects,
|
| + const gfx::RectF& active_rect) {
|
| + if (delegate_)
|
| + delegate_->GetFindMatchRectsReply(this, version, rects, active_rect);
|
| +}
|
| +#endif
|
| +
|
| void WebContentsImpl::OnCrashedPlugin(const FilePath& plugin_path) {
|
| FOR_EACH_OBSERVER(WebContentsObserver, observers_,
|
| PluginCrashed(plugin_path));
|
|
|