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> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/android/jni_weak_ref.h" | 13 #include "base/android/jni_weak_ref.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "components/autofill/core/browser/autofill_client.h" | 16 #include "components/autofill/core/browser/autofill_client.h" |
17 #include "components/prefs/pref_registry_simple.h" | 17 #include "components/prefs/pref_registry_simple.h" |
18 #include "components/prefs/pref_service_factory.h" | 18 #include "components/prefs/pref_service_factory.h" |
19 #include "content/public/browser/web_contents_user_data.h" | 19 #include "content/public/browser/web_contents_user_data.h" |
20 #include "ui/android/view_android.h" | 20 #include "ui/android/view_android.h" |
21 | 21 |
22 namespace autofill { | 22 namespace autofill { |
23 class AutofillMetrics; | |
24 class AutofillPopupDelegate; | 23 class AutofillPopupDelegate; |
25 class CardUnmaskDelegate; | 24 class CardUnmaskDelegate; |
26 class CreditCard; | 25 class CreditCard; |
27 class FormStructure; | 26 class FormStructure; |
28 class PasswordGenerator; | |
29 class PersonalDataManager; | 27 class PersonalDataManager; |
30 struct FormData; | |
31 } | 28 } |
32 | 29 |
33 namespace content { | 30 namespace content { |
34 class WebContents; | 31 class WebContents; |
35 } | 32 } |
36 | 33 |
37 namespace gfx { | 34 namespace gfx { |
38 class RectF; | 35 class RectF; |
39 } | 36 } |
40 | 37 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; | 132 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; |
136 | 133 |
137 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); | 134 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); |
138 }; | 135 }; |
139 | 136 |
140 bool RegisterAwAutofillClient(JNIEnv* env); | 137 bool RegisterAwAutofillClient(JNIEnv* env); |
141 | 138 |
142 } // namespace android_webview | 139 } // namespace android_webview |
143 | 140 |
144 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 141 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
OLD | NEW |