Searched refs:elided_text (Results 1 – 4 of 4) sorted by relevance
67 string16 elided_text; in JavaScriptAppModalDialog() local68 EnforceMaxTextSize(WideToUTF16(message_text), &elided_text); in JavaScriptAppModalDialog()69 message_text_ = UTF16ToWide(elided_text); in JavaScriptAppModalDialog()
442 string16 elided_text = in Elide() local448 if (elided_text.empty() && (remaining_width >= ellipsis_width_) && in Elide()458 elided_text = kEllipsis; in Elide()460 if (!elided_text.empty()) { in Elide()462 j->text = elided_text; in Elide()467 if ((elided_text.length() == 1) && in Elide()472 j->pixel_width = j->font->GetStringWidth(elided_text); in Elide()
518 base::string16 elided_text( in Elide() local524 if (elided_text.empty() && (remaining_width >= ellipsis_width_) && in Elide()534 elided_text = kEllipsis; in Elide()536 if (!elided_text.empty()) { in Elide()538 (*j)->SetText(elided_text); in Elide()543 if ((*j)->GetStyle(gfx::BOLD) && (elided_text.length() == 1) && in Elide()
66 base::string16 elided_text = in TrimTooltipToFit() local69 gfx::GetStringWidth(elided_text, font_list)); in TrimTooltipToFit()72 result.append(elided_text); in TrimTooltipToFit()