summaryrefslogtreecommitdiffstats
path: root/chrome/common/message_box_flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/message_box_flags.h')
-rw-r--r--chrome/common/message_box_flags.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/common/message_box_flags.h b/chrome/common/message_box_flags.h
index 40047d9..b2daf38 100644
--- a/chrome/common/message_box_flags.h
+++ b/chrome/common/message_box_flags.h
@@ -42,6 +42,13 @@ class MessageBox {
static const int kIsJavascriptPrompt = kIsJavascriptConfirm |
kFlagHasPromptField;
+ // Dialog button identifiers used to specify which buttons to show the user.
+ enum DialogButton {
+ DIALOGBUTTON_NONE = 0, // No dialog buttons, for WindowType == WINDOW.
+ DIALOGBUTTON_OK = 1, // Has an OK button.
+ DIALOGBUTTON_CANCEL = 2, // Has a Cancel button (becomes a Close button if
+ }; // no OK button).
+
private:
MessageBox() {}
DISALLOW_COPY_AND_ASSIGN(MessageBox);