Lines Matching defs:desc
227 const PP_BrowserFont_Trusted_Description& desc) {
230 if (desc.face.type != PP_VARTYPE_STRING &&
231 desc.face.type != PP_VARTYPE_UNDEFINED)
235 if (static_cast<int>(desc.family) < PP_BROWSERFONT_TRUSTED_FAMILY_DEFAULT ||
236 static_cast<int>(desc.family) > PP_BROWSERFONT_TRUSTED_FAMILY_MONOSPACE)
238 if (static_cast<int>(desc.weight) < PP_BROWSERFONT_TRUSTED_WEIGHT_100 ||
239 static_cast<int>(desc.weight) > PP_BROWSERFONT_TRUSTED_WEIGHT_900)
243 if (desc.size > 200)
252 const PP_BrowserFont_Trusted_Description& desc,
255 font_(WebFont::create(PPFontDescToWebFontDesc(desc, prefs))) {