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

Unified Diff: android_webview/native/aw_autofill_manager_delegate.h

Issue 16212007: Implement the autofill UI for chromium powered android webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue15097004
Patch Set: move ui files Created 7 years, 7 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_autofill_manager_delegate.h
diff --git a/android_webview/browser/aw_autofill_manager_delegate.h b/android_webview/native/aw_autofill_manager_delegate.h
similarity index 91%
rename from android_webview/browser/aw_autofill_manager_delegate.h
rename to android_webview/native/aw_autofill_manager_delegate.h
index 23b4d7d778ae40cc183d3039bfc98899dc97b3fd..2d7bd8b4f7f05aabf860dbe9665c79d277f38293 100644
--- a/android_webview/browser/aw_autofill_manager_delegate.h
+++ b/android_webview/native/aw_autofill_manager_delegate.h
@@ -82,11 +82,18 @@ class AwAutofillManagerDelegate
virtual void HideAutofillPopup() OVERRIDE;
virtual void UpdateProgressBar(double value) OVERRIDE;
+ void SuggestionSelected(int position);
private:
- AwAutofillManagerDelegate(content::WebContents* contents);
+ AwAutofillManagerDelegate(content::WebContents* web_contents);
friend class content::WebContentsUserData<AwAutofillManagerDelegate>;
bool save_form_data_;
+ content::WebContents* web_contents_;
+
+ // The current Autofill query values.
+ std::vector<string16> values_;
+ std::vector<int> identifiers_;
+ base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698