Lines Matching refs:labels
38 void AlternateNavInfoBarView::ElideLabels(Labels* labels, int available_width) {
39 views::Label* last_label = labels->back();
40 labels->pop_back();
42 for (Labels::iterator i(labels->begin()); i != labels->end(); ++i)
48 if (!labels->empty())
49 labels->back()->SetText(labels->back()->text() + gfx::kEllipsisUTF16);
52 if (!labels->empty())
53 ElideLabels(labels, available_width - last_label_width);
62 Labels labels;
63 labels.push_back(label_1_);
64 labels.push_back(link_);
65 labels.push_back(label_2_);
66 ElideLabels(&labels, EndX() - StartX());