Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller.h

Issue 18850006: retry r210334 with fix for android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698