Home
last modified time | relevance | path

Searched refs:generic_family (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/chrome/common/
Dpref_names_util.cc14 std::string* generic_family, in ParseFontNamePrefPath() argument
23 if (generic_family) in ParseFontNamePrefPath()
24 *generic_family = pref_path.substr(start, pos - start); in ParseFontNamePrefPath()
Dpref_names_util_unittest.cc19 std::string generic_family; in ExpectParse() local
22 ASSERT_TRUE(pref_names_util::ParseFontNamePrefPath(path, &generic_family, in ExpectParse()
24 EXPECT_EQ(expected_generic_family, generic_family); in ExpectParse()
Dpref_names_util.h16 std::string* generic_family,
/external/chromium_org/ppapi/proxy/
Dserialized_structs.cc93 generic_family(), in SerializedTrueTypeFontDesc()
107 generic_family = desc.generic_family; in SetFromPPTrueTypeFontDesc()
118 desc->generic_family = generic_family; in CopyToPPTrueTypeFontDesc()
Dserialized_structs.h92 PP_TrueTypeFontFamily_Dev generic_family; member
Dppapi_param_traits.cc453 ParamTraits<PP_TrueTypeFontFamily_Dev>::Write(m, p.generic_family); in Write()
468 &r->generic_family) && in Read()
/external/chromium_org/chrome/browser/extensions/api/font_settings/
Dfont_settings_api.cc62 std::string generic_family = fonts::ToString(generic_family_enum); in GetFontNamePrefPath() local
64 generic_family.c_str(), in GetFontNamePrefPath()
143 std::string generic_family; in OnFontFamilyMapPrefChanged() local
145 if (pref_names_util::ParseFontNamePrefPath(pref_name, &generic_family, in OnFontFamilyMapPrefChanged()
147 OnFontNamePrefChanged(pref_name, generic_family, script); in OnFontFamilyMapPrefChanged()
156 const std::string& generic_family, in OnFontNamePrefChanged() argument
173 dict->SetString(kGenericFamilyKey, generic_family); in OnFontNamePrefChanged()
233 std::string pref_path = GetFontNamePrefPath(params->details.generic_family, in RunSync()
250 std::string pref_path = GetFontNamePrefPath(params->details.generic_family, in RunSync()
286 std::string pref_path = GetFontNamePrefPath(params->details.generic_family, in RunSync()
Dfont_settings_api.h54 const std::string& generic_family,
/external/chromium_org/chrome/browser/ui/prefs/
Dprefs_tab_helper.cc290 const std::string& generic_family, in OverrideFontFamily() argument
294 if (generic_family == "standard") in OverrideFontFamily()
296 else if (generic_family == "fixed") in OverrideFontFamily()
298 else if (generic_family == "serif") in OverrideFontFamily()
300 else if (generic_family == "sansserif") in OverrideFontFamily()
302 else if (generic_family == "cursive") in OverrideFontFamily()
304 else if (generic_family == "fantasy") in OverrideFontFamily()
306 else if (generic_family == "pictograph") in OverrideFontFamily()
309 NOTREACHED() << "Unknown generic font family: " << generic_family; in OverrideFontFamily()
592 std::string generic_family; in OnFontFamilyPrefChanged() local
[all …]
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_truetype_font_win.cc60 switch (desc->generic_family) { in Initialize()
102 desc->generic_family = PP_TRUETYPEFONTFAMILY_SERIF; in Initialize()
105 desc->generic_family = PP_TRUETYPEFONTFAMILY_SANSSERIF; in Initialize()
108 desc->generic_family = PP_TRUETYPEFONTFAMILY_CURSIVE; in Initialize()
111 desc->generic_family = PP_TRUETYPEFONTFAMILY_FANTASY; in Initialize()
114 desc->generic_family = PP_TRUETYPEFONTFAMILY_MONOSPACE; in Initialize()
Dpepper_truetype_font_linux.cc52 switch (desc->generic_family) { in Initialize()
Dpepper_truetype_font_mac.mm167 // traits. Instead, map generic_family to font families that are always
171 switch (desc->generic_family) {
/external/chromium_org/ppapi/cpp/dev/
Dtruetype_font_dev.h59 PP_TrueTypeFontFamily_Dev generic_family() const { in generic_family() function
60 return desc_.generic_family; in generic_family()
63 desc_.generic_family = family; in set_generic_family()
Dtruetype_font_dev.cc48 set_generic_family(other.generic_family()); in TrueTypeFontDesc_Dev()
64 set_generic_family(other.generic_family()); in operator =()
/external/chromium_org/ppapi/c/dev/
Dppb_truetype_font_dev.h141 PP_TrueTypeFontFamily_Dev generic_family; member
/external/chromium_org/ppapi/tests/
Dtest_truetype_font.cc232 ASSERT_EQ(PP_TRUETYPEFONTFAMILY_SERIF, desc.generic_family()); in TestDescribe()
/external/chromium_org/ppapi/api/dev/
Dppb_truetype_font_dev.idl119 PP_TrueTypeFontFamily_Dev generic_family;