Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(984)

Unified Diff: android_webview/native/aw_web_contents_delegate.h

Issue 10941015: [Android] Upstream the WebView find-in-page API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/native/aw_web_contents_delegate.h
diff --git a/android_webview/native/aw_web_contents_delegate.h b/android_webview/native/aw_web_contents_delegate.h
index add2052acf4b32f8a08d979fe7c25871c03dea9d..2879c475134f3ef86f47091ee4074be7a54fa4b6 100644
--- a/android_webview/native/aw_web_contents_delegate.h
+++ b/android_webview/native/aw_web_contents_delegate.h
@@ -9,6 +9,10 @@
#include "chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.h"
+namespace gfx {
+class Rect;
+}
+
namespace android_webview {
// WebView specific WebContentsDelegate.
@@ -19,6 +23,13 @@ class AwWebContentsDelegate
public:
AwWebContentsDelegate(JNIEnv* env, jobject obj);
virtual ~AwWebContentsDelegate();
+
+ 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

Powered by Google App Engine
This is Rietveld 408576698