summaryrefslogtreecommitdiffstats
path: root/views/view.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-20 06:37:01 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-20 06:37:01 +0000
commit7cf1b6ced3b14cce1d66ca0ddc713851f0d37536 (patch)
tree1c2fc9f4d52bf3046addf820d5eec03a2e150749 /views/view.cc
parentf9f4841b14a9f309ce5ee613f0d4de6afad88767 (diff)
downloadchromium_src-7cf1b6ced3b14cce1d66ca0ddc713851f0d37536.zip
chromium_src-7cf1b6ced3b14cce1d66ca0ddc713851f0d37536.tar.gz
chromium_src-7cf1b6ced3b14cce1d66ca0ddc713851f0d37536.tar.bz2
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
Diffstat (limited to 'views/view.cc')
-rw-r--r--views/view.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/view.cc b/views/view.cc
index b5e7173..a35cf49 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -11,7 +11,7 @@
#include "app/drag_drop_types.h"
#include "app/gfx/canvas.h"
-#include "app/l10n_util.h"
+#include "base/i18n/rtl.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/scoped_handle.h"
@@ -235,8 +235,7 @@ void View::SetLayoutManager(LayoutManager* layout_manager) {
}
bool View::UILayoutIsRightToLeft() const {
- return (ui_mirroring_is_enabled_for_rtl_languages_ &&
- l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT);
+ return (ui_mirroring_is_enabled_for_rtl_languages_ && base::i18n::IsRTL());
}
////////////////////////////////////////////////////////////////////////////////