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

Unified Diff: base/i18n/rtl.h

Issue 10910128: Check string and UI direction in GetDisplayStringInLTRDirectionality, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USE ARRAYSIZE_UNSAFE for unnamed struct arrays. Created 8 years, 3 months 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 | « no previous file | base/i18n/rtl.cc » ('j') | base/i18n/rtl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/rtl.h
diff --git a/base/i18n/rtl.h b/base/i18n/rtl.h
index b1acfb3a075c78dfe27932bba2046d86bd8f9edf..202a126d71d3112b7ddb90a9c052f0289069ba81 100644
--- a/base/i18n/rtl.h
+++ b/base/i18n/rtl.h
@@ -117,11 +117,8 @@ BASE_I18N_EXPORT void WrapStringWithRTLFormatting(string16* text);
BASE_I18N_EXPORT void WrapPathWithLTRFormatting(const FilePath& path,
string16* rtl_safe_path);
-// Given the string in |text|, this function returns the adjusted string having
-// LTR directionality for display purpose. Which means that in RTL locale the
-// string is wrapped with LRE (Left-To-Right Embedding) and PDF (Pop
-// Directional Formatting) marks and returned. In LTR locale, the string itself
-// is returned.
+// Return the string in |text| wrapped with LRE (Left-To-Right Embedding) and
+// PDF (Pop Directional Formatting) marks, if needed for UI display purposes.
BASE_I18N_EXPORT string16 GetDisplayStringInLTRDirectionality(
const string16& text) WARN_UNUSED_RESULT;
« no previous file with comments | « no previous file | base/i18n/rtl.cc » ('j') | base/i18n/rtl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698