summaryrefslogtreecommitdiffstats
path: root/app/l10n_util.h
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-18 20:19:19 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-18 20:19:19 +0000
commit3ce3e04f248adb3f440493bdae9c303433bc1fc2 (patch)
tree798f13dc156541e4102bae4afa30f839085bee90 /app/l10n_util.h
parent8279af57b7cffbc823f105b6b1115c15ff25658f (diff)
downloadchromium_src-3ce3e04f248adb3f440493bdae9c303433bc1fc2.zip
chromium_src-3ce3e04f248adb3f440493bdae9c303433bc1fc2.tar.gz
chromium_src-3ce3e04f248adb3f440493bdae9c303433bc1fc2.tar.bz2
Add helper for forcing a GtkEntry to lowercase.
Make l10n_util::ToLower string16 friendly. BUG=13326 Review URL: http://codereview.chromium.org/126260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18742 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/l10n_util.h')
-rw-r--r--app/l10n_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/l10n_util.h b/app/l10n_util.h
index 69d3271..c4c62e13 100644
--- a/app/l10n_util.h
+++ b/app/l10n_util.h
@@ -124,7 +124,11 @@ std::wstring GetStringF(int message_id, int64 a);
std::wstring TruncateString(const std::wstring& string, size_t length);
// Returns the lower case equivalent of string.
+#if defined(WCHAR_T_IS_UTF32)
+// Deprecated. The string16 version should be used instead.
std::wstring ToLower(const std::wstring& string);
+#endif // defined(WCHAR_T_IS_UTF32)
+string16 ToLower(const string16& string);
// Represents the text direction returned by the GetTextDirection() function.
enum TextDirection {