Chromium Code Reviews| Index: Source/core/inspector/InspectorCSSAgent.h |
| diff --git a/Source/core/inspector/InspectorCSSAgent.h b/Source/core/inspector/InspectorCSSAgent.h |
| index 9fdd35cdd4003209b9a8823f35dde9faf5ed7e9f..2b55d5804f23ed412d5474c97b6b33a51079d3e6 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) |
| @@ -134,11 +142,14 @@ public: |
| virtual void startSelectorProfiler(ErrorString*); |
| virtual void stopSelectorProfiler(ErrorString*, RefPtr<TypeBuilder::CSS::SelectorProfile>&); |
| + InspectorPageAgent* pageAgent() const { return m_pageAgent; } |
|
yurys
2013/06/13 14:48:35
As discussed offline please revert this part of th
|
| PassRefPtr<TypeBuilder::CSS::SelectorProfile> stopSelectorProfilerImpl(ErrorString*, bool needProfile); |
| void willMatchRule(StyleRule*, InspectorCSSOMWrappers&, DocumentStyleSheetCollection*); |
| void didMatchRule(bool); |
| void willProcessRule(StyleRule*, StyleResolver*); |
| void didProcessRule(); |
| + PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, MediaListSource, const String&); |
| + void fillMediaListChain(CSSRule*, TypeBuilder::Array<TypeBuilder::CSS::CSSMedia>*); |
| private: |
| class StyleSheetAction; |