TruncateString 180 chrome/browser/extensions/menu_manager.cc result = gfx::TruncateString(result, max_length); TruncateString 1983 chrome/browser/renderer_context_menu/render_view_context_menu.cc return gfx::TruncateString(params_.selection_text, TruncateString 277 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gfx::TruncateString(node->GetTitle(), kMaxCharsOnAMenuLabel)); TruncateString 280 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc elided_name = base::UTF16ToUTF8(gfx::TruncateString( TruncateString 652 chrome/browser/ui/gtk/gtk_util.cc std::string truncated_url = base::UTF16ToUTF8(gfx::TruncateString( TruncateString 662 chrome/browser/ui/gtk/gtk_util.cc std::string truncated_title = base::UTF16ToUTF8(gfx::TruncateString( TruncateString 27 chrome/browser/ui/omnibox/location_bar_util.cc min_string = gfx::TruncateString(description, 3); TruncateString 67 chrome/test/chromedriver/chrome/log.cc TruncateString(&data); TruncateString 942 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::TruncateString(tooltip_text, kMaxTooltipLength); TruncateString 190 ui/gfx/text_elider.h GFX_EXPORT base::string16 TruncateString(const base::string16& string, TruncateString 886 ui/gfx/text_elider_unittest.cc TEST(TextEliderTest, TruncateString) { TruncateString 890 ui/gfx/text_elider_unittest.cc EXPECT_EQ(string, TruncateString(string, 100)); TruncateString 893 ui/gfx/text_elider_unittest.cc EXPECT_EQ(L"", UTF16ToWide(TruncateString(string, 0))); TruncateString 896 ui/gfx/text_elider_unittest.cc EXPECT_EQ(L"\x2026", UTF16ToWide(TruncateString(string, 1))); TruncateString 900 ui/gfx/text_elider_unittest.cc EXPECT_EQ(L"foooooey\x2026", UTF16ToWide(TruncateString(string, 14))); TruncateString 903 ui/gfx/text_elider_unittest.cc EXPECT_EQ(L"f\x2026", UTF16ToWide(TruncateString(string, 2))); TruncateString 907 ui/gfx/text_elider_unittest.cc EXPECT_EQ(L"foooooey\x2026", UTF16ToWide(TruncateString(string, 11))); TruncateString 910 ui/gfx/text_elider_unittest.cc EXPECT_EQ(L"\x2026", UTF16ToWide(TruncateString(ASCIIToUTF16(" "), 2))); TruncateString 327 ui/message_center/views/notification_view.cc gfx::TruncateString(notification.title(), kTitleCharacterLimit), TruncateString 343 ui/message_center/views/notification_view.cc gfx::TruncateString(notification.message(), kMessageCharacterLimit)); TruncateString 358 ui/message_center/views/notification_view.cc new BoundedLabel(gfx::TruncateString(notification.context_message(), TruncateString 122 ui/views/corewm/tooltip_aura.cc result_lines[kMaxLines - 1] = gfx::TruncateString( TruncateString 33 ui/views/widget/tooltip_manager.cc *text = gfx::TruncateString(*text, kMaxTooltipLength);