views: Support accelerators in MenuButton label (issue #2102)

This commit is contained in:
Marshall Greenblatt
2017-02-23 15:24:45 -05:00
parent 6eaf11f07a
commit 16125bdbbd
11 changed files with 226 additions and 5 deletions

View File

@@ -185,6 +185,17 @@ CEF_EXPORT void cef_string_userfree_utf8_free(cef_string_userfree_utf8_t str);
CEF_EXPORT void cef_string_userfree_utf16_free(cef_string_userfree_utf16_t str);
///
// These functions convert utf16 string case using the current ICU locale. This
// may change the length of the string in some cases.
///
CEF_EXPORT int cef_string_utf16_to_lower(const char16* src, size_t src_len,
cef_string_utf16_t* output);
CEF_EXPORT int cef_string_utf16_to_upper(const char16* src, size_t src_len,
cef_string_utf16_t* output);
#ifdef __cplusplus
}
#endif