Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3128)

Unified Diff: chrome/browser/ui/gtk/content_setting_bubble_gtk.cc

Issue 23731010: Move text_elider to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update3 Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/content_setting_bubble_gtk.cc
diff --git a/chrome/browser/ui/gtk/content_setting_bubble_gtk.cc b/chrome/browser/ui/gtk/content_setting_bubble_gtk.cc
index aa9e25edecf7bb5b5d6dd990b499459f2528b18a..6a541e2397c47c0c42d7455db110289acfd85607 100644
--- a/chrome/browser/ui/gtk/content_setting_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/content_setting_bubble_gtk.cc
@@ -31,9 +31,9 @@
#include "ui/base/gtk/gtk_hig_constants.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/simple_menu_model.h"
-#include "ui/base/text/text_elider.h"
#include "ui/gfx/font.h"
#include "ui/gfx/gtk_util.h"
+#include "ui/gfx/text_elider.h"
using content::PluginService;
using content::WebContents;
@@ -49,11 +49,11 @@ const int kMinMediaMenuButtonWidth = 100;
const int kMaxMediaMenuButtonWidth = 600;
std::string BuildElidedText(const std::string& input) {
- return UTF16ToUTF8(ui::ElideText(
+ return UTF16ToUTF8(gfx::ElideText(
UTF8ToUTF16(input),
gfx::Font(),
kMaxLinkPixelSize,
- ui::ELIDE_AT_END));
+ gfx::ELIDE_AT_END));
}
} // namespace
« no previous file with comments | « chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc ('k') | chrome/browser/ui/gtk/download/download_item_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698