| Index: chrome/browser/ui/autofill/autofill_dialog_types.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.h b/chrome/browser/ui/autofill/autofill_dialog_types.h
|
| index f144d8c32c24fa26d2dbb4d47402fe85101757cf..bd1b73c595a1708545c691085c73fc6ec6433165 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_types.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_types.h
|
| @@ -95,12 +95,20 @@ class DialogNotification {
|
| const string16& display_text() const { return display_text_; }
|
| Type type() const { return type_; }
|
|
|
| + void set_checked(bool checked) { checked_ = checked; }
|
| + bool checked() const { return checked_; }
|
| +
|
| void set_interactive(bool interactive) { interactive_ = interactive; }
|
| bool interactive() const { return interactive_; }
|
|
|
| private:
|
| Type type_;
|
| string16 display_text_;
|
| +
|
| + // Whether the dialog notification's checkbox should be checked. Only applies
|
| + // when |HasCheckbox()| is true.
|
| + bool checked_;
|
| +
|
| // When false, this disables user interaction with the notification. For
|
| // example, WALLET_USAGE_CONFIRMATION notifications set this to false after
|
| // the submit flow has started.
|
|
|