diff options
Diffstat (limited to 'chromium/base/i18n/rtl.h')
-rw-r--r-- | chromium/base/i18n/rtl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/base/i18n/rtl.h b/chromium/base/i18n/rtl.h index 53259709057..e54f8ea3556 100644 --- a/chromium/base/i18n/rtl.h +++ b/chromium/base/i18n/rtl.h @@ -54,6 +54,9 @@ BASE_I18N_EXPORT void SetICUDefaultLocale(const std::string& locale_string); // Returns true if the application text direction is right-to-left. BASE_I18N_EXPORT bool IsRTL(); +// A test utility function to set the application default text direction. +BASE_I18N_EXPORT void SetRTLForTesting(bool rtl); + // Returns whether the text direction for the default ICU locale is RTL. This // assumes that SetICUDefaultLocale has been called to set the default locale to // the UI locale of Chrome. |