OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_manager_delegate.h" | 5 #include "android_webview/native/aw_autofill_manager_delegate.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_pref_store.h" | 9 #include "android_webview/browser/aw_pref_store.h" |
10 #include "android_webview/native/aw_contents.h" | 10 #include "android_webview/native/aw_contents.h" |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 void AwAutofillManagerDelegate::ConfirmSaveCreditCard( | 169 void AwAutofillManagerDelegate::ConfirmSaveCreditCard( |
170 const autofill::AutofillMetrics& metric_logger, | 170 const autofill::AutofillMetrics& metric_logger, |
171 const autofill::CreditCard& credit_card, | 171 const autofill::CreditCard& credit_card, |
172 const base::Closure& save_card_callback) { | 172 const base::Closure& save_card_callback) { |
173 NOTIMPLEMENTED(); | 173 NOTIMPLEMENTED(); |
174 } | 174 } |
175 | 175 |
176 void AwAutofillManagerDelegate::ShowRequestAutocompleteDialog( | 176 void AwAutofillManagerDelegate::ShowRequestAutocompleteDialog( |
177 const autofill::FormData& form, | 177 const autofill::FormData& form, |
178 const GURL& source_url, | 178 const GURL& source_url, |
179 autofill::DialogType dialog_type, | |
180 const base::Callback<void(const autofill::FormStructure*, | 179 const base::Callback<void(const autofill::FormStructure*, |
181 const std::string&)>& callback) { | 180 const std::string&)>& callback) { |
182 NOTIMPLEMENTED(); | 181 NOTIMPLEMENTED(); |
183 } | 182 } |
184 | 183 |
185 bool RegisterAwAutofillManagerDelegate(JNIEnv* env) { | 184 bool RegisterAwAutofillManagerDelegate(JNIEnv* env) { |
186 return RegisterNativesImpl(env) >= 0; | 185 return RegisterNativesImpl(env) >= 0; |
187 } | 186 } |
188 | 187 |
189 } // namespace android_webview | 188 } // namespace android_webview |
OLD | NEW |