| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 void enable(ErrorString*, PassRefPtrWillBeRawPtr<EnableCallback>) override; | 130 void enable(ErrorString*, PassRefPtrWillBeRawPtr<EnableCallback>) override; |
| 131 virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBu
ilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&) override; | 131 virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBu
ilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&) override; |
| 132 virtual void getPlatformFontsForNode(ErrorString*, int nodeId, String* cssFa
milyName, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PlatformFontUsage> >&) ove
rride; | 132 virtual void getPlatformFontsForNode(ErrorString*, int nodeId, String* cssFa
milyName, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PlatformFontUsage> >&) ove
rride; |
| 133 virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBui
lder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attribute
s) override; | 133 virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBui
lder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attribute
s) override; |
| 134 virtual void getMatchedStylesForNode(ErrorString*, int nodeId, const bool* e
xcludePseudo, const bool* excludeInherited, RefPtr<TypeBuilder::Array<TypeBuilde
r::CSS::RuleMatch> >& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CS
S::PseudoIdMatches> >&, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedSty
leEntry> >& inheritedEntries) override; | 134 virtual void getMatchedStylesForNode(ErrorString*, int nodeId, const bool* e
xcludePseudo, const bool* excludeInherited, RefPtr<TypeBuilder::Array<TypeBuilde
r::CSS::RuleMatch> >& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CS
S::PseudoIdMatches> >&, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedSty
leEntry> >& inheritedEntries) override; |
| 135 virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, Str
ing* result) override; | 135 virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, Str
ing* result) override; |
| 136 virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, con
st String& text) override; | 136 virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, con
st String& text) override; |
| 137 virtual void setPropertyText(ErrorString*, const String& styleSheetId, const
RefPtr<JSONObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSStyl
e>& result) override; | 137 virtual void setPropertyText(ErrorString*, const String& styleSheetId, const
RefPtr<JSONObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSStyl
e>& result) override; |
| 138 virtual void setRuleSelector(ErrorString*, const String& styleSheetId, const
RefPtr<JSONObject>& range, const String& selector, RefPtr<TypeBuilder::CSS::CSS
Rule>& result) override; | 138 virtual void setRuleSelector(ErrorString*, const String& styleSheetId, const
RefPtr<JSONObject>& range, const String& selector, RefPtr<TypeBuilder::CSS::CSS
Rule>& result) override; |
| 139 virtual void setStyleText(ErrorString*, const String& styleSheetId, const Re
fPtr<JSONObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSRule>&
result) override; |
| 139 virtual void setMediaText(ErrorString*, const String& styleSheetId, const Re
fPtr<JSONObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSMedia>&
result) override; | 140 virtual void setMediaText(ErrorString*, const String& styleSheetId, const Re
fPtr<JSONObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSMedia>&
result) override; |
| 140 virtual void createStyleSheet(ErrorString*, const String& frameId, TypeBuild
er::CSS::StyleSheetId* outStyleSheetId) override; | 141 virtual void createStyleSheet(ErrorString*, const String& frameId, TypeBuild
er::CSS::StyleSheetId* outStyleSheetId) override; |
| 141 virtual void addRule(ErrorString*, const String& styleSheetId, const String&
ruleText, const RefPtr<JSONObject>& location, RefPtr<TypeBuilder::CSS::CSSRule>
& result) override; | 142 virtual void addRule(ErrorString*, const String& styleSheetId, const String&
ruleText, const RefPtr<JSONObject>& location, RefPtr<TypeBuilder::CSS::CSSRule>
& result) override; |
| 142 virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArr
ay>& forcedPseudoClasses) override; | 143 virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArr
ay>& forcedPseudoClasses) override; |
| 143 virtual void getMediaQueries(ErrorString*, RefPtr<TypeBuilder::Array<TypeBui
lder::CSS::CSSMedia> >& medias) override; | 144 virtual void getMediaQueries(ErrorString*, RefPtr<TypeBuilder::Array<TypeBui
lder::CSS::CSSMedia> >& medias) override; |
| 144 bool collectMediaQueriesFromRule(CSSRule*, TypeBuilder::Array<TypeBuilder::C
SS::CSSMedia>* mediaArray); | 145 bool collectMediaQueriesFromRule(CSSRule*, TypeBuilder::Array<TypeBuilder::C
SS::CSSMedia>* mediaArray); |
| 145 bool collectMediaQueriesFromStyleSheet(CSSStyleSheet*, TypeBuilder::Array<Ty
peBuilder::CSS::CSSMedia>* mediaArray); | 146 bool collectMediaQueriesFromStyleSheet(CSSStyleSheet*, TypeBuilder::Array<Ty
peBuilder::CSS::CSSMedia>* mediaArray); |
| 146 PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, Me
diaListSource, const String&, CSSStyleSheet*); | 147 PassRefPtr<TypeBuilder::CSS::CSSMedia> buildMediaObject(const MediaList*, Me
diaListSource, const String&, CSSStyleSheet*); |
| 147 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSMedia> > buildMediaListCh
ain(CSSRule*); | 148 PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSMedia> > buildMediaListCh
ain(CSSRule*); |
| 148 | 149 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 bool m_isSettingStyleSheetText; | 224 bool m_isSettingStyleSheetText; |
| 224 | 225 |
| 225 friend class InspectorResourceContentLoaderCallback; | 226 friend class InspectorResourceContentLoaderCallback; |
| 226 friend class StyleSheetBinder; | 227 friend class StyleSheetBinder; |
| 227 }; | 228 }; |
| 228 | 229 |
| 229 | 230 |
| 230 } // namespace blink | 231 } // namespace blink |
| 231 | 232 |
| 232 #endif // !defined(InspectorCSSAgent_h) | 233 #endif // !defined(InspectorCSSAgent_h) |
| OLD | NEW |