summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_bookmark_manager_api.cc
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-23 18:30:55 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-23 18:30:55 +0000
commita05c2ef0084fecfdfe297abeb2a6268b73abfce5 (patch)
treec2db719dc6dfd33abec2b47fdc8c7a22c1b5fa7f /chrome/browser/extensions/extension_bookmark_manager_api.cc
parenta66a0a197cee727c68465a0068d7276021d5a07d (diff)
downloadchromium_src-a05c2ef0084fecfdfe297abeb2a6268b73abfce5.zip
chromium_src-a05c2ef0084fecfdfe297abeb2a6268b73abfce5.tar.gz
chromium_src-a05c2ef0084fecfdfe297abeb2a6268b73abfce5.tar.bz2
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
Diffstat (limited to 'chrome/browser/extensions/extension_bookmark_manager_api.cc')
-rw-r--r--chrome/browser/extensions/extension_bookmark_manager_api.cc3
1 files changed, 3 insertions, 0 deletions
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;