| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 // The autofill suggestions based on downloaded i18n validation rules. | 749 // The autofill suggestions based on downloaded i18n validation rules. |
| 750 std::vector< ::i18n::addressinput::AddressData> i18n_validator_suggestions_; | 750 std::vector< ::i18n::addressinput::AddressData> i18n_validator_suggestions_; |
| 751 | 751 |
| 752 // The controller for the currently showing popup (which helps users when | 752 // The controller for the currently showing popup (which helps users when |
| 753 // they're manually filling the dialog). | 753 // they're manually filling the dialog). |
| 754 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; | 754 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; |
| 755 | 755 |
| 756 // The type of the visible Autofill popup input (or UNKNOWN_TYPE if none). | 756 // The type of the visible Autofill popup input (or UNKNOWN_TYPE if none). |
| 757 ServerFieldType popup_input_type_; | 757 ServerFieldType popup_input_type_; |
| 758 | 758 |
| 759 // The section of the dialog that's showing a popup, undefined if no popup |
| 760 // is showing. |
| 761 DialogSection popup_section_; |
| 762 |
| 759 scoped_ptr<AutofillDialogView> view_; | 763 scoped_ptr<AutofillDialogView> view_; |
| 760 | 764 |
| 761 // A NotificationRegistrar for tracking the completion of sign-in. | 765 // A NotificationRegistrar for tracking the completion of sign-in. |
| 762 content::NotificationRegistrar signin_registrar_; | 766 content::NotificationRegistrar signin_registrar_; |
| 763 | 767 |
| 764 // Set to true when the user presses the sign in link, until we're ready to | 768 // Set to true when the user presses the sign in link, until we're ready to |
| 765 // show the normal dialog again. This is used to hide the buttons while | 769 // show the normal dialog again. This is used to hide the buttons while |
| 766 // the spinner is showing after an explicit sign in. | 770 // the spinner is showing after an explicit sign in. |
| 767 bool waiting_for_explicit_sign_in_response_; | 771 bool waiting_for_explicit_sign_in_response_; |
| 768 | 772 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 base::string16 submitted_cardholder_name_; | 842 base::string16 submitted_cardholder_name_; |
| 839 | 843 |
| 840 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; | 844 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; |
| 841 | 845 |
| 842 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 846 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
| 843 }; | 847 }; |
| 844 | 848 |
| 845 } // namespace autofill | 849 } // namespace autofill |
| 846 | 850 |
| 847 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 851 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| OLD | NEW |