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

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

Issue 2124343002: [Autofill] Implement Credit Card Signin Promo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const std::vector<base::string16>& labels) override; 92 const std::vector<base::string16>& labels) override;
93 void HideAutofillPopup() override; 93 void HideAutofillPopup() override;
94 bool IsAutocompleteEnabled() override; 94 bool IsAutocompleteEnabled() override;
95 void PropagateAutofillPredictions( 95 void PropagateAutofillPredictions(
96 content::RenderFrameHost* rfh, 96 content::RenderFrameHost* rfh,
97 const std::vector<autofill::FormStructure*>& forms) override; 97 const std::vector<autofill::FormStructure*>& forms) override;
98 void DidFillOrPreviewField(const base::string16& autofilled_value, 98 void DidFillOrPreviewField(const base::string16& autofilled_value,
99 const base::string16& profile_full_name) override; 99 const base::string16& profile_full_name) override;
100 void OnFirstUserGestureObserved() override; 100 void OnFirstUserGestureObserved() override;
101 bool IsContextSecure(const GURL& form_origin) override; 101 bool IsContextSecure(const GURL& form_origin) override;
102 bool ShouldShowSigninPromo() override;
103 void StartSigninFlow() override;
102 104
103 void SuggestionSelected(JNIEnv* env, 105 void SuggestionSelected(JNIEnv* env,
104 const base::android::JavaParamRef<jobject>& obj, 106 const base::android::JavaParamRef<jobject>& obj,
105 jint position); 107 jint position);
106 108
107 private: 109 private:
108 AwAutofillClient(content::WebContents* web_contents); 110 AwAutofillClient(content::WebContents* web_contents);
109 friend class content::WebContentsUserData<AwAutofillClient>; 111 friend class content::WebContentsUserData<AwAutofillClient>;
110 112
111 void ShowAutofillPopupImpl( 113 void ShowAutofillPopupImpl(
(...skipping 11 matching lines...) Expand all
123 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; 125 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
124 126
125 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); 127 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient);
126 }; 128 };
127 129
128 bool RegisterAwAutofillClient(JNIEnv* env); 130 bool RegisterAwAutofillClient(JNIEnv* env);
129 131
130 } // namespace android_webview 132 } // namespace android_webview
131 133
132 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 134 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698