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

Unified Diff: chrome/browser/ui/views/location_bar/origin_chip_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/origin_chip_view.cc
diff --git a/chrome/browser/ui/views/location_bar/origin_chip_view.cc b/chrome/browser/ui/views/location_bar/origin_chip_view.cc
index 1f22a32d5470b3484e4cc5d6b53eb27c9929daf2..a7c3596fbd0d84a0f1410fb4df1685109b9e80ef 100644
--- a/chrome/browser/ui/views/location_bar/origin_chip_view.cc
+++ b/chrome/browser/ui/views/location_bar/origin_chip_view.cc
@@ -166,12 +166,12 @@ OriginChipView::OriginChipView(LocationBarView* location_bar_view,
ev_label_ = new views::Label(base::string16(), GetFontList());
ev_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- ev_label_->SetElideBehavior(gfx::TRUNCATE);
+ ev_label_->SetElideBehavior(gfx::NO_ELIDE);
AddChildView(ev_label_);
host_label_ = new views::Label(base::string16(), GetFontList());
host_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- host_label_->SetElideBehavior(gfx::TRUNCATE);
+ host_label_->SetElideBehavior(gfx::NO_ELIDE);
AddChildView(host_label_);
fade_in_animation_.SetTweenType(gfx::Tween::LINEAR_OUT_SLOW_IN);

Powered by Google App Engine
This is Rietveld 408576698