summaryrefslogtreecommitdiffstats
path: root/android_webview/native/aw_web_contents_delegate.h
diff options
context:
space:
mode:
authorleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-21 14:05:03 +0000
committerleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-21 14:05:03 +0000
commit55750b34b9db6b705e2cdcdb72df223716fd4aa7 (patch)
tree10d48c96d26923ce76c8f1ac08c4878d0121eae5 /android_webview/native/aw_web_contents_delegate.h
parentc28a567cb7ab2382e23ee642afe0262b064a83cb (diff)
downloadchromium_src-55750b34b9db6b705e2cdcdb72df223716fd4aa7.zip
chromium_src-55750b34b9db6b705e2cdcdb72df223716fd4aa7.tar.gz
chromium_src-55750b34b9db6b705e2cdcdb72df223716fd4aa7.tar.bz2
[Android] Upstream the WebView find-in-page API implementation.
This API requires implementing a browser -> renderer synchronous findAll message. While this method is deprecated and an alternative asynchronous version is suggested we still need to implement it for legacy WebView compatibility. BUG=136762 TEST=3 new java tests. Review URL: https://codereview.chromium.org/10941015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/native/aw_web_contents_delegate.h')
-rw-r--r--android_webview/native/aw_web_contents_delegate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/android_webview/native/aw_web_contents_delegate.h b/android_webview/native/aw_web_contents_delegate.h
index 011451e..1ce3f31 100644
--- a/android_webview/native/aw_web_contents_delegate.h
+++ b/android_webview/native/aw_web_contents_delegate.h
@@ -21,6 +21,12 @@ class AwWebContentsDelegate
virtual ~AwWebContentsDelegate();
virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator()
OVERRIDE;
+ virtual void FindReply(content::WebContents* web_contents,
+ int request_id,
+ int number_of_matches,
+ const gfx::Rect& selection_rect,
+ int active_match_ordinal,
+ bool final_update) OVERRIDE;
};
} // namespace android_webview