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

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

Issue 111373008: Update some uses of char16 to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « ui/views/controls/textfield/native_textfield_views_unittest.cc ('k') | ui/views/ime/input_method_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield_views_model.h
diff --git a/ui/views/controls/textfield/textfield_views_model.h b/ui/views/controls/textfield/textfield_views_model.h
index 4e625c4d2d65b2f823d047f15f0a3c4e2e355584..bc1de8857529a59ccd7b62b62e15259fc311bb68 100644
--- a/ui/views/controls/textfield/textfield_views_model.h
+++ b/ui/views/controls/textfield/textfield_views_model.h
@@ -82,7 +82,7 @@ class VIEWS_EXPORT TextfieldViewsModel {
}
// Inserts a character at the current cursor position.
- void InsertChar(char16 c) {
+ void InsertChar(base::char16 c) {
InsertTextInternal(base::string16(&c, 1), true);
}
@@ -93,7 +93,7 @@ class VIEWS_EXPORT TextfieldViewsModel {
}
// Replaces the char at the current position with given character.
- void ReplaceChar(char16 c) {
+ void ReplaceChar(base::char16 c) {
ReplaceTextInternal(base::string16(&c, 1), true);
}
« no previous file with comments | « ui/views/controls/textfield/native_textfield_views_unittest.cc ('k') | ui/views/ime/input_method_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698