| Index: android_webview/native/aw_web_contents_delegate.cc
|
| diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc
|
| index 249ee0f51fadf7a86a6efe8ee61125ec1ed8a394..2a04d2dd7f29f0a6521218eb4dc9085e7658e012 100644
|
| --- a/android_webview/native/aw_web_contents_delegate.cc
|
| +++ b/android_webview/native/aw_web_contents_delegate.cc
|
| @@ -5,7 +5,12 @@
|
| #include "android_webview/native/aw_web_contents_delegate.h"
|
|
|
| #include "base/lazy_instance.h"
|
| +#include "android_webview/browser/find_helper.h"
|
| +#include "android_webview/native/aw_contents.h"
|
| #include "android_webview/native/aw_javascript_dialog_creator.h"
|
| +#include "content/public/browser/web_contents.h"
|
| +
|
| +using content::WebContents;
|
|
|
| namespace android_webview {
|
|
|
| @@ -26,4 +31,20 @@ AwWebContentsDelegate::GetJavaScriptDialogCreator() {
|
| return g_javascript_dialog_creator.Pointer();
|
| }
|
|
|
| +void AwWebContentsDelegate::FindReply(WebContents* web_contents,
|
| + int request_id,
|
| + int number_of_matches,
|
| + const gfx::Rect& selection_rect,
|
| + int active_match_ordinal,
|
| + bool final_update) {
|
| + AwContents* aw_contents = AwContents::FromWebContents(web_contents);
|
| + if (!aw_contents)
|
| + return;
|
| +
|
| + aw_contents->GetFindHelper()->HandleFindReply(request_id,
|
| + number_of_matches,
|
| + active_match_ordinal,
|
| + final_update);
|
| +}
|
| +
|
| } // namespace android_webview
|
|
|