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

Unified Diff: base/i18n/base_i18n_switches.cc

Issue 2853523002: [rendertext,i18n] Added flag to force RTL rendering (Closed)
Patch Set: Missed a comment Created 3 years, 8 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
Index: base/i18n/base_i18n_switches.cc
diff --git a/base/i18n/base_i18n_switches.cc b/base/i18n/base_i18n_switches.cc
index 44e8393baab0b90c6e8bc53180d21482d6f09d5e..103d6653d3ecfe0431abf568eb86514f039131fc 100644
--- a/base/i18n/base_i18n_switches.cc
+++ b/base/i18n/base_i18n_switches.cc
@@ -8,9 +8,14 @@ namespace switches {
// Force the UI to a specific direction. Valid values are "ltr" (left-to-right)
// and "rtl" (right-to-left).
-const char kForceUIDirection[] = "force-ui-direction";
+const char kForceUIDirection[] = "force-ui-direction";
-const char kForceUIDirectionLTR[] = "ltr";
-const char kForceUIDirectionRTL[] = "rtl";
+// Force the text rendering to a specific direction. Valid values are "ltr"
+// (left-to-right) and "rtl" (right-to-left). Only tested meaningfully with
+// RTL.
+const char kForceTextDirection[] = "force-text-direction";
+
+const char kForceDirectionLTR[] = "ltr";
+const char kForceDirectionRTL[] = "rtl";
} // namespace switches
« no previous file with comments | « base/i18n/base_i18n_switches.h ('k') | base/i18n/rtl.cc » ('j') | ui/gfx/render_text_harfbuzz.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698