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 #include "android_webview/native/aw_autofill_client.h" | 5 #include "android_webview/native/aw_autofill_client.h" |
6 | 6 |
7 #include "android_webview/browser/aw_browser_context.h" | 7 #include "android_webview/browser/aw_browser_context.h" |
8 #include "android_webview/browser/aw_content_browser_client.h" | 8 #include "android_webview/browser/aw_content_browser_client.h" |
9 #include "android_webview/browser/aw_form_database_service.h" | 9 #include "android_webview/browser/aw_form_database_service.h" |
10 #include "android_webview/browser/aw_pref_store.h" | 10 #include "android_webview/browser/aw_pref_store.h" |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 160 |
161 void AwAutofillClient::DidFillOrPreviewField( | 161 void AwAutofillClient::DidFillOrPreviewField( |
162 const base::string16& autofilled_value, | 162 const base::string16& autofilled_value, |
163 const base::string16& profile_full_name) { | 163 const base::string16& profile_full_name) { |
164 } | 164 } |
165 | 165 |
166 void AwAutofillClient::OnFirstUserGestureObserved() { | 166 void AwAutofillClient::OnFirstUserGestureObserved() { |
167 NOTIMPLEMENTED(); | 167 NOTIMPLEMENTED(); |
168 } | 168 } |
169 | 169 |
| 170 void AwAutofillClient::LinkClicked(const GURL& url, |
| 171 WindowOpenDisposition disposition) { |
| 172 NOTIMPLEMENTED(); |
| 173 } |
| 174 |
170 void AwAutofillClient::SuggestionSelected(JNIEnv* env, | 175 void AwAutofillClient::SuggestionSelected(JNIEnv* env, |
171 jobject object, | 176 jobject object, |
172 jint position) { | 177 jint position) { |
173 if (delegate_) { | 178 if (delegate_) { |
174 delegate_->DidAcceptSuggestion(suggestions_[position].value, | 179 delegate_->DidAcceptSuggestion(suggestions_[position].value, |
175 suggestions_[position].frontend_id); | 180 suggestions_[position].frontend_id); |
176 } | 181 } |
177 } | 182 } |
178 | 183 |
179 void AwAutofillClient::HideRequestAutocompleteDialog() { | 184 void AwAutofillClient::HideRequestAutocompleteDialog() { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 content::RenderFrameHost* rfh, | 217 content::RenderFrameHost* rfh, |
213 const ResultCallback& callback) { | 218 const ResultCallback& callback) { |
214 NOTIMPLEMENTED(); | 219 NOTIMPLEMENTED(); |
215 } | 220 } |
216 | 221 |
217 bool RegisterAwAutofillClient(JNIEnv* env) { | 222 bool RegisterAwAutofillClient(JNIEnv* env) { |
218 return RegisterNativesImpl(env); | 223 return RegisterNativesImpl(env); |
219 } | 224 } |
220 | 225 |
221 } // namespace android_webview | 226 } // namespace android_webview |
OLD | NEW |