| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 void activeStyleSheetsUpdated(Document*); | 126 void activeStyleSheetsUpdated(Document*); |
| 127 void documentDetached(Document*); | 127 void documentDetached(Document*); |
| 128 | 128 |
| 129 virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBu
ilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&) OVERRIDE; | 129 virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBu
ilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&) OVERRIDE; |
| 130 virtual void getPlatformFontsForNode(ErrorString*, int nodeId, String* cssFa
milyName, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PlatformFontUsage> >&) OVE
RRIDE; | 130 virtual void getPlatformFontsForNode(ErrorString*, int nodeId, String* cssFa
milyName, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PlatformFontUsage> >&) OVE
RRIDE; |
| 131 virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBui
lder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attribute
s) OVERRIDE; | 131 virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBui
lder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attribute
s) OVERRIDE; |
| 132 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; | 132 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; |
| 133 virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, Str
ing* result) OVERRIDE; | 133 virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, Str
ing* result) OVERRIDE; |
| 134 virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, con
st String& text) OVERRIDE; | 134 virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, con
st String& text) OVERRIDE; |
| 135 virtual void getKeyframeStylesForNode(ErrorString*, int sequenceNumber, RefP
tr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule> >& keyframeStyles); |
| 135 | 136 |
| 136 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; |
| 137 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; |
| 138 virtual void createStyleSheet(ErrorString*, const String& frameId, TypeBuild
er::CSS::StyleSheetId* outStyleSheetId) OVERRIDE; | 139 virtual void createStyleSheet(ErrorString*, const String& frameId, TypeBuild
er::CSS::StyleSheetId* outStyleSheetId) OVERRIDE; |
| 139 virtual void addRule(ErrorString*, const String& styleSheetId, const String&
ruleText, const RefPtr<JSONObject>& location, RefPtr<TypeBuilder::CSS::CSSRule>
& result) OVERRIDE; | 140 virtual void addRule(ErrorString*, const String& styleSheetId, const String&
ruleText, const RefPtr<JSONObject>& location, RefPtr<TypeBuilder::CSS::CSSRule>
& result) OVERRIDE; |
| 140 virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArr
ay>& forcedPseudoClasses) OVERRIDE; | 141 virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArr
ay>& forcedPseudoClasses) OVERRIDE; |
| 141 virtual void getMediaQueries(ErrorString*, RefPtr<TypeBuilder::Array<TypeBui
lder::CSS::CSSMedia> >& medias) OVERRIDE; | 142 virtual void getMediaQueries(ErrorString*, RefPtr<TypeBuilder::Array<TypeBui
lder::CSS::CSSMedia> >& medias) OVERRIDE; |
| 142 | 143 |
| 143 bool collectMediaQueriesFromRule(CSSRule*, TypeBuilder::Array<TypeBuilder::C
SS::CSSMedia>* mediaArray); | 144 bool collectMediaQueriesFromRule(CSSRule*, TypeBuilder::Array<TypeBuilder::C
SS::CSSMedia>* mediaArray); |
| 144 bool collectMediaQueriesFromStyleSheet(CSSStyleSheet*, TypeBuilder::Array<Ty
peBuilder::CSS::CSSMedia>* mediaArray); | 145 bool collectMediaQueriesFromStyleSheet(CSSStyleSheet*, TypeBuilder::Array<Ty
peBuilder::CSS::CSSMedia>* mediaArray); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 bool m_isSettingStyleSheetText; | 222 bool m_isSettingStyleSheetText; |
| 222 | 223 |
| 223 friend class InspectorResourceContentLoaderCallback; | 224 friend class InspectorResourceContentLoaderCallback; |
| 224 friend class StyleSheetBinder; | 225 friend class StyleSheetBinder; |
| 225 }; | 226 }; |
| 226 | 227 |
| 227 | 228 |
| 228 } // namespace blink | 229 } // namespace blink |
| 229 | 230 |
| 230 #endif // !defined(InspectorCSSAgent_h) | 231 #endif // !defined(InspectorCSSAgent_h) |
| OLD | NEW |