Home
last modified time | relevance | path

Searched refs:hasValidMIMEType (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/fetch/
DCSSStyleSheetResource.cpp80 const String CSSStyleSheetResource::sheetText(bool enforceMIMEType, bool* hasValidMIMEType) const in sheetText()
84 if (!m_data || m_data->isEmpty() || !canUseSheet(enforceMIMEType, hasValidMIMEType)) in sheetText()
111 bool CSSStyleSheetResource::canUseSheet(bool enforceMIMEType, bool* hasValidMIMEType) const in canUseSheet()
116 if (!enforceMIMEType && !hasValidMIMEType) in canUseSheet()
128 if (hasValidMIMEType) in canUseSheet()
129 *hasValidMIMEType = typeOK; in canUseSheet()
DCSSStyleSheetResource.h44 const String sheetText(bool enforceMIMEType = true, bool* hasValidMIMEType = 0) const;
55 bool canUseSheet(bool enforceMIMEType, bool* hasValidMIMEType) const;
/external/chromium_org/third_party/WebKit/Source/core/css/
DStyleSheetContents.cpp307 bool hasValidMIMEType = false; in parseAuthorStyleSheet() local
308 String sheetText = cachedStyleSheet->sheetText(enforceMIMEType, &hasValidMIMEType); in parseAuthorStyleSheet()
316 if (!hasValidMIMEType && !hasSyntacticallyValidCSSHeader()) { in parseAuthorStyleSheet()