Chromium Code Reviews| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 146 // Should we display a warning if Autofill is disabled? | 146 // Should we display a warning if Autofill is disabled? |
| 147 bool display_warning_if_disabled_; | 147 bool display_warning_if_disabled_; |
| 148 | 148 |
| 149 // Does the popup include any Autofill profile or credit card suggestions? | 149 // Does the popup include any Autofill profile or credit card suggestions? |
| 150 bool has_suggestion_; | 150 bool has_suggestion_; |
| 151 | 151 |
| 152 // Have we already shown Autofill suggestions for the field the user is | 152 // Have we already shown Autofill suggestions for the field the user is |
| 153 // currently editing? Used to keep track of state for metrics logging. | 153 // currently editing? Used to keep track of state for metrics logging. |
| 154 bool has_shown_popup_for_current_edit_; | 154 bool has_shown_popup_for_current_edit_; |
| 155 | 155 |
| 156 // FIXME | |
|
Justin Donnelly
2015/11/16 20:23:28
Just noticed this. I assume you meant to add a com
Evan Stade
2015/11/16 20:43:53
oops. Yes, that was the intent.
| |
| 157 bool should_show_scan_credit_card_; | |
| 158 | |
| 159 // Whether the access Address Book prompt has ever been shown for the current | |
| 160 // |query_form_|. This variable is only used on OSX. | |
| 161 bool has_shown_address_book_prompt; | |
| 162 | |
| 156 // The current data list values. | 163 // The current data list values. |
| 157 std::vector<base::string16> data_list_values_; | 164 std::vector<base::string16> data_list_values_; |
| 158 std::vector<base::string16> data_list_labels_; | 165 std::vector<base::string16> data_list_labels_; |
| 159 | 166 |
| 160 // Whether the access Address Book prompt has ever been shown for the current | |
| 161 // |query_form_|. This variable is only used on OSX. | |
| 162 bool has_shown_address_book_prompt; | |
| 163 | |
| 164 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; | 167 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; |
| 165 | 168 |
| 166 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); | 169 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); |
| 167 }; | 170 }; |
| 168 | 171 |
| 169 } // namespace autofill | 172 } // namespace autofill |
| 170 | 173 |
| 171 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ | 174 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ |
| OLD | NEW |