From a05c2ef0084fecfdfe297abeb2a6268b73abfce5 Mon Sep 17 00:00:00 2001 From: "arv@chromium.org" Date: Tue, 23 Feb 2010 18:30:55 +0000 Subject: Bookmark Manager: Set the direction and the font size based on the language. BUG=36457 TEST=Change the language to Hebrew (for example) and notice the RTL UI. Review URL: http://codereview.chromium.org/652079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39748 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_bookmark_manager_api.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/extensions/extension_bookmark_manager_api.cc') diff --git a/chrome/browser/extensions/extension_bookmark_manager_api.cc b/chrome/browser/extensions/extension_bookmark_manager_api.cc index 24a01aa..81848f3 100644 --- a/chrome/browser/extensions/extension_bookmark_manager_api.cc +++ b/chrome/browser/extensions/extension_bookmark_manager_api.cc @@ -14,6 +14,7 @@ #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/bookmarks/bookmark_html_writer.h" #include "chrome/browser/bookmarks/bookmark_utils.h" +#include "chrome/browser/dom_ui/chrome_url_data_manager.h" #include "chrome/browser/extensions/extension_bookmarks_module_constants.h" #include "chrome/browser/extensions/extension_dom_ui.h" #include "chrome/browser/extensions/extension_message_service.h" @@ -385,6 +386,8 @@ bool BookmarkManagerGetStringsFunction::RunImpl() { localized_strings->SetString(L"delete", l10n_util::GetString(IDS_CONTENT_CONTEXT_DELETE)); + ChromeURLDataManager::DataSource::SetFontAndTextDirection(localized_strings); + result_.reset(localized_strings); SendResponse(true); return true; -- cgit v1.1