Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 4853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4864 }, | 4864 }, |
| 4865 { | 4865 { |
| 4866 "id": "KeyframeStyle", | 4866 "id": "KeyframeStyle", |
| 4867 "type": "object", | 4867 "type": "object", |
| 4868 "properties": [ | 4868 "properties": [ |
| 4869 { "name": "offset", "type": "string", "description": "Keyfra me's time offset." }, | 4869 { "name": "offset", "type": "string", "description": "Keyfra me's time offset." }, |
| 4870 { "name": "style", "$ref": "CSS.CSSStyle", "description": "K eyframe's associated CSS style declaration." }, | 4870 { "name": "style", "$ref": "CSS.CSSStyle", "description": "K eyframe's associated CSS style declaration." }, |
| 4871 { "name": "easing", "type": "string", "description": "<code> AnimationNode</code>'s timing function." } | 4871 { "name": "easing", "type": "string", "description": "<code> AnimationNode</code>'s timing function." } |
| 4872 ], | 4872 ], |
| 4873 "description": "Keyframe Style" | 4873 "description": "Keyframe Style" |
| 4874 }, | |
| 4875 { | |
| 4876 "id": "AnimationStartTime", | |
| 4877 "type": "object", | |
| 4878 "properties": [ | |
| 4879 { "name": "id", "type": "string", "description": "<code>Anim ationPlayer</code>'s id." }, | |
|
pfeldman
2015/04/01 13:06:45
For the ids, we typically introduce a separate typ
samli
2015/04/02 09:58:00
Done.
| |
| 4880 { "name": "startTime", "type": "number", "description": "Upd ated normalized <code>AnimationPlayer</code>'s start time." } | |
|
pfeldman
2015/04/01 13:06:45
Is this monotonicallyIncreasingTime or wall?
samli
2015/04/02 09:58:00
Monotonically increasing time.
| |
| 4881 ], | |
| 4882 "description": "Map from animation id to animation start time" | |
| 4874 } | 4883 } |
| 4875 ], | 4884 ], |
| 4876 "commands": [ | 4885 "commands": [ |
| 4877 { | 4886 { |
| 4878 "name": "enable", | 4887 "name": "enable", |
| 4879 "description": "Enables animation domain notifications." | 4888 "description": "Enables animation domain notifications." |
| 4880 }, | 4889 }, |
| 4881 { | 4890 { |
| 4882 "name": "getAnimationPlayersForNode", | 4891 "name": "getAnimationPlayersForNode", |
| 4883 "parameters": [ | 4892 "parameters": [ |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 4895 "returns": [ | 4904 "returns": [ |
| 4896 { "name": "playbackRate", "type": "number", "description": " Playback rate for animations on page."} | 4905 { "name": "playbackRate", "type": "number", "description": " Playback rate for animations on page."} |
| 4897 ], | 4906 ], |
| 4898 "description": "Gets the playback rate of the document timeline. " | 4907 "description": "Gets the playback rate of the document timeline. " |
| 4899 }, | 4908 }, |
| 4900 { | 4909 { |
| 4901 "name": "setPlaybackRate", | 4910 "name": "setPlaybackRate", |
| 4902 "parameters": [ | 4911 "parameters": [ |
| 4903 { "name": "playbackRate", "type": "number", "description": " Playback rate for animations on page" } | 4912 { "name": "playbackRate", "type": "number", "description": " Playback rate for animations on page" } |
| 4904 ], | 4913 ], |
| 4914 "returns": [ | |
| 4915 { "name": "animationStartTimes", "type": "array", "items": { "$ref": "AnimationStartTime" }, "description": "List of updated animation start times." } | |
| 4916 ], | |
| 4905 "description": "Sets the playback rate of the document timeline. " | 4917 "description": "Sets the playback rate of the document timeline. " |
| 4906 }, | 4918 }, |
| 4907 { | 4919 { |
| 4908 "name": "setCurrentTime", | 4920 "name": "setCurrentTime", |
| 4909 "parameters": [ | 4921 "parameters": [ |
| 4910 { "name": "currentTime", "type": "number", "description": "C urrent time for the page animation timeline" } | 4922 { "name": "normalisedCurrentTime", "type": "number", "descri ption": "Current time for the page animation timeline" } |
|
pfeldman
2015/04/01 13:06:45
normalizedCurrentTime
samli
2015/04/02 09:58:00
Done.
| |
| 4923 ], | |
| 4924 "returns": [ | |
| 4925 { "name": "animationStartTimes", "type": "array", "items": { "$ref": "AnimationStartTime" }, "description": "List of updated animation start times." } | |
| 4911 ], | 4926 ], |
| 4912 "description": "Sets the current time of the document timeline." | 4927 "description": "Sets the current time of the document timeline." |
| 4913 }, | 4928 }, |
| 4914 { | 4929 { |
| 4915 "name": "setTiming", | 4930 "name": "setTiming", |
| 4916 "parameters": [ | 4931 "parameters": [ |
| 4917 { "name": "playerId", "type": "string", "description": "Anim ationPlayer id." }, | 4932 { "name": "playerId", "type": "string", "description": "Anim ationPlayer id." }, |
| 4918 { "name": "duration", "type": "number", "description": "Dura tion of the animation." }, | 4933 { "name": "duration", "type": "number", "description": "Dura tion of the animation." }, |
| 4919 { "name": "delay", "type": "number", "description": "Delay o f the animation." } | 4934 { "name": "delay", "type": "number", "description": "Delay o f the animation." } |
| 4920 ], | 4935 ], |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5055 ], | 5070 ], |
| 5056 "returns": [ | 5071 "returns": [ |
| 5057 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5072 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
| 5058 ], | 5073 ], |
| 5059 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5074 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
| 5060 "hidden": true | 5075 "hidden": true |
| 5061 } | 5076 } |
| 5062 ] | 5077 ] |
| 5063 }] | 5078 }] |
| 5064 } | 5079 } |
| OLD | NEW |