| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 public: | 121 public: |
| 122 void activeStyleSheetsUpdated(Document*); | 122 void activeStyleSheetsUpdated(Document*); |
| 123 void frameDetachedFromParent(Frame*); | 123 void frameDetachedFromParent(Frame*); |
| 124 | 124 |
| 125 virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBu
ilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&) OVERRIDE; | 125 virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBu
ilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&) OVERRIDE; |
| 126 virtual void getPlatformFontsForNode(ErrorString*, int nodeId, String* cssFa
milyName, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PlatformFontUsage> >&) OVE
RRIDE; | 126 virtual void getPlatformFontsForNode(ErrorString*, int nodeId, String* cssFa
milyName, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PlatformFontUsage> >&) OVE
RRIDE; |
| 127 virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBui
lder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attribute
s) OVERRIDE; | 127 virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBui
lder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attribute
s) OVERRIDE; |
| 128 virtual void getMatchedStylesForNode(ErrorString*, int nodeId, const bool* i
ncludePseudo, const bool* includeInherited, RefPtr<TypeBuilder::Array<TypeBuilde
r::CSS::RuleMatch> >& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CS
S::PseudoIdMatches> >&, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedSty
leEntry> >& inheritedEntries) OVERRIDE; | 128 virtual void getMatchedStylesForNode(ErrorString*, int nodeId, const bool* i
ncludePseudo, const bool* includeInherited, RefPtr<TypeBuilder::Array<TypeBuilde
r::CSS::RuleMatch> >& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CS
S::PseudoIdMatches> >&, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedSty
leEntry> >& inheritedEntries) OVERRIDE; |
| 129 virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, Str
ing* result) OVERRIDE; | 129 virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, Str
ing* result) OVERRIDE; |
| 130 virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, con
st String& text) OVERRIDE; | 130 virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, con
st String& text) OVERRIDE; |
| 131 virtual void editRangeInStyleSheetText(ErrorString*, const String& styleShee
tId, const RefPtr<JSONObject>& range, const String& text) OVERRIDE; |
| 131 virtual void setPropertyText(ErrorString*, const RefPtr<JSONObject>& styleId
, int propertyIndex, const String& text, bool overwrite, RefPtr<TypeBuilder::CSS
::CSSStyle>& result) OVERRIDE; | 132 virtual void setPropertyText(ErrorString*, const RefPtr<JSONObject>& styleId
, int propertyIndex, const String& text, bool overwrite, RefPtr<TypeBuilder::CSS
::CSSStyle>& result) OVERRIDE; |
| 132 virtual void setRuleSelector(ErrorString*, const RefPtr<JSONObject>& ruleId,
const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE; | 133 virtual void setRuleSelector(ErrorString*, const RefPtr<JSONObject>& ruleId,
const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE; |
| 133 virtual void addRule(ErrorString*, int contextNodeId, const String& selector
, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE; | 134 virtual void addRule(ErrorString*, int contextNodeId, const String& selector
, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE; |
| 134 virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArr
ay>& forcedPseudoClasses) OVERRIDE; | 135 virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArr
ay>& forcedPseudoClasses) OVERRIDE; |
| 135 | 136 |
| 136 PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, Me
diaListSource, const String&, CSSStyleSheet*); | 137 PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, Me
diaListSource, const String&, CSSStyleSheet*); |
| 137 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSMedia> > buildMediaListCh
ain(CSSRule*); | 138 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSMedia> > buildMediaListCh
ain(CSSRule*); |
| 138 | 139 |
| 139 private: | 140 private: |
| 140 class StyleSheetAction; | 141 class StyleSheetAction; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 bool m_isSettingStyleSheetText; | 209 bool m_isSettingStyleSheetText; |
| 209 | 210 |
| 210 friend class EnableResourceClient; | 211 friend class EnableResourceClient; |
| 211 friend class StyleSheetBinder; | 212 friend class StyleSheetBinder; |
| 212 }; | 213 }; |
| 213 | 214 |
| 214 | 215 |
| 215 } // namespace WebCore | 216 } // namespace WebCore |
| 216 | 217 |
| 217 #endif // !defined(InspectorCSSAgent_h) | 218 #endif // !defined(InspectorCSSAgent_h) |
| OLD | NEW |