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 #ifndef ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/android/jni_helper.h" | 11 #include "base/android/jni_weak_ref.h" |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/prefs/pref_registry_simple.h" | 14 #include "base/prefs/pref_registry_simple.h" |
15 #include "base/prefs/pref_service_factory.h" | 15 #include "base/prefs/pref_service_factory.h" |
16 #include "components/autofill/core/browser/autofill_manager_delegate.h" | 16 #include "components/autofill/core/browser/autofill_manager_delegate.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; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; | 113 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; |
114 | 114 |
115 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate); | 115 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate); |
116 }; | 116 }; |
117 | 117 |
118 bool RegisterAwAutofillManagerDelegate(JNIEnv* env); | 118 bool RegisterAwAutofillManagerDelegate(JNIEnv* env); |
119 | 119 |
120 } // namespace android_webview | 120 } // namespace android_webview |
121 | 121 |
122 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ | 122 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ |
OLD | NEW |