summaryrefslogtreecommitdiffstats
path: root/chrome/views/message_box_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/message_box_view.h')
-rw-r--r--chrome/views/message_box_view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/views/message_box_view.h b/chrome/views/message_box_view.h
index 6ca5932..a8f0dca 100644
--- a/chrome/views/message_box_view.h
+++ b/chrome/views/message_box_view.h
@@ -43,6 +43,9 @@ class MessageBoxView : public views::View {
const std::wstring& message,
const std::wstring& default_prompt);
+ // Returns the text box.
+ views::TextField* text_box() { return prompt_field_; }
+
// Returns user entered data in the prompt field.
std::wstring GetInputText();
@@ -59,6 +62,9 @@ class MessageBoxView : public views::View {
// start, the message box has no checkbox until this function is called.
void SetCheckBoxLabel(const std::wstring& label);
+ // Sets the state of the check-box.
+ void SetCheckBoxSelected(bool selected);
+
protected:
// Layout and Painting functions.
virtual void ViewHierarchyChanged(bool is_add,