Searched refs:styleSheet (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSImportRule.idl25 readonly attribute CSSStyleSheet styleSheet;
H A DCSSRule.cpp61 CSSStyleSheet* styleSheet = parentStyleSheet(); local
62 return styleSheet ? styleSheet->contents()->parserContext() : strictCSSParserContext();
H A DCSSImportRule.cpp81 CSSStyleSheet* CSSImportRule::styleSheet() const function in class:blink::CSSImportRule
83 if (!m_importRule->styleSheet())
87 m_styleSheetCSSOMWrapper = CSSStyleSheet::create(m_importRule->styleSheet(), const_cast<CSSImportRule*>(this));
H A DCSSRule.h65 void setParentStyleSheet(CSSStyleSheet* styleSheet) argument
68 m_parentStyleSheet = styleSheet;
H A DCSSRuleList.h51 virtual CSSStyleSheet* styleSheet() const = 0;
73 virtual CSSStyleSheet* styleSheet() const OVERRIDE { return 0; }
114 virtual CSSStyleSheet* styleSheet() const OVERRIDE { return m_rule->parentStyleSheet(); }
H A DCSSGroupingRule.cpp71 CSSStyleSheet* styleSheet = parentStyleSheet(); local
72 CSSParserContext context(parserContext(), UseCounter::getFrom(styleSheet));
73 RefPtrWillBeRawPtr<StyleRuleBase> newRule = CSSParser::parseRule(context, styleSheet ? styleSheet->contents() : 0, ruleString);
H A DCSSImportRule.h48 CSSStyleSheet* styleSheet() const;
H A DCSSKeyframesRule.cpp125 CSSStyleSheet* styleSheet = parentStyleSheet(); local
126 CSSParserContext context(parserContext(), UseCounter::getFrom(styleSheet));
127 RefPtrWillBeRawPtr<StyleKeyframe> keyframe = CSSParser::parseKeyframeRule(context, styleSheet ? styleSheet->contents() : 0, ruleText);
H A DStyleRuleImport.h48 StyleSheetContents* styleSheet() const { return m_styleSheet.get(); } function in class:blink::StyleRuleImport
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
H A DCSSParser.cpp19 bool CSSParser::parseDeclaration(MutableStylePropertySet* propertySet, const String& declaration, CSSParserObserver* observer, StyleSheetContents* styleSheet) argument
21 return m_bisonParser.parseDeclaration(propertySet, declaration, observer, styleSheet);
29 PassRefPtrWillBeRawPtr<StyleRuleBase> CSSParser::parseRule(const CSSParserContext& context, StyleSheetContents* styleSheet, const String& rule) argument
31 return BisonCSSParser(context).parseRule(styleSheet, rule);
34 void CSSParser::parseSheet(const CSSParserContext& context, StyleSheetContents* styleSheet, const String& text, const TextPosition& startPosition, CSSParserObserver* observer, bool logErrors) argument
36 BisonCSSParser(context).parseSheet(styleSheet, text, startPosition, observer, logErrors);
39 bool CSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID propertyID, const String& string, bool important, CSSParserMode parserMode, StyleSheetContents* styleSheet) argument
41 return BisonCSSParser::parseValue(declaration, propertyID, string, important, parserMode, styleSheet);
69 PassRefPtrWillBeRawPtr<StyleKeyframe> CSSParser::parseKeyframeRule(const CSSParserContext& context, StyleSheetContents* styleSheet, const String& rule) argument
71 return BisonCSSParser(context).parseKeyframeRule(styleSheet, rul
[all...]
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXSLImportRule.h48 XSLStyleSheet* styleSheet() const { return m_styleSheet.get(); } function in class:blink::FINAL
51 void setParentStyleSheet(XSLStyleSheet* styleSheet) { m_parentStyleSheet = styleSheet; } argument
H A DXSLStyleSheetLibxslt.cpp112 if (XSLStyleSheet* styleSheet = parentStyleSheet())
113 styleSheet->checkLoaded();
130 if (import->styleSheet())
131 import->styleSheet()->clearDocuments();
273 for (XSLStyleSheet* styleSheet = this; styleSheet; styleSheet = styleSheet->parentStyleSheet()) {
274 if (styleSheet->m_ownerDocument)
275 return styleSheet
[all...]
H A DXSLTProcessor.h52 void setXSLStyleSheet(PassRefPtrWillBeRawPtr<XSLStyleSheet> styleSheet) { m_stylesheet = styleSheet; } argument
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DMatchRequest.h40 , styleSheet(cssSheet)
51 RawPtrWillBeMember<const CSSStyleSheet> styleSheet; member in class:blink::MatchRequest
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorCSSAgent.cpp168 SetStyleSheetTextAction(InspectorStyleSheetBase* styleSheet, const String& text) argument
170 , m_styleSheet(styleSheet)
220 SetPropertyTextAction(InspectorStyleSheetBase* styleSheet, const InspectorCSSId& cssId, unsigned propertyIndex, const String& text, bool overwrite) argument
222 , m_styleSheet(styleSheet)
285 SetRuleSelectorAction(InspectorStyleSheet* styleSheet, const InspectorCSSId& cssId, const String& selector) argument
287 , m_styleSheet(styleSheet)
327 AddRuleAction(InspectorStyleSheet* styleSheet, const String& ruleText, const SourceRange& location) argument
329 , m_styleSheet(styleSheet)
504 void InspectorCSSAgent::didMutateRules(CSSStyleSheet* styleSheet) argument
510 Document* owner = styleSheet
640 RefPtrWillBeRawPtr<InspectorStyleSheet> styleSheet = it->value; local
710 InspectorStyleSheetForInlineStyle* styleSheet = asInspectorStyleSheet(parentElement); local
1072 collectMediaQueriesFromStyleSheet(CSSStyleSheet* styleSheet, TypeBuilder::Array<TypeBuilder::CSS::CSSMedia>* mediaArray) argument
1138 CSSStyleSheet* styleSheet = parentRule->parentStyleSheet(); local
1187 CSSStyleSheet* styleSheet = it->get(); local
1193 collectStyleSheets(CSSStyleSheet* styleSheet, WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet> >& result) argument
1206 bindStyleSheet(CSSStyleSheet* styleSheet) argument
1425 styleSheetChanged(InspectorStyleSheetBase* styleSheet) argument
[all...]
H A DInspectorInstrumentation.h169 inline InstrumentingAgents* instrumentingAgentsFor(CSSStyleSheet* styleSheet) argument
171 return styleSheet ? instrumentingAgentsFor(styleSheet->ownerDocument()) : 0;
H A DInspectorResourceContentLoader.cpp124 CSSStyleSheet* styleSheet = *stylesheetIt; local
125 if (styleSheet->isInline() || !styleSheet->contents()->loadCompleted())
127 String url = styleSheet->baseURL().string();
H A DInspectorStyleSheet.cpp1022 CSSStyleSheet* styleSheet = rule->parentStyleSheet();
1023 if (!styleSheet || !ensureParsedDataReady()) {
1188 CSSStyleSheet* styleSheet = rule->parentStyleSheet();
1189 if (!styleSheet || !ensureParsedDataReady()) {
1214 while (index < styleSheet->length() && styleSheet->item(index) != rule)
1216 ASSERT(index < styleSheet->length());
1217 styleSheet->deleteRule(index, exceptionState);
1248 CSSStyleSheet* styleSheet = pageStyleSheet();
1249 if (!styleSheet)
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/audits/
H A DAuditRules.js376 var styleSheet = styleSheets[i];
377 for (var curRule = 0; curRule < styleSheet.rules.length; ++curRule) {
378 var selectorText = styleSheet.rules[curRule].selectorText;
402 var styleSheet = styleSheets[i];
404 for (var curRule = 0; curRule < styleSheet.rules.length; ++curRule) {
405 var rule = styleSheet.rules[curRule];
410 totalStylesheetSize += styleSheet.rules.length;
416 var resource = WebInspector.resourceForURL(styleSheet.sourceURL);
418 var url = !isInlineBlock ? WebInspector.AuditRuleResult.linkifyDisplayName(styleSheet.sourceURL) : WebInspector.UIString("Inline block #%d", ++inlineBlockOrdinal);
419 var pctUnused = Math.round(100 * unusedRules.length / styleSheet
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DStyleEngine.cpp636 RefPtrWillBeRawPtr<CSSStyleSheet> styleSheet = nullptr; local
645 styleSheet = StyleEngine::parseSheet(e, text, startPosition, createdByParser);
646 if (result.isNewEntry && isCacheableForStyleElement(*styleSheet->contents())) {
647 result.storedValue->value = styleSheet->contents();
648 m_sheetToTextCache.add(styleSheet->contents(), textContent);
655 styleSheet = CSSStyleSheet::createInline(contents, e, startPosition);
659 styleSheet = StyleEngine::parseSheet(e, text, startPosition, createdByParser);
662 ASSERT(styleSheet);
663 styleSheet->setTitle(e->title());
664 return styleSheet;
669 RefPtrWillBeRawPtr<CSSStyleSheet> styleSheet = nullptr; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPageSerializer.cpp260 void PageSerializer::serializeCSSStyleSheet(CSSStyleSheet& styleSheet, const KURL& url) argument
263 for (unsigned i = 0; i < styleSheet.length(); ++i) {
264 CSSRule* rule = styleSheet.item(i);
268 if (i < styleSheet.length() - 1)
271 ASSERT(styleSheet.ownerDocument());
272 Document& document = *styleSheet.ownerDocument();
279 if (importRule->styleSheet())
280 serializeCSSStyleSheet(*importRule->styleSheet(), importURL);
290 WTF::TextEncoding textEncoding(styleSheet.contents()->charset());
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLStyleElement.cpp174 if (CSSStyleSheet* styleSheet = sheet())
175 styleSheet->setDisabled(setDisabled);
H A DHTMLLinkElement.cpp526 RefPtrWillBeRawPtr<StyleSheetContents> styleSheet = StyleSheetContents::create(href, parserContext); local
530 m_sheet = CSSStyleSheet::create(styleSheet, m_owner);
534 styleSheet->parseAuthorStyleSheet(cachedStyleSheet, m_owner->document().securityOrigin());
537 styleSheet->notifyLoadedSheet(cachedStyleSheet);
538 styleSheet->checkLoaded();
540 if (styleSheet->isCacheable())
541 const_cast<CSSStyleSheetResource*>(cachedStyleSheet)->saveParsedStyleSheet(styleSheet);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGStyleElement.cpp61 if (CSSStyleSheet* styleSheet = sheet())
62 styleSheet->setDisabled(setDisabled);
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ui/
H A Dprogress_center_panel.js262 var styleSheet = document.styleSheets[i];
263 for (var j = 0; j < styleSheet.cssRules.length; j++) {
264 var rule = styleSheet.cssRules[j];

Completed in 4243 milliseconds

12