| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 namespace user_prefs { | 46 namespace user_prefs { |
| 47 class PrefRegistrySyncable; | 47 class PrefRegistrySyncable; |
| 48 } | 48 } |
| 49 | 49 |
| 50 namespace autofill { | 50 namespace autofill { |
| 51 | 51 |
| 52 class AutofillDataModel; | 52 class AutofillDataModel; |
| 53 class AutofillDialogView; | 53 class AutofillDialogView; |
| 54 class AutofillPopupControllerImpl; | 54 class AutofillPopupControllerImpl; |
| 55 class DataModelWrapper; | 55 class DataModelWrapper; |
| 56 class TestableAutofillDialogView; |
| 56 | 57 |
| 57 namespace risk { | 58 namespace risk { |
| 58 class Fingerprint; | 59 class Fingerprint; |
| 59 } | 60 } |
| 60 | 61 |
| 61 namespace wallet { | 62 namespace wallet { |
| 62 class WalletSigninHelper; | 63 class WalletSigninHelper; |
| 63 } | 64 } |
| 64 | 65 |
| 65 // This class drives the dialog that appears when a site uses the imperative | 66 // This class drives the dialog that appears when a site uses the imperative |
| (...skipping 28 matching lines...) Expand all Loading... |
| 94 | 95 |
| 95 // Whether Autocheckout is currently running. | 96 // Whether Autocheckout is currently running. |
| 96 bool AutocheckoutIsRunning() const; | 97 bool AutocheckoutIsRunning() const; |
| 97 | 98 |
| 98 // Called when there is an error in an active Autocheckout flow. | 99 // Called when there is an error in an active Autocheckout flow. |
| 99 void OnAutocheckoutError(); | 100 void OnAutocheckoutError(); |
| 100 | 101 |
| 101 // Called when an Autocheckout flow completes successfully. | 102 // Called when an Autocheckout flow completes successfully. |
| 102 void OnAutocheckoutSuccess(); | 103 void OnAutocheckoutSuccess(); |
| 103 | 104 |
| 105 // Returns |view_| as a testable version of itself (if |view_| exists and |
| 106 // actually implements |AutofillDialogView::GetTestableView()|). |
| 107 TestableAutofillDialogView* GetTestableView(); |
| 108 |
| 104 // AutofillDialogController implementation. | 109 // AutofillDialogController implementation. |
| 105 virtual string16 DialogTitle() const OVERRIDE; | 110 virtual string16 DialogTitle() const OVERRIDE; |
| 106 virtual string16 AccountChooserText() const OVERRIDE; | 111 virtual string16 AccountChooserText() const OVERRIDE; |
| 107 virtual string16 SignInLinkText() const OVERRIDE; | 112 virtual string16 SignInLinkText() const OVERRIDE; |
| 108 virtual string16 EditSuggestionText() const OVERRIDE; | 113 virtual string16 EditSuggestionText() const OVERRIDE; |
| 109 virtual string16 CancelButtonText() const OVERRIDE; | 114 virtual string16 CancelButtonText() const OVERRIDE; |
| 110 virtual string16 ConfirmButtonText() const OVERRIDE; | 115 virtual string16 ConfirmButtonText() const OVERRIDE; |
| 111 virtual string16 SaveLocallyText() const OVERRIDE; | 116 virtual string16 SaveLocallyText() const OVERRIDE; |
| 112 virtual string16 ProgressBarText() const OVERRIDE; | 117 virtual string16 ProgressBarText() const OVERRIDE; |
| 113 virtual string16 LegalDocumentsText() OVERRIDE; | 118 virtual string16 LegalDocumentsText() OVERRIDE; |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 | 673 |
| 669 // Whether the latency to display to the UI was logged to UMA yet. | 674 // Whether the latency to display to the UI was logged to UMA yet. |
| 670 bool was_ui_latency_logged_; | 675 bool was_ui_latency_logged_; |
| 671 | 676 |
| 672 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 677 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
| 673 }; | 678 }; |
| 674 | 679 |
| 675 } // namespace autofill | 680 } // namespace autofill |
| 676 | 681 |
| 677 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 682 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| OLD | NEW |