| Index: Source/core/inspector/InspectorCSSAgent.h
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.h b/Source/core/inspector/InspectorCSSAgent.h
|
| index 9fdd35cdd4003209b9a8823f35dde9faf5ed7e9f..5eafc008a6bf6e1b02ee28de69195d2122a73b5e 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.h
|
| +++ b/Source/core/inspector/InspectorCSSAgent.h
|
| @@ -54,6 +54,7 @@ class Element;
|
| class InspectorCSSOMWrappers;
|
| class InspectorFrontend;
|
| class InstrumentingAgents;
|
| +class MediaList;
|
| class NameNodeMap;
|
| class Node;
|
| class NodeList;
|
| @@ -72,6 +73,13 @@ class InspectorCSSAgent
|
| , public InspectorStyleSheet::Listener {
|
| WTF_MAKE_NONCOPYABLE(InspectorCSSAgent);
|
| public:
|
| + enum MediaListSource {
|
| + MediaListSourceLinkedSheet,
|
| + MediaListSourceInlineSheet,
|
| + MediaListSourceMediaRule,
|
| + MediaListSourceImportRule
|
| + };
|
| +
|
| class InlineStyleOverrideScope {
|
| public:
|
| InlineStyleOverrideScope(SecurityContext* context)
|
| @@ -139,6 +147,8 @@ public:
|
| void didMatchRule(bool);
|
| void willProcessRule(StyleRule*, StyleResolver*);
|
| void didProcessRule();
|
| + PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, MediaListSource, const String&);
|
| + PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSMedia> > buildMediaListChain(CSSRule*);
|
|
|
| private:
|
| class StyleSheetAction;
|
|
|