OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/prefs/pref_registry_simple.h" | 10 #include "base/prefs/pref_registry_simple.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 const base::Callback<void(bool)>& callback) OVERRIDE; | 61 const base::Callback<void(bool)>& callback) OVERRIDE; |
62 virtual void HideAutocheckoutBubble() OVERRIDE; | 62 virtual void HideAutocheckoutBubble() OVERRIDE; |
63 virtual void ShowRequestAutocompleteDialog( | 63 virtual void ShowRequestAutocompleteDialog( |
64 const autofill::FormData& form, | 64 const autofill::FormData& form, |
65 const GURL& source_url, | 65 const GURL& source_url, |
66 autofill::DialogType dialog_type, | 66 autofill::DialogType dialog_type, |
67 const base::Callback<void(const autofill::FormStructure*, | 67 const base::Callback<void(const autofill::FormStructure*, |
68 const std::string&)>& callback) OVERRIDE; | 68 const std::string&)>& callback) OVERRIDE; |
69 virtual void ShowAutofillPopup( | 69 virtual void ShowAutofillPopup( |
70 const gfx::RectF& element_bounds, | 70 const gfx::RectF& element_bounds, |
| 71 base::i18n::TextDirection text_direction, |
71 const std::vector<string16>& values, | 72 const std::vector<string16>& values, |
72 const std::vector<string16>& labels, | 73 const std::vector<string16>& labels, |
73 const std::vector<string16>& icons, | 74 const std::vector<string16>& icons, |
74 const std::vector<int>& identifiers, | 75 const std::vector<int>& identifiers, |
75 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE; | 76 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE; |
76 virtual void HideAutofillPopup() OVERRIDE; | 77 virtual void HideAutofillPopup() OVERRIDE; |
77 virtual void UpdateProgressBar(double value) OVERRIDE; | 78 virtual void UpdateProgressBar(double value) OVERRIDE; |
78 | 79 |
79 private: | 80 private: |
80 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate); | 81 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate); |
81 }; | 82 }; |
82 | 83 |
83 } // namespace android_webview | 84 } // namespace android_webview |
84 | 85 |
85 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ | 86 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ |
OLD | NEW |