• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #include "base/i18n/base_i18n_switches.h"
6 
7 namespace switches {
8 
9 // Force the UI to a specific direction. Valid values are "ltr" (left-to-right)
10 // and "rtl" (right-to-left).
11 const char kForceUIDirection[]   = "force-ui-direction";
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 
18 const char kForceDirectionLTR[]  = "ltr";
19 const char kForceDirectionRTL[]  = "rtl";
20 
21 }  // namespace switches
22