Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3421)

Unified Diff: chrome/test/automation/automation_proxy_uitest.cc

Issue 1073005: Move RTL related functions from app/l10n_util to base/i18n/rtl... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/localized_error.cc ('k') | views/accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/automation_proxy_uitest.cc
===================================================================
--- chrome/test/automation/automation_proxy_uitest.cc (revision 42180)
+++ chrome/test/automation/automation_proxy_uitest.cc (working copy)
@@ -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 @@
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());
« no previous file with comments | « chrome/renderer/localized_error.cc ('k') | views/accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698