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

Unified Diff: chrome/browser/ui/views/location_bar/content_setting_image_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/content_setting_image_view.cc
diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
index 1947e88b291df43700439f41d0a72c6acfa2e646..2f7459bf091c000bf596a298c00be003823117bd 100644
--- a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
+++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
@@ -75,7 +75,7 @@ ContentSettingImageView::ContentSettingImageView(
parent_background_color,
SkColorGetA(background_image_color)));
text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- text_label_->SetElideBehavior(gfx::TRUNCATE);
+ text_label_->SetElideBehavior(gfx::NO_ELIDE);
AddChildView(text_label_);
slide_animator_.SetSlideDuration(kAnimationDurationMS);

Powered by Google App Engine
This is Rietveld 408576698