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

Side by Side Diff: android_webview/native/aw_autofill_client.h

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge fallout, android_webview Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const std::vector<base::string16>& labels, 75 const std::vector<base::string16>& labels,
76 const std::vector<base::string16>& icons, 76 const std::vector<base::string16>& icons,
77 const std::vector<int>& identifiers, 77 const std::vector<int>& identifiers,
78 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) override; 78 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) override;
79 virtual void UpdateAutofillPopupDataListValues( 79 virtual void UpdateAutofillPopupDataListValues(
80 const std::vector<base::string16>& values, 80 const std::vector<base::string16>& values,
81 const std::vector<base::string16>& labels) override; 81 const std::vector<base::string16>& labels) override;
82 virtual void HideAutofillPopup() override; 82 virtual void HideAutofillPopup() override;
83 virtual bool IsAutocompleteEnabled() override; 83 virtual bool IsAutocompleteEnabled() override;
84 virtual void DetectAccountCreationForms( 84 virtual void DetectAccountCreationForms(
85 content::RenderFrameHost* rfh,
85 const std::vector<autofill::FormStructure*>& forms) override; 86 const std::vector<autofill::FormStructure*>& forms) override;
86 virtual void DidFillOrPreviewField( 87 virtual void DidFillOrPreviewField(
87 const base::string16& autofilled_value, 88 const base::string16& autofilled_value,
88 const base::string16& profile_full_name) override; 89 const base::string16& profile_full_name) override;
90 virtual void OnFirstUserGestureObserved() override;
89 91
90 void SuggestionSelected(JNIEnv* env, jobject obj, jint position); 92 void SuggestionSelected(JNIEnv* env, jobject obj, jint position);
91 93
92 private: 94 private:
93 AwAutofillClient(content::WebContents* web_contents); 95 AwAutofillClient(content::WebContents* web_contents);
94 friend class content::WebContentsUserData<AwAutofillClient>; 96 friend class content::WebContentsUserData<AwAutofillClient>;
95 97
96 void ShowAutofillPopupImpl(const gfx::RectF& element_bounds, 98 void ShowAutofillPopupImpl(const gfx::RectF& element_bounds,
97 bool is_rtl, 99 bool is_rtl,
98 const std::vector<base::string16>& values, 100 const std::vector<base::string16>& values,
(...skipping 11 matching lines...) Expand all
110 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; 112 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
111 113
112 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); 114 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient);
113 }; 115 };
114 116
115 bool RegisterAwAutofillClient(JNIEnv* env); 117 bool RegisterAwAutofillClient(JNIEnv* env);
116 118
117 } // namespace android_webview 119 } // namespace android_webview
118 120
119 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 121 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_client.cc » ('j') | android_webview/native/aw_autofill_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698