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 <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/android/jni_weak_ref.h" | 11 #include "base/android/jni_weak_ref.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/prefs/pref_registry_simple.h" |
| 15 #include "base/prefs/pref_service_factory.h" |
14 #include "components/autofill/core/browser/autofill_client.h" | 16 #include "components/autofill/core/browser/autofill_client.h" |
15 #include "components/prefs/pref_registry_simple.h" | |
16 #include "components/prefs/pref_service_factory.h" | |
17 #include "content/public/browser/web_contents_user_data.h" | 17 #include "content/public/browser/web_contents_user_data.h" |
18 | 18 |
19 namespace autofill { | 19 namespace autofill { |
20 class AutofillMetrics; | 20 class AutofillMetrics; |
21 class AutofillPopupDelegate; | 21 class AutofillPopupDelegate; |
22 class CardUnmaskDelegate; | 22 class CardUnmaskDelegate; |
23 class CreditCard; | 23 class CreditCard; |
24 class FormStructure; | 24 class FormStructure; |
25 class PasswordGenerator; | 25 class PasswordGenerator; |
26 class PersonalDataManager; | 26 class PersonalDataManager; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; | 126 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); | 128 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); |
129 }; | 129 }; |
130 | 130 |
131 bool RegisterAwAutofillClient(JNIEnv* env); | 131 bool RegisterAwAutofillClient(JNIEnv* env); |
132 | 132 |
133 } // namespace android_webview | 133 } // namespace android_webview |
134 | 134 |
135 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 135 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
OLD | NEW |