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

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

Issue 2971783002: Skeleton for showing "Show all saved passwords row" for Linux/CrOs/Windows platforms (Closed)
Patch Set: more comments adaressed Created 3 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
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_BROWSER_AW_AUTOFILL_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_CLIENT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_CLIENT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool IsAutocompleteEnabled() override; 100 bool IsAutocompleteEnabled() override;
101 void PropagateAutofillPredictions( 101 void PropagateAutofillPredictions(
102 content::RenderFrameHost* rfh, 102 content::RenderFrameHost* rfh,
103 const std::vector<autofill::FormStructure*>& forms) override; 103 const std::vector<autofill::FormStructure*>& forms) override;
104 void DidFillOrPreviewField(const base::string16& autofilled_value, 104 void DidFillOrPreviewField(const base::string16& autofilled_value,
105 const base::string16& profile_full_name) override; 105 const base::string16& profile_full_name) override;
106 bool IsContextSecure() override; 106 bool IsContextSecure() override;
107 bool ShouldShowSigninPromo() override; 107 bool ShouldShowSigninPromo() override;
108 void StartSigninFlow() override; 108 void StartSigninFlow() override;
109 void ShowHttpNotSecureExplanation() override; 109 void ShowHttpNotSecureExplanation() override;
110 void ShowPasswordsSettingsPage() override;
110 111
111 void Dismissed(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); 112 void Dismissed(JNIEnv* env, 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>;
119 120
(...skipping 14 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_BROWSER_AW_AUTOFILL_CLIENT_H_ 144 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698