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/chrome/browser/ui/prefs/
Dprefs_tab_helper.cc264 const std::string& generic_family, in OverrideFontFamily() argument
268 if (generic_family == "standard") in OverrideFontFamily()
270 else if (generic_family == "fixed") in OverrideFontFamily()
272 else if (generic_family == "serif") in OverrideFontFamily()
274 else if (generic_family == "sansserif") in OverrideFontFamily()
276 else if (generic_family == "cursive") in OverrideFontFamily()
278 else if (generic_family == "fantasy") in OverrideFontFamily()
280 else if (generic_family == "pictograph") in OverrideFontFamily()
283 NOTREACHED() << "Unknown generic font family: " << generic_family; in OverrideFontFamily()
564 std::string generic_family; in OnWebPrefChanged() local
[all …]
/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.cc462 ParamTraits<PP_TrueTypeFontFamily_Dev>::Write(m, p.generic_family); in Write()
477 &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()
232 std::string pref_path = GetFontNamePrefPath(params->details.generic_family, in RunImpl()
249 std::string pref_path = GetFontNamePrefPath(params->details.generic_family, in RunImpl()
285 std::string pref_path = GetFontNamePrefPath(params->details.generic_family, in RunImpl()
Dfont_settings_api.h50 const std::string& generic_family,
/external/chromium_org/content/renderer/pepper/
Dpepper_truetype_font_win.cc54 switch (desc.generic_family) { in PepperTrueTypeFontWin()
104 desc->generic_family = PP_TRUETYPEFONTFAMILY_SERIF; in Describe()
107 desc->generic_family = PP_TRUETYPEFONTFAMILY_SANSSERIF; in Describe()
110 desc->generic_family = PP_TRUETYPEFONTFAMILY_CURSIVE; in Describe()
113 desc->generic_family = PP_TRUETYPEFONTFAMILY_FANTASY; in Describe()
116 desc->generic_family = PP_TRUETYPEFONTFAMILY_MONOSPACE; in Describe()
Dpepper_truetype_font_linux.cc49 switch (desc_.generic_family) { in PepperTrueTypeFontLinux()
Dpepper_truetype_font_mac.mm159 // Instead, map generic_family to font families that are always available.
162 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;