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

Unified Diff: chrome/views/text_field.h

Issue 18728: Create a dialog box for the about:network view and kill the tab type.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 months 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
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.

Powered by Google App Engine
This is Rietveld 408576698