Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6957)

Unified Diff: chrome/views/message_box_view.h

Issue 12895: Chromium-MultiProfile-Prototype... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/views/message_box_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/views/message_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698