| Index: Source/core/inspector/InspectorCSSAgent.h
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.h b/Source/core/inspector/InspectorCSSAgent.h
|
| index e5ecf90ff6cf57e67b265ff906cea8d9e34fa51b..c4064592b2635369e1b20f34571dffb0c5fece7f 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.h
|
| +++ b/Source/core/inspector/InspectorCSSAgent.h
|
| @@ -37,6 +37,7 @@
|
| #include <wtf/HashSet.h>
|
| #include <wtf/PassRefPtr.h>
|
| #include <wtf/RefPtr.h>
|
| +#include <wtf/Vector.h>
|
| #include <wtf/text/WTFString.h>
|
|
|
| namespace WebCore {
|
| @@ -58,6 +59,7 @@ class NodeList;
|
| class SelectorProfile;
|
| class StyleResolver;
|
| class StyleRule;
|
| +class StyleSheetVisitor;
|
| class UpdateRegionLayoutTask;
|
|
|
|
|
| @@ -106,6 +108,7 @@ public:
|
| void willRemoveNamedFlow(Document*, NamedFlow*);
|
| void didUpdateRegionLayout(Document*, NamedFlow*);
|
| void regionLayoutUpdated(NamedFlow*, int documentNodeId);
|
| + void activeStyleSheetsUpdated(const Vector<RefPtr<StyleSheet> >& newSheets);
|
|
|
| virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&);
|
| virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attributes);
|
| @@ -153,9 +156,13 @@ private:
|
| InspectorStyleSheetForInlineStyle* asInspectorStyleSheet(Element* element);
|
| Element* elementForId(ErrorString*, int nodeId);
|
| int documentNodeWithRequestedFlowsId(Document*);
|
| - void collectStyleSheets(CSSStyleSheet*, TypeBuilder::Array<WebCore::TypeBuilder::CSS::CSSStyleSheetHeader>*);
|
| + void collectAllStyleSheets(Vector<InspectorStyleSheet*>&);
|
| + void collectStyleSheets(CSSStyleSheet*, Vector<InspectorStyleSheet*>&);
|
|
|
| + void bindStyleSheetRecursively(CSSStyleSheet*);
|
| InspectorStyleSheet* bindStyleSheet(CSSStyleSheet*);
|
| + void unbindStyleSheetRecursively(InspectorStyleSheet*);
|
| + String unbindStyleSheet(InspectorStyleSheet*);
|
| InspectorStyleSheet* viaInspectorStyleSheet(Document*, bool createIfAbsent);
|
| InspectorStyleSheet* assertStyleSheetForId(ErrorString*, const String&);
|
| TypeBuilder::CSS::StyleSheetOrigin::Enum detectOrigin(CSSStyleSheet* pageStyleSheet, Document* ownerDocument);
|
| @@ -189,8 +196,11 @@ private:
|
| OwnPtr<UpdateRegionLayoutTask> m_updateRegionLayoutTask;
|
|
|
| int m_lastStyleSheetId;
|
| + bool m_creatingViaInspectorStyleSheet;
|
|
|
| OwnPtr<SelectorProfile> m_currentSelectorProfile;
|
| +
|
| + friend class StyleSheetBinder;
|
| };
|
|
|
|
|
|
|