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

Unified Diff: ui/views/controls/textfield/native_textfield_wrapper.h

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 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
Index: ui/views/controls/textfield/native_textfield_wrapper.h
diff --git a/ui/views/controls/textfield/native_textfield_wrapper.h b/ui/views/controls/textfield/native_textfield_wrapper.h
index eafd2f59dd75164f8d40a71ea9f3f88f140a2ed1..6bd72197cc723f025b1416ed9ebcba508f5b2e3a 100644
--- a/ui/views/controls/textfield/native_textfield_wrapper.h
+++ b/ui/views/controls/textfield/native_textfield_wrapper.h
@@ -37,23 +37,23 @@ class VIEWS_EXPORT NativeTextfieldWrapper {
virtual ~NativeTextfieldWrapper() {}
// Gets the text displayed in the wrapped native text field.
- virtual string16 GetText() const = 0;
+ virtual base::string16 GetText() const = 0;
// Updates the text displayed with the text held by the Textfield.
virtual void UpdateText() = 0;
// Adds the specified text to the text already displayed by the wrapped native
// text field.
- virtual void AppendText(const string16& text) = 0;
+ virtual void AppendText(const base::string16& text) = 0;
// Inserts |text| at the current cursor position, replacing any selected text.
- virtual void InsertOrReplaceText(const string16& text) = 0;
+ virtual void InsertOrReplaceText(const base::string16& text) = 0;
// Returns the text direction.
virtual base::i18n::TextDirection GetTextDirection() const = 0;
// Gets the text that is selected in the wrapped native text field.
- virtual string16 GetSelectedText() const = 0;
+ virtual base::string16 GetSelectedText() const = 0;
// Select the entire text range. If |reversed| is true, the range will end at
// the logical beginning of the text; this generally shows the leading portion
« no previous file with comments | « ui/views/controls/textfield/native_textfield_views_unittest.cc ('k') | ui/views/controls/textfield/textfield.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698