Index: chrome/browser/ui/autofill/autofill_dialog_controller.h |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller.h b/chrome/browser/ui/autofill/autofill_dialog_controller.h |
index 6bc05080da6fcb0b0f3d153f5c2ec37f22ebd322..7662b816b57b12eb254a3bc2841d82d15eb882d9 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller.h |
@@ -80,6 +80,10 @@ class AutofillDialogController { |
// Whether or not the |button| should be enabled. |
virtual bool IsDialogButtonEnabled(ui::DialogButton button) const = 0; |
+ // Returns a struct full of data concerning what overlay, if any, should be |
+ // displayed on top of the dialog. |
+ virtual DialogOverlayState GetDialogOverlay() const = 0; |
+ |
// Returns ranges to linkify in the text returned by |LegalDocumentsText()|. |
virtual const std::vector<ui::Range>& LegalDocumentLinks() = 0; |
@@ -187,6 +191,9 @@ class AutofillDialogController { |
// A legal document link has been clicked. |
virtual void LegalDocumentLinkClicked(const ui::Range& range) = 0; |
+ // A button in the dialog's overlay has been pressed. |
+ virtual void OverlayButtonPressed() = 0; |
+ |
// Called when the view has been cancelled. |
virtual void OnCancel() = 0; |