| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |