base_i18n_switches.cc 729 B

123456789101112131415161718192021
  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. #include "base/i18n/base_i18n_switches.h"
  5. namespace switches {
  6. // Force the UI to a specific direction. Valid values are "ltr" (left-to-right)
  7. // and "rtl" (right-to-left).
  8. const char kForceUIDirection[] = "force-ui-direction";
  9. // Force the text rendering to a specific direction. Valid values are "ltr"
  10. // (left-to-right) and "rtl" (right-to-left). Only tested meaningfully with
  11. // RTL.
  12. const char kForceTextDirection[] = "force-text-direction";
  13. const char kForceDirectionLTR[] = "ltr";
  14. const char kForceDirectionRTL[] = "rtl";
  15. } // namespace switches