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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 void addEditedStyleSheet(const String& url, const String& content); | 122 void addEditedStyleSheet(const String& url, const String& content); |
123 bool getEditedStyleSheet(const String& url, String* content); | 123 bool getEditedStyleSheet(const String& url, String* content); |
124 | 124 |
125 void addEditedStyleElement(int backendNodeId, const String& content); | 125 void addEditedStyleElement(int backendNodeId, const String& content); |
126 bool getEditedStyleElement(int backendNodeId, String* content); | 126 bool getEditedStyleElement(int backendNodeId, String* content); |
127 | 127 |
128 void enable(ErrorString*, PassRefPtrWillBeRawPtr<EnableCallback>) override; | 128 void enable(ErrorString*, PassRefPtrWillBeRawPtr<EnableCallback>) override; |
129 void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::A
rray<TypeBuilder::CSS::CSSComputedStyleProperty>>&) override; | 129 void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::A
rray<TypeBuilder::CSS::CSSComputedStyleProperty>>&) override; |
130 void getPlatformFontsForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::A
rray<TypeBuilder::CSS::PlatformFontUsage>>&) override; | 130 void getPlatformFontsForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::A
rray<TypeBuilder::CSS::PlatformFontUsage>>&) override; |
131 void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::CS
S::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attributes) overr
ide; | 131 void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::CS
S::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attributes) overr
ide; |
132 void getMatchedStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::A
rray<TypeBuilder::CSS::RuleMatch>>& matchedCSSRules, RefPtr<TypeBuilder::Array<T
ypeBuilder::CSS::PseudoIdMatches>>&, RefPtr<TypeBuilder::Array<TypeBuilder::CSS:
:InheritedStyleEntry>>& inheritedEntries) override; | 132 void getMatchedStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::C
SS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attributesStyle,
RefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch>>& matchedCSSRules, RefPt
r<TypeBuilder::Array<TypeBuilder::CSS::PseudoIdMatches>>&, RefPtr<TypeBuilder::A
rray<TypeBuilder::CSS::InheritedStyleEntry>>& inheritedEntries) override; |
133 void getStyleSheetText(ErrorString*, const String& styleSheetId, String* res
ult) override; | 133 void getStyleSheetText(ErrorString*, const String& styleSheetId, String* res
ult) override; |
134 void setStyleSheetText(ErrorString*, const String& styleSheetId, const Strin
g& text) override; | 134 void setStyleSheetText(ErrorString*, const String& styleSheetId, const Strin
g& text) override; |
135 void setRuleSelector(ErrorString*, const String& styleSheetId, const RefPtr<
JSONObject>& range, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& r
esult) override; | 135 void setRuleSelector(ErrorString*, const String& styleSheetId, const RefPtr<
JSONObject>& range, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& r
esult) override; |
136 void setStyleText(ErrorString*, const String& styleSheetId, const RefPtr<JSO
NObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSStyle>& result)
override; | 136 void setStyleText(ErrorString*, const String& styleSheetId, const RefPtr<JSO
NObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSStyle>& result)
override; |
137 void setMediaText(ErrorString*, const String& styleSheetId, const RefPtr<JSO
NObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSMedia>& result)
override; | 137 void setMediaText(ErrorString*, const String& styleSheetId, const RefPtr<JSO
NObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSMedia>& result)
override; |
138 void createStyleSheet(ErrorString*, const String& frameId, TypeBuilder::CSS:
:StyleSheetId* outStyleSheetId) override; | 138 void createStyleSheet(ErrorString*, const String& frameId, TypeBuilder::CSS:
:StyleSheetId* outStyleSheetId) override; |
139 void addRule(ErrorString*, const String& styleSheetId, const String& ruleTex
t, const RefPtr<JSONObject>& location, RefPtr<TypeBuilder::CSS::CSSRule>& result
) override; | 139 void addRule(ErrorString*, const String& styleSheetId, const String& ruleTex
t, const RefPtr<JSONObject>& location, RefPtr<TypeBuilder::CSS::CSSRule>& result
) override; |
140 void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArray>& for
cedPseudoClasses) override; | 140 void forcePseudoState(ErrorString*, int nodeId, const RefPtr<JSONArray>& for
cedPseudoClasses) override; |
141 void getMediaQueries(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CS
S::CSSMedia>>& medias) override; | 141 void getMediaQueries(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CS
S::CSSMedia>>& medias) override; |
142 void setEffectivePropertyValueForNode(ErrorString*, int nodeId, const String
& propertyName, const String& value) override; | 142 void setEffectivePropertyValueForNode(ErrorString*, int nodeId, const String
& propertyName, const String& value) override; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 bool m_isSettingStyleSheetText; | 224 bool m_isSettingStyleSheetText; |
225 | 225 |
226 friend class InspectorResourceContentLoaderCallback; | 226 friend class InspectorResourceContentLoaderCallback; |
227 friend class StyleSheetBinder; | 227 friend class StyleSheetBinder; |
228 }; | 228 }; |
229 | 229 |
230 | 230 |
231 } // namespace blink | 231 } // namespace blink |
232 | 232 |
233 #endif // !defined(InspectorCSSAgent_h) | 233 #endif // !defined(InspectorCSSAgent_h) |
OLD | NEW |