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()
123 bool CSSStyleSheetResource::canUseSheet(bool enforceMIMEType, bool* hasValidMIMEType) const in canUseSheet()
128 if (!enforceMIMEType && !hasValidMIMEType) in canUseSheet()
140 if (hasValidMIMEType) in canUseSheet()
141 *hasValidMIMEType = typeOK; in canUseSheet()
DCSSStyleSheetResource.h46 const String sheetText(bool enforceMIMEType = true, bool* hasValidMIMEType = 0) const;
58 bool canUseSheet(bool enforceMIMEType, bool* hasValidMIMEType) const;
/external/chromium_org/third_party/WebKit/Source/core/css/
DStyleSheetContents.cpp326 bool hasValidMIMEType = false; in parseAuthorStyleSheet() local
327 String sheetText = cachedStyleSheet->sheetText(enforceMIMEType, &hasValidMIMEType); in parseAuthorStyleSheet()
335 if (!hasValidMIMEType && !hasSyntacticallyValidCSSHeader()) { in parseAuthorStyleSheet()