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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // to be displayed. Called when an Autofill query result is available. | 74 // to be displayed. Called when an Autofill query result is available. |
75 virtual void OnSuggestionsReturned( | 75 virtual void OnSuggestionsReturned( |
76 int query_id, | 76 int query_id, |
77 const std::vector<base::string16>& autofill_values, | 77 const std::vector<base::string16>& autofill_values, |
78 const std::vector<base::string16>& autofill_labels, | 78 const std::vector<base::string16>& autofill_labels, |
79 const std::vector<base::string16>& autofill_icons, | 79 const std::vector<base::string16>& autofill_icons, |
80 const std::vector<int>& autofill_unique_ids); | 80 const std::vector<int>& autofill_unique_ids); |
81 | 81 |
82 // Show password suggestions in the popup. | 82 // Show password suggestions in the popup. |
83 void OnShowPasswordSuggestions(const std::vector<base::string16>& suggestions, | 83 void OnShowPasswordSuggestions(const std::vector<base::string16>& suggestions, |
| 84 const std::vector<base::string16>& realms, |
84 const FormFieldData& field, | 85 const FormFieldData& field, |
85 const gfx::RectF& bounds); | 86 const gfx::RectF& bounds); |
86 | 87 |
87 // Set the data list value associated with the current field. | 88 // Set the data list value associated with the current field. |
88 void SetCurrentDataListValues( | 89 void SetCurrentDataListValues( |
89 const std::vector<base::string16>& autofill_values, | 90 const std::vector<base::string16>& autofill_values, |
90 const std::vector<base::string16>& autofill_labels, | 91 const std::vector<base::string16>& autofill_labels, |
91 const std::vector<base::string16>& autofill_icons, | 92 const std::vector<base::string16>& autofill_icons, |
92 const std::vector<int>& autofill_unique_ids); | 93 const std::vector<int>& autofill_unique_ids); |
93 | 94 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 std::vector<int> data_list_unique_ids_; | 185 std::vector<int> data_list_unique_ids_; |
185 | 186 |
186 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; | 187 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; |
187 | 188 |
188 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); | 189 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); |
189 }; | 190 }; |
190 | 191 |
191 } // namespace autofill | 192 } // namespace autofill |
192 | 193 |
193 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ | 194 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ |
OLD | NEW |