OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/i18n/base_i18n_switches.h" | 5 #include "base/i18n/base_i18n_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Force the UI to a specific direction. Valid values are "ltr" (left-to-right) | 9 // Force the UI to a specific direction. Valid values are "ltr" (left-to-right) |
10 // and "rtl" (right-to-left). | 10 // and "rtl" (right-to-left). |
11 const char kForceUIDirection[] = "force-ui-direction"; | 11 const char kForceUIDirection[] = "force-ui-direction"; |
12 | 12 |
| 13 // Force the text rendering to a specific direction. Valid values are "ltr" |
| 14 // (left-to-right) and "rtl" (right-to-left). Only tested meaningfully with |
| 15 // RTL. |
| 16 const char kForceTextDirection[] = "force-text-direction"; |
| 17 |
13 const char kForceUIDirectionLTR[] = "ltr"; | 18 const char kForceUIDirectionLTR[] = "ltr"; |
14 const char kForceUIDirectionRTL[] = "rtl"; | 19 const char kForceUIDirectionRTL[] = "rtl"; |
15 | 20 |
16 } // namespace switches | 21 } // namespace switches |
OLD | NEW |