fonts 57 chrome/browser/extensions/api/font_settings/font_settings_api.cc std::string GetFontNamePrefPath(fonts::GenericFamily generic_family_enum, fonts 58 chrome/browser/extensions/api/font_settings/font_settings_api.cc fonts::ScriptCode script_enum) { fonts 59 chrome/browser/extensions/api/font_settings/font_settings_api.cc std::string script = fonts::ToString(script_enum); fonts 62 chrome/browser/extensions/api/font_settings/font_settings_api.cc std::string generic_family = fonts::ToString(generic_family_enum); fonts 101 chrome/browser/extensions/api/font_settings/font_settings_api.cc fonts::OnDefaultFixedFontSizeChanged::kEventName, fonts 104 chrome/browser/extensions/api/font_settings/font_settings_api.cc fonts::OnDefaultFontSizeChanged::kEventName, fonts 107 chrome/browser/extensions/api/font_settings/font_settings_api.cc fonts::OnMinimumFontSizeChanged::kEventName, fonts 178 chrome/browser/extensions/api/font_settings/font_settings_api.cc fonts::OnFontChanged::kEventName, fonts 229 chrome/browser/extensions/api/font_settings/font_settings_api.cc scoped_ptr<fonts::ClearFont::Params> params( fonts 230 chrome/browser/extensions/api/font_settings/font_settings_api.cc fonts::ClearFont::Params::Create(*args_)); fonts 246 chrome/browser/extensions/api/font_settings/font_settings_api.cc scoped_ptr<fonts::GetFont::Params> params( fonts 247 chrome/browser/extensions/api/font_settings/font_settings_api.cc fonts::GetFont::Params::Create(*args_)); fonts 282 chrome/browser/extensions/api/font_settings/font_settings_api.cc scoped_ptr<fonts::SetFont::Params> params( fonts 283 chrome/browser/extensions/api/font_settings/font_settings_api.cc fonts::SetFont::Params::Create(*args_)); fonts 314 chrome/browser/extensions/api/font_settings/font_settings_api.cc base::ListValue* fonts) { fonts 316 chrome/browser/extensions/api/font_settings/font_settings_api.cc for (base::ListValue::iterator it = fonts->begin(); fonts 317 chrome/browser/extensions/api/font_settings/font_settings_api.cc it != fonts->end(); ++it) { fonts 149 chrome/browser/extensions/api/font_settings/font_settings_api.h bool CopyFontsToResult(base::ListValue* fonts); fonts 181 chrome/browser/renderer_host/chrome_render_message_filter.cc static_cast<int>(stats.fonts.size / 1024)); fonts 202 chrome/common/render_messages.h IPC_STRUCT_TRAITS_MEMBER(fonts) fonts 77 components/autofill/content/browser/risk/fingerprint.cc void AddFontsToFingerprint(const base::ListValue& fonts, fonts 79 components/autofill/content/browser/risk/fingerprint.cc for (base::ListValue::const_iterator it = fonts.begin(); fonts 80 components/autofill/content/browser/risk/fingerprint.cc it != fonts.end(); ++it) { fonts 276 components/autofill/content/browser/risk/fingerprint.cc void OnGotFonts(scoped_ptr<base::ListValue> fonts); fonts 400 components/autofill/content/browser/risk/fingerprint.cc void FingerprintDataLoader::OnGotFonts(scoped_ptr<base::ListValue> fonts) { fonts 402 components/autofill/content/browser/risk/fingerprint.cc fonts_.reset(fonts.release()); fonts 455 content/browser/renderer_host/render_sandbox_host_linux.cc FcPattern* current = font_set->fonts[i]; fonts 532 content/browser/renderer_host/render_sandbox_host_linux.cc FcPattern* current = font_set->fonts[good_enough_index]; fonts 51 extensions/browser/renderer_startup_helper.cc scoped_ptr<base::DictionaryValue> fonts(new base::DictionaryValue); fonts 52 extensions/browser/renderer_startup_helper.cc webui::SetFontAndTextDirection(fonts.get()); fonts 54 extensions/browser/renderer_startup_helper.cc fonts->GetString("fontfamily", &font_family); fonts 55 extensions/browser/renderer_startup_helper.cc fonts->GetString("fontsize", &font_size); fonts 94 ppapi/proxy/truetype_font_singleton_resource.cc const std::vector<SerializedTrueTypeFontDesc>& fonts) { fonts 99 ppapi/proxy/truetype_font_singleton_resource.cc DCHECK((result < 0 && fonts.size() == 0) || fonts 100 ppapi/proxy/truetype_font_singleton_resource.cc result == static_cast<int32_t>(fonts.size())); fonts 106 ppapi/proxy/truetype_font_singleton_resource.cc std::vector<PP_TrueTypeFontDesc_Dev> pp_fonts(fonts.size()); fonts 107 ppapi/proxy/truetype_font_singleton_resource.cc for (size_t i = 0; i < fonts.size(); i++) fonts 108 ppapi/proxy/truetype_font_singleton_resource.cc fonts[i].CopyToPPTrueTypeFontDesc(&pp_fonts[i]); fonts 57 ppapi/proxy/truetype_font_singleton_resource.h const std::vector<SerializedTrueTypeFontDesc>& fonts); fonts 57 ui/gfx/font_fallback_win.cc void AppendFont(const std::string& name, int size, std::vector<Font>* fonts) { fonts 58 ui/gfx/font_fallback_win.cc if (fonts->empty() || fonts->back().GetFontName() != name) fonts 59 ui/gfx/font_fallback_win.cc fonts->push_back(Font(name, size)); fonts 231 ui/gfx/font_fallback_win.cc const std::vector<Font>* fonts = font_link->GetLinkedFonts(original_font_); fonts 240 ui/gfx/font_fallback_win.cc if (fonts->empty()) fonts 241 ui/gfx/font_fallback_win.cc fonts = font_link->GetLinkedFonts(current_font_); fonts 243 ui/gfx/font_fallback_win.cc return fonts; fonts 38 ui/gfx/font_list.cc FontList::FontList(const std::vector<Font>& fonts) fonts 39 ui/gfx/font_list.cc : impl_(new FontListImpl(fonts)) {} fonts 51 ui/gfx/font_list.h explicit FontList(const std::vector<Font>& fonts); fonts 98 ui/gfx/font_list_impl.cc FontListImpl::FontListImpl(const std::vector<Font>& fonts) fonts 99 ui/gfx/font_list_impl.cc : fonts_(fonts), fonts 104 ui/gfx/font_list_impl.cc DCHECK(!fonts.empty()); fonts 105 ui/gfx/font_list_impl.cc font_style_ = fonts[0].GetStyle(); fonts 106 ui/gfx/font_list_impl.cc font_size_ = fonts[0].GetFontSize(); fonts 108 ui/gfx/font_list_impl.cc for (size_t i = 1; i < fonts.size(); ++i) { fonts 109 ui/gfx/font_list_impl.cc DCHECK_EQ(fonts[i].GetStyle(), font_style_); fonts 110 ui/gfx/font_list_impl.cc DCHECK_EQ(fonts[i].GetFontSize(), font_size_); fonts 126 ui/gfx/font_list_impl.cc std::vector<Font> fonts = fonts_; fonts 127 ui/gfx/font_list_impl.cc for (size_t i = 0; i < fonts.size(); ++i) fonts 128 ui/gfx/font_list_impl.cc fonts[i] = fonts[i].Derive(size_delta, font_style); fonts 129 ui/gfx/font_list_impl.cc return new FontListImpl(fonts); fonts 227 ui/gfx/font_list_impl.cc const std::vector<Font>& fonts = GetFonts(); fonts 228 ui/gfx/font_list_impl.cc for (std::vector<Font>::const_iterator i = fonts.begin(); fonts 229 ui/gfx/font_list_impl.cc i != fonts.end(); ++i) { fonts 42 ui/gfx/font_list_impl.h explicit FontListImpl(const std::vector<Font>& fonts); fonts 81 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; fonts 82 ui/gfx/font_list_unittest.cc fonts.push_back(font.Derive(0, Font::BOLD)); fonts 83 ui/gfx/font_list_unittest.cc fonts.push_back(font_1.Derive(-2, Font::BOLD)); fonts 84 ui/gfx/font_list_unittest.cc FontList font_list = FontList(fonts); fonts 91 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); fonts 92 ui/gfx/font_list_unittest.cc EXPECT_EQ(2U, fonts.size()); fonts 93 ui/gfx/font_list_unittest.cc EXPECT_EQ("serif|13", FontToString(fonts[0])); fonts 94 ui/gfx/font_list_unittest.cc EXPECT_EQ("Sans serif|13", FontToString(fonts[1])); fonts 100 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); fonts 101 ui/gfx/font_list_unittest.cc EXPECT_EQ(2U, fonts.size()); fonts 102 ui/gfx/font_list_unittest.cc EXPECT_EQ("serif|13", FontToString(fonts[0])); fonts 103 ui/gfx/font_list_unittest.cc EXPECT_EQ("Sans serif|13", FontToString(fonts[1])); fonts 110 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); fonts 111 ui/gfx/font_list_unittest.cc EXPECT_EQ(2U, fonts.size()); fonts 112 ui/gfx/font_list_unittest.cc EXPECT_EQ("serif|13|bold|italic", FontToString(fonts[0])); fonts 113 ui/gfx/font_list_unittest.cc EXPECT_EQ("Sans serif|13|bold|italic", FontToString(fonts[1])); fonts 120 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); fonts 121 ui/gfx/font_list_unittest.cc EXPECT_EQ(1U, fonts.size()); fonts 122 ui/gfx/font_list_unittest.cc EXPECT_EQ("Arial|8", FontToString(fonts[0])); fonts 129 ui/gfx/font_list_unittest.cc std::vector<Font> fonts = font_list.GetFonts(); fonts 130 ui/gfx/font_list_unittest.cc EXPECT_EQ(1U, fonts.size()); fonts 131 ui/gfx/font_list_unittest.cc EXPECT_EQ("Arial|10|bold", FontToString(fonts[0])); fonts 134 ui/gfx/font_list_unittest.cc fonts = font_list.GetFonts(); fonts 135 ui/gfx/font_list_unittest.cc EXPECT_EQ(1U, fonts.size()); fonts 136 ui/gfx/font_list_unittest.cc EXPECT_EQ("Arial|6|italic", FontToString(fonts[0])); fonts 147 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); fonts 148 ui/gfx/font_list_unittest.cc EXPECT_EQ(2U, fonts.size()); fonts 149 ui/gfx/font_list_unittest.cc EXPECT_EQ("Arial|8|bold", FontToString(fonts[0])); fonts 150 ui/gfx/font_list_unittest.cc EXPECT_EQ("Sans serif|8|bold", FontToString(fonts[1])); fonts 159 ui/gfx/font_list_unittest.cc const std::vector<Font>& fonts = font_list.GetFonts(); fonts 160 ui/gfx/font_list_unittest.cc FontList font_list_1 = FontList(fonts); fonts 199 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; fonts 200 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Arial", 8)); fonts 201 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Sans serif", 8)); fonts 202 ui/gfx/font_list_unittest.cc FontList font_list = FontList(fonts); fonts 204 ui/gfx/font_list_unittest.cc fonts[0] = fonts[0].Derive(0, Font::ITALIC | Font::BOLD); fonts 205 ui/gfx/font_list_unittest.cc fonts[1] = fonts[1].Derive(0, Font::ITALIC | Font::BOLD); fonts 206 ui/gfx/font_list_unittest.cc font_list = FontList(fonts); fonts 224 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; fonts 225 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Arial", 8)); fonts 226 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Sans serif", 8)); fonts 227 ui/gfx/font_list_unittest.cc FontList font_list = FontList(fonts); fonts 246 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; fonts 247 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Arial", 18).Derive(0, Font::ITALIC)); fonts 248 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Sans serif", 18).Derive(0, Font::ITALIC)); fonts 249 ui/gfx/font_list_unittest.cc FontList font_list = FontList(fonts); fonts 274 ui/gfx/font_list_unittest.cc std::vector<Font> fonts; fonts 275 ui/gfx/font_list_unittest.cc fonts.push_back(font1); fonts 276 ui/gfx/font_list_unittest.cc fonts.push_back(font2); fonts 277 ui/gfx/font_list_unittest.cc FontList font_list_mix(fonts); fonts 1294 ui/gfx/render_text_unittest.cc std::vector<Font> fonts; fonts 1295 ui/gfx/render_text_unittest.cc fonts.push_back(smaller_font); // The primary font is the smaller font. fonts 1296 ui/gfx/render_text_unittest.cc fonts.push_back(larger_font); fonts 1297 ui/gfx/render_text_unittest.cc const FontList font_list(fonts); fonts 1310 ui/gfx/render_text_unittest.cc const std::vector<Font>& fonts = render_text->font_list().GetFonts(); fonts 1311 ui/gfx/render_text_unittest.cc ASSERT_EQ(2U, fonts.size()); fonts 1312 ui/gfx/render_text_unittest.cc EXPECT_EQ("Arial", fonts[0].GetFontName()); fonts 1313 ui/gfx/render_text_unittest.cc EXPECT_EQ("Symbol", fonts[1].GetFontName()); fonts 1056 ui/gfx/render_text_win.cc LinkedFontsIterator fonts(original_font); fonts 1067 ui/gfx/render_text_win.cc while (fonts.NextFont(¤t_font)) { fonts 1102 ui/gfx/render_text_win.cc fonts.SetNextFont(it->second); fonts 1116 ui/gfx/render_text_win.cc fonts.SetNextFont(fallback_font);