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

Unified Diff: chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc

Issue 354963003: Move gfx::ElideText functionality to RenderText. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and rebase. Created 6 years, 5 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/views/location_bar/add_to_app_launcher_view.cc
diff --git a/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc b/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc
index a9bc3768a1706ae8a0c99dbe8372193d49d2c209..2d9753ff2c569cd94d12c6b05b66dc9145f6b26a 100644
--- a/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc
+++ b/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc
@@ -86,7 +86,7 @@ AddToAppLauncherView::AddToAppLauncherView(LocationBarView* parent,
parent_background_color,
SkColorGetA(background_image_color)));
text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- text_label_->SetElideBehavior(gfx::TRUNCATE);
+ text_label_->SetElideBehavior(gfx::NO_ELIDE);
text_label_->SetText(base::UTF8ToUTF16(
l10n_util::GetStringUTF8(IDS_ADD_TO_APP_LIST_NOTIFICATION_TEXT)));
AddChildView(text_label_);

Powered by Google App Engine
This is Rietveld 408576698