| Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
|
| index d8f92dad6ea48559a57a0d27cc328ea3352afdd2..62736b2b3f63cc03b089e58361b09577853a57fe 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
|
| @@ -137,6 +137,7 @@ public:
|
| void setRuleSelector(ErrorString*, const String& styleSheetId, const RefPtr<JSONObject>& range, const String& selector, RefPtr<protocol::TypeBuilder::CSS::SelectorList>& result) override;
|
| void setKeyframeKey(ErrorString*, const String& styleSheetId, const RefPtr<JSONObject>& range, const String& keyText, RefPtr<protocol::TypeBuilder::CSS::Value>& result) override;
|
| void setStyleText(ErrorString*, const String& styleSheetId, const RefPtr<JSONObject>& range, const String& text, RefPtr<protocol::TypeBuilder::CSS::CSSStyle>& result) override;
|
| + void setMultipleStyleTexts(ErrorString*, const RefPtr<JSONArray>& styleSheetIds, const RefPtr<JSONArray>& ranges, const RefPtr<JSONArray>& texts, RefPtr<protocol::TypeBuilder::Array<protocol::TypeBuilder::CSS::CSSStyle>>& result);
|
| void setMediaText(ErrorString*, const String& styleSheetId, const RefPtr<JSONObject>& range, const String& text, RefPtr<protocol::TypeBuilder::CSS::CSSMedia>& result) override;
|
| void createStyleSheet(ErrorString*, const String& frameId, protocol::TypeBuilder::CSS::StyleSheetId* outStyleSheetId) override;
|
| void addRule(ErrorString*, const String& styleSheetId, const String& ruleText, const RefPtr<JSONObject>& location, RefPtr<protocol::TypeBuilder::CSS::CSSRule>& result) override;
|
| @@ -158,9 +159,11 @@ public:
|
| String styleSheetId(CSSStyleSheet*);
|
| private:
|
| class StyleSheetAction;
|
| + class StyleEditAction;
|
| class SetStyleSheetTextAction;
|
| class ModifyRuleAction;
|
| class SetElementStyleAction;
|
| + class SetMultipleStyleTextsAction;
|
| class AddRuleAction;
|
|
|
| static void collectStyleSheets(CSSStyleSheet*, WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet>>&);
|
| @@ -181,6 +184,8 @@ private:
|
| void updateActiveStyleSheets(Document*, StyleSheetsUpdateType);
|
| void setActiveStyleSheets(Document*, const WillBeHeapVector<RawPtrWillBeMember<CSSStyleSheet>>&, StyleSheetsUpdateType);
|
| CSSStyleDeclaration* setStyleText(ErrorString*, InspectorStyleSheetBase*, const SourceRange&, const String&);
|
| + bool multipleStyleTextsToActions(ErrorString*, const RefPtr<JSONArray>& styleSheetIds, const RefPtr<JSONArray>& ranges, const RefPtr<JSONArray>& texts, HeapVector<RefPtrWillBeMember<StyleEditAction>>& actions);
|
| +
|
|
|
| PassRefPtr<protocol::TypeBuilder::Array<protocol::TypeBuilder::CSS::CSSKeyframesRule>> animationsForNode(Element*);
|
|
|
|
|