Index: chrome/views/message_box_view.h |
=================================================================== |
--- chrome/views/message_box_view.h (revision 6272) |
+++ chrome/views/message_box_view.h (working copy) |
@@ -43,6 +43,9 @@ |
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 @@ |
// 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, |