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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 8 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // Returns a NotificationSource to be used to monitor for sign-in completion. | 53 // Returns a NotificationSource to be used to monitor for sign-in completion. |
54 virtual const content::NavigationController& ShowSignIn() = 0; | 54 virtual const content::NavigationController& ShowSignIn() = 0; |
55 | 55 |
56 // Closes out any signin UI and returns to normal operation. | 56 // Closes out any signin UI and returns to normal operation. |
57 virtual void HideSignIn() = 0; | 57 virtual void HideSignIn() = 0; |
58 | 58 |
59 // Updates the progress bar based on the Autocheckout progress. |value| should | 59 // Updates the progress bar based on the Autocheckout progress. |value| should |
60 // be in [0.0, 1.0]. | 60 // be in [0.0, 1.0]. |
61 virtual void UpdateProgressBar(double value) = 0; | 61 virtual void UpdateProgressBar(double value) = 0; |
62 | 62 |
| 63 // Updates the footnote view (where the legal links live). |
| 64 virtual void UpdateFootnote() = 0; |
| 65 |
63 // Factory function to create the dialog (implemented once per view | 66 // Factory function to create the dialog (implemented once per view |
64 // implementation). |controller| will own the created dialog. | 67 // implementation). |controller| will own the created dialog. |
65 static AutofillDialogView* Create(AutofillDialogController* controller); | 68 static AutofillDialogView* Create(AutofillDialogController* controller); |
66 }; | 69 }; |
67 | 70 |
68 } // namespace autofill | 71 } // namespace autofill |
69 | 72 |
70 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ | 73 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ |
OLD | NEW |