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

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

Issue 1296993002: Expose new optional Input.SynthesizeRepeatingScroll parameters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 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 4500 matching lines...) Expand 10 before | Expand all | Expand 10 after
4511 "async": true, 4511 "async": true,
4512 "parameters": [ 4512 "parameters": [
4513 { "name": "x", "type": "integer", "description": "X coordina te of the start of the gesture in CSS pixels." }, 4513 { "name": "x", "type": "integer", "description": "X coordina te of the start of the gesture in CSS pixels." },
4514 { "name": "y", "type": "integer", "description": "Y coordina te of the start of the gesture in CSS pixels." }, 4514 { "name": "y", "type": "integer", "description": "Y coordina te of the start of the gesture in CSS pixels." },
4515 { "name": "xDistance", "type": "integer", "optional": true, "description": "The distance to scroll along the X axis (positive to scroll left )." }, 4515 { "name": "xDistance", "type": "integer", "optional": true, "description": "The distance to scroll along the X axis (positive to scroll left )." },
4516 { "name": "yDistance", "type": "integer", "optional": true, "description": "The distance to scroll along the Y axis (positive to scroll up). " }, 4516 { "name": "yDistance", "type": "integer", "optional": true, "description": "The distance to scroll along the Y axis (positive to scroll up). " },
4517 { "name": "xOverscroll", "type": "integer", "optional": true , "description": "The number of additional pixels to scroll back along the X axi s, in addition to the given distance." }, 4517 { "name": "xOverscroll", "type": "integer", "optional": true , "description": "The number of additional pixels to scroll back along the X axi s, in addition to the given distance." },
4518 { "name": "yOverscroll", "type": "integer", "optional": true , "description": "The number of additional pixels to scroll back along the Y axi s, in addition to the given distance." }, 4518 { "name": "yOverscroll", "type": "integer", "optional": true , "description": "The number of additional pixels to scroll back along the Y axi s, in addition to the given distance." },
4519 { "name": "preventFling", "type": "boolean", "optional": tru e, "description": "Prevent fling (default: true)." }, 4519 { "name": "preventFling", "type": "boolean", "optional": tru e, "description": "Prevent fling (default: true)." },
4520 { "name": "speed", "type": "integer", "optional": true, "des cription": "Swipe speed in pixels per second (default: 800)." }, 4520 { "name": "speed", "type": "integer", "optional": true, "des cription": "Swipe speed in pixels per second (default: 800)." },
4521 { "name": "gestureSourceType", "$ref": "GestureSourceType", "optional": true, "description": "Which type of input events to be generated (de fault: 'default', which queries the platform for the preferred input type)." } 4521 { "name": "gestureSourceType", "$ref": "GestureSourceType", "optional": true, "description": "Which type of input events to be generated (de fault: 'default', which queries the platform for the preferred input type)." },
4522 { "name": "repeatCount", "type": "integer", "optional": true , "description": "The number of times to repeat the gesture (default: 0)." },
Sami 2015/08/17 16:40:42 Should the default be 1? I would understand this t
pfeldman 2015/08/17 17:46:30 I'd just say default is no repeat.
alex clarke (OOO till 29th) 2015/08/18 09:50:08 Done.
4523 { "name": "repeatDelayMs", "type": "integer", "optional": tr ue, "description": "The number of milliseconds delay between each repeat. (defau lt: 250)." },
4524 { "name": "interactionMarkerName", "type": "string", "option al": true, "description": "The name of the interaction markers to generate, if n ot empty (default: \"\")." }
4522 ], 4525 ],
4523 "description": "Synthesizes a scroll gesture over a time period by issuing appropriate touch events.", 4526 "description": "Synthesizes a scroll gesture over a time period by issuing appropriate touch events.",
4524 "hidden": true, 4527 "hidden": true,
4525 "handlers": ["browser"] 4528 "handlers": ["browser"]
4526 }, 4529 },
4527 { 4530 {
4528 "name": "synthesizeTapGesture", 4531 "name": "synthesizeTapGesture",
4529 "async": true, 4532 "async": true,
4530 "parameters": [ 4533 "parameters": [
4531 { "name": "x", "type": "integer", "description": "X coordina te of the start of the gesture in CSS pixels." }, 4534 { "name": "x", "type": "integer", "description": "X coordina te of the start of the gesture in CSS pixels." },
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
5105 ], 5108 ],
5106 "returns": [ 5109 "returns": [
5107 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5110 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5108 ], 5111 ],
5109 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5112 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5110 "hidden": true 5113 "hidden": true
5111 } 5114 }
5112 ] 5115 ]
5113 }] 5116 }]
5114 } 5117 }
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