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

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

Issue 2672623005: Record Autofill form events specially for nonsecure pages (Closed)
Patch Set: fix test added in rebase Created 3 years, 10 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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 const std::vector<base::string16>& values, 93 const std::vector<base::string16>& values,
94 const std::vector<base::string16>& labels) override; 94 const std::vector<base::string16>& labels) override;
95 void HideAutofillPopup() override; 95 void HideAutofillPopup() override;
96 bool IsAutocompleteEnabled() override; 96 bool IsAutocompleteEnabled() override;
97 void PropagateAutofillPredictions( 97 void PropagateAutofillPredictions(
98 content::RenderFrameHost* rfh, 98 content::RenderFrameHost* rfh,
99 const std::vector<autofill::FormStructure*>& forms) override; 99 const std::vector<autofill::FormStructure*>& forms) override;
100 void DidFillOrPreviewField(const base::string16& autofilled_value, 100 void DidFillOrPreviewField(const base::string16& autofilled_value,
101 const base::string16& profile_full_name) override; 101 const base::string16& profile_full_name) override;
102 void OnFirstUserGestureObserved() override; 102 void OnFirstUserGestureObserved() override;
103 bool IsContextSecure(const GURL& form_origin) override; 103 bool IsContextSecure() override;
104 bool ShouldShowSigninPromo() override; 104 bool ShouldShowSigninPromo() override;
105 void StartSigninFlow() override; 105 void StartSigninFlow() override;
106 void ShowHttpNotSecureExplanation() override; 106 void ShowHttpNotSecureExplanation() override;
107 107
108 void Dismissed(JNIEnv* env, 108 void Dismissed(JNIEnv* env,
109 const base::android::JavaParamRef<jobject>& obj); 109 const base::android::JavaParamRef<jobject>& obj);
110 void SuggestionSelected(JNIEnv* env, 110 void SuggestionSelected(JNIEnv* env,
111 const base::android::JavaParamRef<jobject>& obj, 111 const base::android::JavaParamRef<jobject>& obj,
112 jint position); 112 jint position);
113 113
(...skipping 18 matching lines...) Expand all
132 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; 132 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); 134 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient);
135 }; 135 };
136 136
137 bool RegisterAwAutofillClient(JNIEnv* env); 137 bool RegisterAwAutofillClient(JNIEnv* env);
138 138
139 } // namespace android_webview 139 } // namespace android_webview
140 140
141 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 141 #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