| Index: android_webview/native/aw_contents.h
|
| diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
|
| index 0465ae2f80e6b6aed04c8bc484544aa59e581791..54fff34a1ec30a35e46777f13465cdbf60fcb061 100644
|
| --- a/android_webview/native/aw_contents.h
|
| +++ b/android_webview/native/aw_contents.h
|
| @@ -9,6 +9,7 @@
|
| #include <list>
|
| #include <string>
|
| #include <utility>
|
| +#include <vector>
|
|
|
| #include "android_webview/browser/browser_view_renderer.h"
|
| #include "android_webview/browser/find_helper.h"
|
| @@ -26,6 +27,10 @@ namespace content {
|
| class WebContents;
|
| }
|
|
|
| +namespace gfx {
|
| +class RectF;
|
| +}
|
| +
|
| namespace android_webview {
|
|
|
| class AwContentsContainer;
|
| @@ -118,6 +123,10 @@ class AwContents : public FindHelper::Listener,
|
| jboolean value,
|
| jstring origin);
|
|
|
| + void SuggestionSelected(JNIEnv* env,
|
| + jobject obj,
|
| + int position);
|
| +
|
| // Find-in-page API and related methods.
|
| void FindAllAsync(JNIEnv* env, jobject obj, jstring search_string);
|
| void FindNext(JNIEnv* env, jobject obj, jboolean forward);
|
| @@ -147,7 +156,11 @@ class AwContents : public FindHelper::Listener,
|
| jint ReleasePopupWebContents(JNIEnv* env, jobject obj);
|
|
|
| void SetSaveFormData(bool enabled);
|
| -
|
| + void ShowAutofillPopup(const gfx::RectF& element_bounds,
|
| + const std::vector<string16>& values,
|
| + const std::vector<string16>& labels,
|
| + const std::vector<int>& identifiers);
|
| + void HideAutofillPopup();
|
| private:
|
| void SetWebContents(content::WebContents* web_contents);
|
| void InitAutofillIfNecessary(bool enabled);
|
|
|