From 7cf1b6ced3b14cce1d66ca0ddc713851f0d37536 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Sat, 20 Mar 2010 06:37:01 +0000 Subject: Move RTL related functions from app/l10n_util to base/i18n/rtl TBR=darin BUG=none TEST=none Review URL: http://codereview.chromium.org/1073005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42182 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/automation/automation_proxy_uitest.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chrome/test/automation') diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc index 0767ca7..9ff86df 100644 --- a/chrome/test/automation/automation_proxy_uitest.cc +++ b/chrome/test/automation/automation_proxy_uitest.cc @@ -10,6 +10,7 @@ #include "base/command_line.h" #include "base/compiler_specific.h" #include "base/file_path.h" +#include "base/i18n/rtl.h" #include "base/keyboard_codes.h" #include "base/string_util.h" #include "base/sys_info.h" @@ -122,8 +123,8 @@ TEST_F(AutomationProxyVisibleTest, MAYBE_WindowGetViewBounds) { EXPECT_TRUE(automation()->GetBrowserLocale(&browser_locale)); const std::string& locale_utf8 = UTF16ToUTF8(browser_locale); - if (l10n_util::GetTextDirectionForLocale(locale_utf8.c_str()) == - l10n_util::RIGHT_TO_LEFT) { + if (base::i18n::GetTextDirectionForLocale(locale_utf8.c_str()) == + base::i18n::RIGHT_TO_LEFT) { EXPECT_LT(bounds2.x(), bounds.x()); } else { EXPECT_GT(bounds2.x(), bounds.x()); -- cgit v1.1