diff options
Diffstat (limited to 'chrome/browser/ui/views/bookmarks')
-rw-r--r-- | chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc | 4 | ||||
-rw-r--r-- | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc index 6222ee3..e5336af 100644 --- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc +++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc @@ -55,7 +55,7 @@ #include "components/bookmarks/browser/bookmark_utils.h" #include "components/bookmarks/managed/managed_bookmark_service.h" #include "components/metrics/metrics_service.h" -#include "components/url_formatter/elide_url.h" +#include "components/secure_display/elide_url.h" #include "content/public/browser/notification_details.h" #include "content/public/browser/notification_source.h" #include "content/public/browser/page_navigator.h" @@ -722,7 +722,7 @@ base::string16 BookmarkBarView::CreateToolTipForURLAndTitle( std::string languages = profile->GetPrefs()->GetString( prefs::kAcceptLanguages); base::string16 elided_url( - url_formatter::ElideUrl(url, tt_fonts, max_width, languages)); + secure_display::ElideUrl(url, tt_fonts, max_width, languages)); elided_url = base::i18n::GetDisplayStringInLTRDirectionality(elided_url); result.append(elided_url); } diff --git a/chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc index a591923..0ef71fe 100644 --- a/chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc +++ b/chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc @@ -20,7 +20,7 @@ #include "components/bookmarks/browser/bookmark_utils.h" #include "components/constrained_window/constrained_window_views.h" #include "components/history/core/browser/history_service.h" -#include "components/url_formatter/url_fixer.h" +#include "components/url_fixer/url_fixer.h" #include "components/user_prefs/user_prefs.h" #include "ui/accessibility/ax_view_state.h" #include "ui/base/l10n/l10n_util.h" @@ -440,8 +440,7 @@ void BookmarkEditorView::Reset() { GURL BookmarkEditorView::GetInputURL() const { if (details_.GetNodeType() == BookmarkNode::FOLDER) return GURL(); - return url_formatter::FixupURL(base::UTF16ToUTF8(url_tf_->text()), - std::string()); + return url_fixer::FixupURL(base::UTF16ToUTF8(url_tf_->text()), std::string()); } void BookmarkEditorView::UserInputChanged() { |