Index: chrome/views/text_field.h |
=================================================================== |
--- chrome/views/text_field.h (revision 8567) |
+++ chrome/views/text_field.h (working copy) |
@@ -97,9 +97,12 @@ |
// Returns the text currently displayed in the text field. |
std::wstring GetText() const; |
- // Set the text currently displayed in the text field. |
+ // Sets the text currently displayed in the text field. |
void SetText(const std::wstring& text); |
+ // Appends the given string to the previously-existing text in the field. |
+ void AppendText(const std::wstring& text); |
+ |
virtual void Focus(); |
// Causes the edit field to be fully selected. |