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 4815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4826 ], | 4826 ], |
| 4827 "handlers": ["browser", "frontend"] | 4827 "handlers": ["browser", "frontend"] |
| 4828 } | 4828 } |
| 4829 ] | 4829 ] |
| 4830 }, | 4830 }, |
| 4831 { | 4831 { |
| 4832 "domain": "Animation", | 4832 "domain": "Animation", |
| 4833 "hidden": true, | 4833 "hidden": true, |
| 4834 "types": [ | 4834 "types": [ |
| 4835 { | 4835 { |
| 4836 "id": "AnimationPlayerId", | |
| 4837 "type": "string", | |
| 4838 "description": "Unique AnimationPlayer identifier." | |
| 4839 }, | |
| 4840 { | |
| 4836 "id": "AnimationPlayer", | 4841 "id": "AnimationPlayer", |
| 4837 "type": "object", | 4842 "type": "object", |
| 4838 "hidden": true, | 4843 "hidden": true, |
| 4839 "properties": [ | 4844 "properties": [ |
| 4840 { "name": "id", "type": "string", "description": "<code>Anim ationPlayer</code>'s id." }, | 4845 { "name": "id", "$ref": "AnimationPlayerId", "description": "<code>AnimationPlayer</code>'s id." }, |
| 4841 { "name": "pausedState", "type": "boolean", "hidden": "true" , "description": "<code>AnimationPlayer</code>'s internal paused state." }, | 4846 { "name": "pausedState", "type": "boolean", "hidden": "true" , "description": "<code>AnimationPlayer</code>'s internal paused state." }, |
| 4842 { "name": "playState", "type": "string", "description": "<co de>AnimationPlayer</code>'s play state." }, | 4847 { "name": "playState", "type": "string", "description": "<co de>AnimationPlayer</code>'s play state." }, |
| 4843 { "name": "playbackRate", "type": "number", "description": " <code>AnimationPlayer</code>'s playback rate." }, | 4848 { "name": "playbackRate", "type": "number", "description": " <code>AnimationPlayer</code>'s playback rate." }, |
| 4844 { "name": "startTime", "type": "number", "description": "<co de>AnimationPlayer</code>'s start time." }, | 4849 { "name": "startTime", "type": "number", "description": "<co de>AnimationPlayer</code>'s start time." }, |
| 4845 { "name": "currentTime", "type": "number", "description": "< code>AnimationPlayer</code>'s current time." }, | 4850 { "name": "currentTime", "type": "number", "description": "< code>AnimationPlayer</code>'s current time." }, |
| 4846 { "name": "source", "$ref": "AnimationNode", "description": "<code>AnimationPlayer</code>'s source animation node." }, | 4851 { "name": "source", "$ref": "AnimationNode", "description": "<code>AnimationPlayer</code>'s source animation node." }, |
| 4847 { "name": "type", "type": "string", "enum": ["CSSTransition" , "CSSAnimation", "WebAnimation"], "description": "Animation type of <code>Anima tionPlayer</code>." } | 4852 { "name": "type", "type": "string", "enum": ["CSSTransition" , "CSSAnimation", "WebAnimation"], "description": "Animation type of <code>Anima tionPlayer</code>." } |
| 4848 ], | 4853 ], |
| 4849 "description": "AnimationPlayer instance." | 4854 "description": "AnimationPlayer instance." |
| 4850 }, | 4855 }, |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 4879 }, | 4884 }, |
| 4880 { | 4885 { |
| 4881 "id": "KeyframeStyle", | 4886 "id": "KeyframeStyle", |
| 4882 "type": "object", | 4887 "type": "object", |
| 4883 "properties": [ | 4888 "properties": [ |
| 4884 { "name": "offset", "type": "string", "description": "Keyfra me's time offset." }, | 4889 { "name": "offset", "type": "string", "description": "Keyfra me's time offset." }, |
| 4885 { "name": "style", "$ref": "CSS.CSSStyle", "description": "K eyframe's associated CSS style declaration." }, | 4890 { "name": "style", "$ref": "CSS.CSSStyle", "description": "K eyframe's associated CSS style declaration." }, |
| 4886 { "name": "easing", "type": "string", "description": "<code> AnimationNode</code>'s timing function." } | 4891 { "name": "easing", "type": "string", "description": "<code> AnimationNode</code>'s timing function." } |
| 4887 ], | 4892 ], |
| 4888 "description": "Keyframe Style" | 4893 "description": "Keyframe Style" |
| 4894 }, | |
| 4895 { | |
| 4896 "id": "AnimationStartTime", | |
| 4897 "type": "object", | |
| 4898 "properties": [ | |
| 4899 { "name": "id", "$ref": "AnimationPlayerId", "description": "<code>AnimationPlayer</code>'s id." }, | |
| 4900 { "name": "startTime", "type": "number", "description": "Upd ated normalized <code>AnimationPlayer</code>'s start time." } | |
| 4901 ], | |
| 4902 "description": "Map from animation id to animation start time" | |
| 4889 } | 4903 } |
| 4890 ], | 4904 ], |
| 4891 "commands": [ | 4905 "commands": [ |
| 4892 { | 4906 { |
| 4893 "name": "enable", | 4907 "name": "enable", |
| 4894 "description": "Enables animation domain notifications." | 4908 "description": "Enables animation domain notifications." |
| 4895 }, | 4909 }, |
| 4896 { | 4910 { |
| 4897 "name": "getAnimationPlayersForNode", | 4911 "name": "getAnimationPlayersForNode", |
| 4898 "parameters": [ | 4912 "parameters": [ |
| 4899 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id of the node to get animation players for." }, | 4913 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id of the node to get animation players for." }, |
| 4900 { "name": "includeSubtreeAnimations", "type": "boolean", "de scription": "Include animations from elements subtree." } | 4914 { "name": "includeSubtreeAnimations", "type": "boolean", "de scription": "Include animations from elements subtree." } |
| 4901 ], | 4915 ], |
| 4902 "returns": [ | 4916 "returns": [ |
| 4903 { "name": "animationPlayers", "type": "array", "items": { "$ ref": "AnimationPlayer" }, "description": "Array of animation players." } | 4917 { "name": "animationPlayers", "type": "array", "items": { "$ ref": "AnimationPlayer" }, "description": "Array of animation players." } |
| 4904 ], | 4918 ], |
| 4905 "description": "Returns animation players relevant to the node." , | 4919 "description": "Returns animation players relevant to the node." , |
| 4906 "hidden": true | 4920 "hidden": true |
| 4907 }, | 4921 }, |
| 4908 { | 4922 { |
| 4909 "name": "getPlaybackRate", | 4923 "name": "getPlaybackRate", |
| 4910 "returns": [ | 4924 "returns": [ |
| 4911 { "name": "playbackRate", "type": "number", "description": " Playback rate for animations on page."} | 4925 { "name": "playbackRate", "type": "number", "description": " Playback rate for animations on page."} |
| 4912 ], | 4926 ], |
| 4913 "description": "Gets the playback rate of the document timeline. " | 4927 "description": "Gets the playback rate of the document timeline. " |
| 4914 }, | 4928 }, |
| 4915 { | 4929 { |
| 4916 "name": "setPlaybackRate", | 4930 "name": "setPlaybackRate", |
| 4917 "parameters": [ | 4931 "parameters": [ |
| 4918 { "name": "playbackRate", "type": "number", "description": " Playback rate for animations on page" } | 4932 { "name": "playbackRate", "type": "number", "description": " Playback rate for animations on page." } |
| 4933 ], | |
| 4934 "returns": [ | |
| 4935 { "name": "animationStartTimes", "type": "array", "items": { "$ref": "AnimationStartTime" }, "description": "List of updated animation start times." } | |
|
pfeldman
2015/04/07 10:27:34
I'd like to better understand when animation times
| |
| 4919 ], | 4936 ], |
| 4920 "description": "Sets the playback rate of the document timeline. " | 4937 "description": "Sets the playback rate of the document timeline. " |
| 4921 }, | 4938 }, |
| 4922 { | 4939 { |
| 4923 "name": "setCurrentTime", | 4940 "name": "seekTimelineTo", |
| 4924 "parameters": [ | 4941 "parameters": [ |
| 4925 { "name": "currentTime", "type": "number", "description": "C urrent time for the page animation timeline" } | 4942 { "name": "time", "type": "number", "description": "Time to seek animation timelines to." } |
| 4943 ], | |
| 4944 "returns": [ | |
| 4945 { "name": "animationStartTimes", "type": "array", "items": { "$ref": "AnimationStartTime" }, "description": "List of updated animation start times." } | |
| 4926 ], | 4946 ], |
| 4927 "description": "Sets the current time of the document timeline." | 4947 "description": "Sets the current time of the document timeline." |
| 4928 }, | 4948 }, |
| 4929 { | 4949 { |
| 4950 "name": "seekTimelineBy", | |
| 4951 "parameters": [ | |
| 4952 { "name": "timeDelta", "type": "number", "description": "Tim e delta in milliseconds to seek animation timelines." } | |
| 4953 ], | |
| 4954 "description": "Seek animation timelines by a ms time delta." | |
| 4955 }, | |
| 4956 { | |
| 4930 "name": "setTiming", | 4957 "name": "setTiming", |
| 4931 "parameters": [ | 4958 "parameters": [ |
| 4932 { "name": "playerId", "type": "string", "description": "Anim ationPlayer id." }, | 4959 { "name": "playerId", "$ref": "AnimationPlayerId", "descript ion": "AnimationPlayer id." }, |
| 4933 { "name": "duration", "type": "number", "description": "Dura tion of the animation." }, | 4960 { "name": "duration", "type": "number", "description": "Dura tion of the animation." }, |
| 4934 { "name": "delay", "type": "number", "description": "Delay o f the animation." } | 4961 { "name": "delay", "type": "number", "description": "Delay o f the animation." } |
| 4935 ], | 4962 ], |
| 4936 "description": "Sets the timing of an animation node." | 4963 "description": "Sets the timing of an animation node." |
| 4937 } | 4964 } |
| 4938 ], | 4965 ], |
| 4939 "events": [ | 4966 "events": [ |
| 4940 { | 4967 { |
| 4941 "name": "animationPlayerCreated", | 4968 "name": "animationPlayerCreated", |
| 4942 "parameters": [ | 4969 "parameters": [ |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5070 ], | 5097 ], |
| 5071 "returns": [ | 5098 "returns": [ |
| 5072 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5099 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
| 5073 ], | 5100 ], |
| 5074 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5101 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
| 5075 "hidden": true | 5102 "hidden": true |
| 5076 } | 5103 } |
| 5077 ] | 5104 ] |
| 5078 }] | 5105 }] |
| 5079 } | 5106 } |
| OLD | NEW |