| Index: ui/views/controls/message_box_view.h
|
| diff --git a/ui/views/controls/message_box_view.h b/ui/views/controls/message_box_view.h
|
| index 2d83532c8989d37d3ebbff900a60dc7782d20766..af6905dafab0d4fe012999da3c2917c0be5cd027 100644
|
| --- a/ui/views/controls/message_box_view.h
|
| +++ b/ui/views/controls/message_box_view.h
|
| @@ -63,6 +63,9 @@ class VIEWS_EXPORT MessageBoxView : public View {
|
| // Returns user entered data in the prompt field.
|
| base::string16 GetInputText();
|
|
|
| + // Returns true if this message box has a visible checkbox, false otherwise.
|
| + bool HasCheckBox() const { return !!checkbox_; }
|
| +
|
| // Returns true if a checkbox is selected, false otherwise. (And false if
|
| // the message box has no checkbox.)
|
| bool IsCheckBoxSelected();
|
|
|