Index: Source/core/inspector/InspectorStyleSheet.h |
diff --git a/Source/core/inspector/InspectorStyleSheet.h b/Source/core/inspector/InspectorStyleSheet.h |
index a87108782648db0a5888944f6b8bbc76c06b65b0..af6330ec5ea0d9ba952488565b19847c1e1abcee 100644 |
--- a/Source/core/inspector/InspectorStyleSheet.h |
+++ b/Source/core/inspector/InspectorStyleSheet.h |
@@ -49,7 +49,7 @@ class CSSStyleRule; |
class CSSStyleSheet; |
class Document; |
class Element; |
-class InspectorPageAgent; |
+class InspectorCSSAgent; |
class InspectorStyleSheet; |
class Node; |
@@ -173,7 +173,7 @@ public: |
}; |
typedef HashMap<CSSStyleDeclaration*, RefPtr<InspectorStyle> > InspectorStyleMap; |
- static PassRefPtr<InspectorStyleSheet> create(InspectorPageAgent*, const String& id, PassRefPtr<CSSStyleSheet> pageStyleSheet, TypeBuilder::CSS::StyleSheetOrigin::Enum, const String& documentURL, Listener*); |
+ static PassRefPtr<InspectorStyleSheet> create(InspectorCSSAgent*, const String& id, PassRefPtr<CSSStyleSheet> pageStyleSheet, TypeBuilder::CSS::StyleSheetOrigin::Enum, const String& documentURL, Listener*); |
static String styleSheetURL(CSSStyleSheet* pageStyleSheet); |
virtual ~InspectorStyleSheet(); |
@@ -207,7 +207,7 @@ public: |
InspectorCSSId styleId(CSSStyleDeclaration* style) const { return ruleOrStyleId(style); } |
protected: |
- InspectorStyleSheet(InspectorPageAgent*, const String& id, PassRefPtr<CSSStyleSheet> pageStyleSheet, TypeBuilder::CSS::StyleSheetOrigin::Enum, const String& documentURL, Listener*); |
+ InspectorStyleSheet(InspectorCSSAgent*, const String& id, PassRefPtr<CSSStyleSheet> pageStyleSheet, TypeBuilder::CSS::StyleSheetOrigin::Enum, const String& documentURL, Listener*); |
InspectorCSSId ruleOrStyleId(CSSStyleDeclaration* style) const; |
virtual Document* ownerDocument() const; |
@@ -242,7 +242,7 @@ private: |
bool hasSourceURL() const; |
bool startsAtZero() const; |
- InspectorPageAgent* m_pageAgent; |
+ InspectorCSSAgent* m_cssAgent; |
String m_id; |
RefPtr<CSSStyleSheet> m_pageStyleSheet; |
TypeBuilder::CSS::StyleSheetOrigin::Enum m_origin; |
@@ -257,7 +257,7 @@ private: |
class InspectorStyleSheetForInlineStyle : public InspectorStyleSheet { |
public: |
- static PassRefPtr<InspectorStyleSheetForInlineStyle> create(InspectorPageAgent*, const String& id, PassRefPtr<Element>, TypeBuilder::CSS::StyleSheetOrigin::Enum, Listener*); |
+ static PassRefPtr<InspectorStyleSheetForInlineStyle> create(InspectorCSSAgent*, const String& id, PassRefPtr<Element>, TypeBuilder::CSS::StyleSheetOrigin::Enum, Listener*); |
void didModifyElementAttribute(); |
virtual bool getText(String* result) const; |
@@ -265,7 +265,7 @@ public: |
virtual TypeBuilder::CSS::StyleSheetOrigin::Enum origin() const { return TypeBuilder::CSS::StyleSheetOrigin::Regular; } |
protected: |
- InspectorStyleSheetForInlineStyle(InspectorPageAgent*, const String& id, PassRefPtr<Element>, TypeBuilder::CSS::StyleSheetOrigin::Enum, Listener*); |
+ InspectorStyleSheetForInlineStyle(InspectorCSSAgent*, const String& id, PassRefPtr<Element>, TypeBuilder::CSS::StyleSheetOrigin::Enum, Listener*); |
virtual Document* ownerDocument() const; |
virtual PassRefPtr<CSSRuleSourceData> ruleSourceDataFor(CSSStyleDeclaration* style) const { ASSERT_UNUSED(style, style == inlineStyle()); return m_ruleSourceData; } |