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

Side by Side Diff: Source/devtools/protocol.json

Issue 722173002: [DevTools] Make unused ScreencastFrameMetadata properties optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 { "name": "minimumPageScaleFactor", "type": "number", "descr iption": "Minimum page scale factor." }, 202 { "name": "minimumPageScaleFactor", "type": "number", "descr iption": "Minimum page scale factor." },
203 { "name": "maximumPageScaleFactor", "type": "number", "descr iption": "Maximum page scale factor." } 203 { "name": "maximumPageScaleFactor", "type": "number", "descr iption": "Maximum page scale factor." }
204 ], 204 ],
205 "hidden": true 205 "hidden": true
206 }, 206 },
207 { 207 {
208 "id": "ScreencastFrameMetadata", 208 "id": "ScreencastFrameMetadata",
209 "type": "object", 209 "type": "object",
210 "description": "Screencast frame metadata", 210 "description": "Screencast frame metadata",
211 "properties": [ 211 "properties": [
212 { "name": "deviceScaleFactor", "type": "number", "hidden": t rue, "description": "Device scale factor." }, 212 { "name": "deviceScaleFactor", "type": "number", "hidden": t rue, "optional": true, "description": "Device scale factor." },
213 { "name": "viewport", "$ref": "DOM.Rect", "hidden": true, "d escription": "Viewport in CSS pixels." }, 213 { "name": "viewport", "$ref": "DOM.Rect", "hidden": true, "o ptional": true, "description": "Viewport in CSS pixels." },
214 { "name": "offsetTop", "type": "number", "hidden": true, "op tional": true, "description": "Top offset in DIP." }, 214 { "name": "offsetTop", "type": "number", "hidden": true, "de scription": "Top offset in DIP." },
215 { "name": "offsetBottom", "type": "number", "hidden": true, "optional": true, "description": "Bottom offset in DIP." }, 215 { "name": "offsetBottom", "type": "number", "hidden": true, "optional": true, "description": "Bottom offset in DIP." },
216 { "name": "pageScaleFactor", "type": "number", "hidden": tru e, "description": "Page scale factor." }, 216 { "name": "pageScaleFactor", "type": "number", "hidden": tru e, "description": "Page scale factor." },
217 { "name": "pageScaleFactorMin", "type": "number", "hidden": true, "description": "Page scale factor min." }, 217 { "name": "pageScaleFactorMin", "type": "number", "hidden": true, "optional": true, "description": "Page scale factor min." },
218 { "name": "pageScaleFactorMax", "type": "number", "hidden": true, "description": "Page scale factor max." }, 218 { "name": "pageScaleFactorMax", "type": "number", "hidden": true, "optional": true, "description": "Page scale factor max." },
219 { "name": "deviceWidth", "type": "number", "hidden": true, " description": "Device screen width in DIP." }, 219 { "name": "deviceWidth", "type": "number", "hidden": true, " description": "Device screen width in DIP." },
220 { "name": "deviceHeight", "type": "number", "hidden": true, "description": "Device screen height in DIP." }, 220 { "name": "deviceHeight", "type": "number", "hidden": true, "description": "Device screen height in DIP." },
221 { "name": "scrollOffsetX", "type": "number", "hidden": true, "description": "Position of horizontal scroll in CSS pixels." }, 221 { "name": "scrollOffsetX", "type": "number", "hidden": true, "description": "Position of horizontal scroll in CSS pixels." },
222 { "name": "scrollOffsetY", "type": "number", "hidden": true, "description": "Position of vertical scroll in CSS pixels." } 222 { "name": "scrollOffsetY", "type": "number", "hidden": true, "description": "Position of vertical scroll in CSS pixels." }
223 ], 223 ],
224 "hidden": true 224 "hidden": true
225 } 225 }
226 ], 226 ],
227 "commands": [ 227 "commands": [
228 { 228 {
(...skipping 4305 matching lines...) Expand 10 before | Expand all | Expand 10 after
4534 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." } 4534 { "name": "isRunning", "type": "boolean", "description": "If the animation player is still running." }
4535 ], 4535 ],
4536 "description": "Gets the state of an AnimationPlayer.", 4536 "description": "Gets the state of an AnimationPlayer.",
4537 "hidden": true 4537 "hidden": true
4538 } 4538 }
4539 ], 4539 ],
4540 "events": [ 4540 "events": [
4541 ] 4541 ]
4542 }] 4542 }]
4543 } 4543 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698