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

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

Issue 1694433003: DevTools: [CSS] Add CSS.setMultipleStyleTexts command to CSS domain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline Created 4 years, 10 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 d14c5d8b3ff83fbaf556f2e37d61f0ecbc6b8452..7f1894b4201786bb47a8845aed8cd94de426ab52 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -3286,11 +3286,23 @@
{ "name": "text", "type": "string" }
],
"returns": [
- { "name": "style", "$ref": "CSSStyle", "description": "The resulting style after the selector modification." }
+ { "name": "style", "$ref": "CSSStyle", "description": "The resulting style after modification." }
],
"description": "Modifies the style text."
},
{
+ "name": "setMultipleStyleTexts",
dgozman 2016/02/16 18:14:05 Let's replace setStyleText with this one. No need
lushnikov 2016/02/17 20:26:50 Done.
+ "parameters": [
+ { "name": "styleSheetIds", "type": "array", "items": { "$ref": "StyleSheetId" }},
dgozman 2016/02/16 18:14:05 I think array of objects is a better way than thre
lushnikov 2016/02/17 20:26:49 Done.
+ { "name": "ranges", "type": "array", "items": { "$ref": "SourceRange" }},
+ { "name": "texts", "type": "array", "items": { "type": "string" }}
+ ],
+ "returns": [
+ { "name": "styles", "type": "array", "items": { "$ref": "CSSStyle" }, "description": "The resulting styles after modification." }
+ ],
+ "description": "Modifies multiple styles."
+ },
+ {
"name": "setMediaText",
"parameters": [
{ "name": "styleSheetId", "$ref": "StyleSheetId" },

Powered by Google App Engine
This is Rietveld 408576698