GetStringWidth 71 ash/accelerators/exit_warning_handler.cc text_width_ = gfx::GetStringWidth(text_, font_list); GetStringWidth 47 ash/shell/lock_view.cc int string_width = gfx::GetStringWidth(text, font_list_); GetStringWidth 515 ash/system/user/tray_user.cc gfx::GetStringWidth(base::ASCIIToUTF16(" "), font_list); GetStringWidth 555 ash/system/user/tray_user.cc gfx::GetStringWidth(base::ASCIIToUTF16(" "), font_list); GetStringWidth 563 ash/system/user/tray_user.cc gfx::GetStringWidth(text_, font_list) + space_width + link_size.width(), GetStringWidth 579 ash/system/user/tray_user.cc width - gfx::GetStringWidth(lines.back(), font_list) <= GetStringWidth 593 ash/system/user/tray_user.cc if (min_width - gfx::GetStringWidth(lines.back(), font_list) <= GetStringWidth 278 chrome/browser/download/download_item_model_unittest.cc EXPECT_GE(kSmallTooltipWidth, gfx::GetStringWidth(lines[i], font_list)); GetStringWidth 140 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc int name_width = gfx::GetStringWidth(names_[i], GetNameFontListForRow(i)); GetStringWidth 141 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc int subtext_width = gfx::GetStringWidth(subtexts_[i], subtext_font_list()); GetStringWidth 580 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::GetStringWidth(names()[i], name_font_list_) + GetStringWidth 581 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::GetStringWidth(subtexts()[i], subtext_font_list_) + GetStringWidth 520 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::GetStringWidth( GetStringWidth 522 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::GetStringWidth( GetStringWidth 170 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc gfx::GetStringWidth(current_password_ + SuggestedText(), GetStringWidth 182 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc int total_length = gfx::GetStringWidth(HelpText(), font_list_); GetStringWidth 227 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gfx::GetStringWidth(controller_->names()[index], GetStringWidth 276 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc x_align_left -= gfx::GetStringWidth(controller_->subtexts()[index], GetStringWidth 509 chrome/browser/ui/gtk/download/download_item_gtk.cc int status_string_width = gfx::GetStringWidth(status_string, font_list); GetStringWidth 38 chrome/browser/ui/gtk/tabs/tab_gtk.cc return gfx::GetStringWidth(title, gfx::FontList(*font)); GetStringWidth 75 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc gfx::GetStringWidth(controller_->names()[index], GetStringWidth 111 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc gfx::GetStringWidth(controller_->subtexts()[index], GetStringWidth 793 chrome/browser/ui/views/download/download_item_view.cc int status_string_width = gfx::GetStringWidth(status_string, font_list_); GetStringWidth 1244 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc std::max(gfx::GetStringWidth( GetStringWidth 1247 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::GetStringWidth( GetStringWidth 759 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Canvas::GetStringWidth(text_leading_host, GetStringWidth 984 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::GetStringWidth(ime_inline_autocomplete_view_->text(), GetStringWidth 57 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc gfx::GetStringWidth(display_string, font_list)); GetStringWidth 456 chrome/browser/ui/views/status_bubble_views.cc gfx::GetStringWidth(text_, font_list), GetStringWidth 893 chrome/browser/ui/views/status_bubble_views.cc std::min(gfx::GetStringWidth(url_text_, font_list) + GetStringWidth 783 chrome/browser/ui/views/toolbar/wrench_menu.cc int w = gfx::GetStringWidth( GetStringWidth 788 chrome/browser/ui/views/toolbar/wrench_menu.cc max_w = gfx::GetStringWidth( GetStringWidth 3026 third_party/wtl/include/atlctrls.h int GetStringWidth(LPCTSTR lpsz) const GetStringWidth 3774 third_party/wtl/include/atlctrls.h lvc.cx = GetStringWidth(lvc.pszText) + cxOffset; GetStringWidth 151 ui/app_list/views/folder_header_view.cc gfx::Canvas::GetStringWidth(text, folder_name_view_->GetFontList()); GetStringWidth 144 ui/gfx/canvas.h static int GetStringWidth(const base::string16& text, GetStringWidth 392 ui/gfx/canvas_skia.cc if (GetStringWidth(text, font_list) <= display_rect.width()) { GetStringWidth 18 ui/gfx/canvas_unittest.cc return Canvas::GetStringWidth(base::UTF8ToUTF16(text), font_list_); GetStringWidth 36 ui/gfx/canvas_unittest.cc EXPECT_GT(GetStringWidth("Test"), 0); GetStringWidth 40 ui/gfx/canvas_unittest.cc EXPECT_EQ(0, GetStringWidth("")); GetStringWidth 387 ui/gfx/platform_font_pango.cc const int text_width_pixels = GetStringWidth( GetStringWidth 27 ui/gfx/text_utils.h GFX_EXPORT int GetStringWidth(const base::string16& text, GetStringWidth 12 ui/gfx/text_utils_skia.cc return Canvas::GetStringWidth(text, font_list); GetStringWidth 67 ui/gfx/text_utils_unittest.cc #define MAYBE_GetStringWidth GetStringWidth GetStringWidth 71 ui/gfx/text_utils_unittest.cc EXPECT_EQ(GetStringWidth(base::string16(), font_list), 0); GetStringWidth 72 ui/gfx/text_utils_unittest.cc EXPECT_GT(GetStringWidth(base::ASCIIToUTF16("a"), font_list), GetStringWidth 73 ui/gfx/text_utils_unittest.cc GetStringWidth(base::string16(), font_list)); GetStringWidth 74 ui/gfx/text_utils_unittest.cc EXPECT_GT(GetStringWidth(base::ASCIIToUTF16("ab"), font_list), GetStringWidth 75 ui/gfx/text_utils_unittest.cc GetStringWidth(base::ASCIIToUTF16("a"), font_list)); GetStringWidth 76 ui/gfx/text_utils_unittest.cc EXPECT_GT(GetStringWidth(base::ASCIIToUTF16("abc"), font_list), GetStringWidth 77 ui/gfx/text_utils_unittest.cc GetStringWidth(base::ASCIIToUTF16("ab"), font_list)); GetStringWidth 145 ui/message_center/views/bounded_label.cc 2 * gfx::GetStringWidth(base::UTF8ToUTF16("W"), GetStringWidth 161 ui/message_center/views/bounded_label.cc if (width > 0 && gfx::GetStringWidth(last, font_list()) > width) GetStringWidth 26 ui/message_center/views/bounded_label_unittest.cc digit_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("0"), font_list_); GetStringWidth 27 ui/message_center/views/bounded_label_unittest.cc space_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16(" "), font_list_); GetStringWidth 28 ui/message_center/views/bounded_label_unittest.cc ellipsis_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("\xE2\x80\xA6"), GetStringWidth 58 ui/views/controls/button/label_button_unittest.cc const int short_text_width = gfx::GetStringWidth(short_text, font_list); GetStringWidth 59 ui/views/controls/button/label_button_unittest.cc const int long_text_width = gfx::GetStringWidth(long_text, font_list); GetStringWidth 119 ui/views/controls/button/label_button_unittest.cc const int text_width = gfx::GetStringWidth(text, font_list); GetStringWidth 623 ui/views/controls/combobox/combobox.cc width = std::max(width, gfx::GetStringWidth(text, font_list)); GetStringWidth 664 ui/views/controls/combobox/combobox.cc int text_width = gfx::GetStringWidth(text, font_list); GetStringWidth 196 ui/views/controls/label.cc label_width = std::max(label_width, gfx::GetStringWidth(*iter, font_list_)); GetStringWidth 241 ui/views/controls/label.cc gfx::Size size(gfx::GetStringWidth(base::string16(gfx::kEllipsisUTF16), GetStringWidth 561 ui/views/controls/label.cc gfx::GetStringWidth(layout_text(), font_list_) > GetStringWidth 980 ui/views/controls/menu/menu_item_view.cc int string_width = gfx::GetStringWidth(title_, font_list); GetStringWidth 983 ui/views/controls/menu/menu_item_view.cc gfx::GetStringWidth(subtitle_, font_list)); GetStringWidth 991 ui/views/controls/menu/menu_item_view.cc minor_text.empty() ? 0 : gfx::GetStringWidth(minor_text, font_list); GetStringWidth 177 ui/views/controls/menu/native_menu_win.cc gfx::GetStringWidth(data->label, font_list) + GetStringWidth 184 ui/views/controls/menu/native_menu_win.cc measure_item_struct->itemWidth += gfx::GetStringWidth(L" ", font_list); GetStringWidth 88 ui/views/controls/table/table_header.cc gfx::GetStringWidth(columns[i].column.title, font_list_); GetStringWidth 25 ui/views/controls/table/table_utils.cc width = gfx::GetStringWidth(column.title, header_font_list) + GetStringWidth 30 ui/views/controls/table/table_utils.cc gfx::GetStringWidth(model->GetText(i, column.id), content_font_list); GetStringWidth 54 ui/views/controls/table/table_utils.cc content_widths[i] = gfx::GetStringWidth(column.title, header_font_list) GetStringWidth 896 ui/views/controls/table/table_view.cc gfx::GetStringWidth(text, font_list_) <= (right - cell_bounds.x())) GetStringWidth 104 ui/views/corewm/tooltip_aura.cc int word_width = gfx::GetStringWidth(word, font_list); GetStringWidth 133 ui/views/corewm/tooltip_aura.cc int line_width = gfx::GetStringWidth(*l, font_list); GetStringWidth 33 ui/views/corewm/tooltip_aura_unittest.cc int error_in_pixel_width = gfx::GetStringWidth(ASCIIToUTF16("tooltip"), GetStringWidth 40 ui/views/corewm/tooltip_aura_unittest.cc for (; gfx::GetStringWidth(tooltip, font_list) <= GetStringWidth 54 ui/views/corewm/tooltip_aura_unittest.cc for (; gfx::GetStringWidth(tooltip, font_list) <= GetStringWidth 66 ui/views/corewm/tooltip_aura_unittest.cc for (; gfx::GetStringWidth(tooltip, font_list) <= GetStringWidth 99 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_EQ(gfx::GetStringWidth(ASCIIToUTF16("Small Tooltip"), font_list), GetStringWidth 110 ui/views/corewm/tooltip_aura_unittest.cc int expected_width = gfx::GetStringWidth(ASCIIToUTF16("Multi line"), GetStringWidth 113 ui/views/corewm/tooltip_aura_unittest.cc gfx::GetStringWidth(ASCIIToUTF16("Tooltip"), GetStringWidth 125 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_EQ(gfx::GetStringWidth(ASCIIToUTF16("Small Tool t\tip"), font_list), GetStringWidth 141 ui/views/touchui/touch_editing_menu.cc int h_border = (kMenuButtonWidth - gfx::GetStringWidth(label, font_list)) / 2; GetStringWidth 283 ui/views/touchui/touch_selection_controller_impl_unittest.cc int x = gfx::Canvas::GetStringWidth(ASCIIToUTF16("ld "), font_list); GetStringWidth 295 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(ASCIIToUTF16("textfield with "), font_list); GetStringWidth 301 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(ASCIIToUTF16("with selected "), font_list); GetStringWidth 322 ui/views/touchui/touch_selection_controller_impl_unittest.cc int x = gfx::Canvas::GetStringWidth(WideToUTF16(L"\x05e3"), font_list); GetStringWidth 328 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"b"), font_list); GetStringWidth 339 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"\x05e3"), font_list); GetStringWidth 345 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"b"), font_list); GetStringWidth 371 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"d"), font_list); GetStringWidth 390 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"d"), font_list); GetStringWidth 401 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"c"), font_list); GetStringWidth 407 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"\x05e2"), font_list); GetStringWidth 418 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"c"), font_list); GetStringWidth 424 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"\x05e2"), font_list);