Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1577723002: Devtools: Add editable keyframes to the styles sidebar pane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/protocol.json
diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json
index 5a74d502a14f48813f590a255907f651f0540893..f0cf2f6cd2d338c0c16c3d968af2cc9df0916456 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -3127,6 +3127,8 @@
"id": "CSSKeyframeRule",
"type": "object",
"properties": [
+ { "name": "styleSheetId", "$ref": "StyleSheetId", "optional": true, "description": "The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from." },
+ { "name": "origin", "$ref": "StyleSheetOrigin", "description": "Parent stylesheet's origin."},
pfeldman 2016/01/13 00:08:19 I'd rather remove "origin" from CSSRule and not ad
samli 2016/01/13 00:53:37 Protocol says that the optional StyleSheetId for C
{ "name": "keyText", "$ref": "Value", "description": "Associated key text." },
{ "name": "style", "$ref": "CSSStyle", "description": "Associated style declaration." }
],
@@ -3233,6 +3235,18 @@
"description": "Modifies the rule selector."
},
{
+ "name": "setKeyframeKey",
+ "parameters": [
+ { "name": "styleSheetId", "$ref": "StyleSheetId" },
+ { "name": "range", "$ref": "SourceRange" },
+ { "name": "keyText", "type": "string" }
+ ],
+ "returns": [
+ { "name": "keyText", "$ref": "Value", "description": "The resulting key text after modification." }
+ ],
+ "description": "Modifies the keyframe rule key text."
+ },
+ {
"name": "setStyleText",
"parameters": [
{ "name": "styleSheetId", "$ref": "StyleSheetId" },

Powered by Google App Engine
This is Rietveld 408576698