| Index: chrome/browser/ui/find_bar/find_tab_helper.cc
|
| diff --git a/chrome/browser/ui/find_bar/find_tab_helper.cc b/chrome/browser/ui/find_bar/find_tab_helper.cc
|
| index 7b9dee16acc8125fa1d3918819f7ecd1255b2c6e..d3b5591a6e4651c6762c640517e5e1c71b821243 100644
|
| --- a/chrome/browser/ui/find_bar/find_tab_helper.cc
|
| +++ b/chrome/browser/ui/find_bar/find_tab_helper.cc
|
| @@ -15,6 +15,7 @@
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/stop_find_action.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
|
| +#include "ui/gfx/rect_f.h"
|
|
|
| using WebKit::WebFindOptions;
|
| using content::WebContents;
|
| @@ -124,6 +125,20 @@ void FindTabHelper::StopFinding(
|
| web_contents()->GetRenderViewHost()->StopFinding(action);
|
| }
|
|
|
| +#if defined(OS_ANDROID)
|
| +void FindTabHelper::ActivateNearestFindResult(float x, float y) {
|
| + if (!find_op_aborted_ && !find_text_.empty()) {
|
| + web_contents()->GetRenderViewHost()->ActivateNearestFindResult(
|
| + current_find_request_id_, x, y);
|
| + }
|
| +}
|
| +
|
| +void FindTabHelper::RequestFindMatchRects(int current_version) {
|
| + if (!find_op_aborted_ && !find_text_.empty())
|
| + web_contents()->GetRenderViewHost()->RequestFindMatchRects(current_version);
|
| +}
|
| +#endif
|
| +
|
| void FindTabHelper::HandleFindReply(int request_id,
|
| int number_of_matches,
|
| const gfx::Rect& selection_rect,
|
|
|