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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Have we already shown Autofill suggestions for the field the user is | 145 // Have we already shown Autofill suggestions for the field the user is |
146 // currently editing? Used to keep track of state for metrics logging. | 146 // currently editing? Used to keep track of state for metrics logging. |
147 bool has_shown_popup_for_current_edit_; | 147 bool has_shown_popup_for_current_edit_; |
148 | 148 |
149 // The current data list values. | 149 // The current data list values. |
150 std::vector<base::string16> data_list_values_; | 150 std::vector<base::string16> data_list_values_; |
151 std::vector<base::string16> data_list_labels_; | 151 std::vector<base::string16> data_list_labels_; |
152 | 152 |
153 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; | 153 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; |
154 | 154 |
| 155 // Whether the access Address Book prompt has ever been shown for the current |
| 156 // |query_form_|. This variable is only used on OSX. |
| 157 bool has_shown_address_book_prompt; |
| 158 |
155 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); | 159 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); |
156 }; | 160 }; |
157 | 161 |
158 } // namespace autofill | 162 } // namespace autofill |
159 | 163 |
160 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ | 164 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ |
OLD | NEW |