summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 00:24:36 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 00:24:36 +0000
commit75d78246ad3bff129539b8259e7b35f2d49117a8 (patch)
tree9a96830b5046cff95d1aa57ed7187dc39494db0a /chrome/browser/ui
parentf6ab5725d4fb9b8eac2f39f54308148388d5cfa3 (diff)
downloadchromium_src-75d78246ad3bff129539b8259e7b35f2d49117a8.zip
chromium_src-75d78246ad3bff129539b8259e7b35f2d49117a8.tar.gz
chromium_src-75d78246ad3bff129539b8259e7b35f2d49117a8.tar.bz2
Move BiDiLineIterator to base/i18n/ directory.
BUG=23581 TEST=trybots Review URL: http://codereview.chromium.org/6249007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71884 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui')
-rw-r--r--chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
index 14e7453..d1d719a 100644
--- a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
+++ b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
@@ -4,12 +4,12 @@
#include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h"
-#include "app/bidi_line_iterator.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "app/text_elider.h"
#include "app/theme_provider.h"
#include "base/compiler_specific.h"
+#include "base/i18n/bidi_line_iterator.h"
#include "base/i18n/rtl.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/autocomplete/autocomplete_edit_view.h"
@@ -558,7 +558,7 @@ int AutocompleteResultView::DrawString(
// worry about whether our eliding might change the visual display in
// unintended ways, e.g. by removing directional markings or by adding an
// ellipsis that's not enclosed in appropriate markings.
- BiDiLineIterator bidi_line;
+ base::i18n::BiDiLineIterator bidi_line;
if (!bidi_line.Open(WideToUTF16Hack(text), base::i18n::IsRTL(), is_url))
return x;
const int num_runs = bidi_line.CountRuns();