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

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

Issue 2505533002: Http Bad: Add "Learn more" sublabel to warning message and make it clickable (Closed)
Patch Set: rebase Created 4 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
« 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 bool IsAutocompleteEnabled() override; 99 bool IsAutocompleteEnabled() override;
100 void PropagateAutofillPredictions( 100 void PropagateAutofillPredictions(
101 content::RenderFrameHost* rfh, 101 content::RenderFrameHost* rfh,
102 const std::vector<autofill::FormStructure*>& forms) override; 102 const std::vector<autofill::FormStructure*>& forms) override;
103 void DidFillOrPreviewField(const base::string16& autofilled_value, 103 void DidFillOrPreviewField(const base::string16& autofilled_value,
104 const base::string16& profile_full_name) override; 104 const base::string16& profile_full_name) override;
105 void OnFirstUserGestureObserved() override; 105 void OnFirstUserGestureObserved() override;
106 bool IsContextSecure(const GURL& form_origin) override; 106 bool IsContextSecure(const GURL& form_origin) override;
107 bool ShouldShowSigninPromo() override; 107 bool ShouldShowSigninPromo() override;
108 void StartSigninFlow() override; 108 void StartSigninFlow() override;
109 void ShowHttpNotSecureExplanation() override;
109 110
110 void Dismissed(JNIEnv* env, 111 void Dismissed(JNIEnv* env,
111 const base::android::JavaParamRef<jobject>& obj); 112 const base::android::JavaParamRef<jobject>& obj);
112 void SuggestionSelected(JNIEnv* env, 113 void SuggestionSelected(JNIEnv* env,
113 const base::android::JavaParamRef<jobject>& obj, 114 const base::android::JavaParamRef<jobject>& obj,
114 jint position); 115 jint position);
115 116
116 private: 117 private:
117 explicit AwAutofillClient(content::WebContents* web_contents); 118 explicit AwAutofillClient(content::WebContents* web_contents);
118 friend class content::WebContentsUserData<AwAutofillClient>; 119 friend class content::WebContentsUserData<AwAutofillClient>;
(...skipping 15 matching lines...) Expand all
134 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; 135 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
135 136
136 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); 137 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient);
137 }; 138 };
138 139
139 bool RegisterAwAutofillClient(JNIEnv* env); 140 bool RegisterAwAutofillClient(JNIEnv* env);
140 141
141 } // namespace android_webview 142 } // namespace android_webview
142 143
143 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 144 #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