Chromium Code Reviews| Index: ui/views/controls/textfield/native_textfield_views.h |
| diff --git a/ui/views/controls/textfield/native_textfield_views.h b/ui/views/controls/textfield/native_textfield_views.h |
| index 83341e1db521da1aa9fff5544a7080ebea6cbd33..2718c7c5b33acef413c6562061b66339bd79ce4a 100644 |
| --- a/ui/views/controls/textfield/native_textfield_views.h |
| +++ b/ui/views/controls/textfield/native_textfield_views.h |
| @@ -197,7 +197,7 @@ class VIEWS_EXPORT NativeTextfieldViews : public TouchSelectionClientView, |
| // changed. |
| void UpdateAfterChange(bool text_changed, bool cursor_changed); |
| - // Utility function to prepare the context menu.. |
| + // Utility function to prepare the context menu. |
| void UpdateContextMenu(); |
| // Convenience method to call InputMethod::OnTextInputTypeChanged(); |
| @@ -235,6 +235,9 @@ class VIEWS_EXPORT NativeTextfieldViews : public TouchSelectionClientView, |
| // exceeds the drag threshold. |
| bool ExceededDragThresholdFromLastClickLocation(const MouseEvent& event); |
| + // Converts |text| to lower case if |textfield_| has STYLE_LOWERCASE style. |
| + void MaybeLowerCase(string16* text); |
|
msw
2012/04/12 16:15:29
Please rename this GetTextForDisplay or similar fo
kochi
2012/04/13 09:44:09
Done.
|
| + |
| // Checks if a char is ok to be inserted into the textfield. The |ch| is a |
| // modified character, i.e., modifiers took effect when generating this char. |
| static bool ShouldInsertChar(char16 ch, int flags); |