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

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

Issue 312233003: Add fade eliding for Views Labels; related cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refine alignment check; minor additional cleanup. Created 6 years, 6 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/icon_label_bubble_view.cc
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
index 95dcb153f49e1952593a1caace019a49db8b55ba..c222ba91c8e6ecddddde68f623f3af515b97f03a 100644
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
@@ -64,7 +64,7 @@ IconLabelBubbleView::IconLabelBubbleView(const int background_images[],
parent_background_color,
SkColorGetA(background_image_color)));
if (elide_in_middle)
- label_->SetElideBehavior(views::Label::ELIDE_IN_MIDDLE);
+ label_->SetElideBehavior(gfx::ELIDE_MIDDLE);
AddChildView(label_);
}

Powered by Google App Engine
This is Rietveld 408576698