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

Side by Side Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2411793008: Adds BeginFrameControl via DevTools.
Patch Set: BFC prototype v2 with allow_latency_opts and waiting for BFOs. Created 4 years 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 | « services/ui/ws/gpu_compositor_frame_sink.cc ('k') | ui/aura/mus/mus_context_factory.h » ('j') | 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": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "experimental": true, 5 "experimental": 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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 "experimental": true 822 "experimental": true
823 }, 823 },
824 { 824 {
825 "name": "setVirtualTimePolicy", 825 "name": "setVirtualTimePolicy",
826 "description": "Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy . Note this supersedes any previous time budget.", 826 "description": "Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy . Note this supersedes any previous time budget.",
827 "parameters": [ 827 "parameters": [
828 { "name": "policy", "$ref": "VirtualTimePolicy" }, 828 { "name": "policy", "$ref": "VirtualTimePolicy" },
829 { "name": "budget", "type": "integer", "optional": true, "de scription": "If set, after this many virtual milliseconds have elapsed virtual t ime will be paused and a virtualTimeBudgetExpired event is sent." } 829 { "name": "budget", "type": "integer", "optional": true, "de scription": "If set, after this many virtual milliseconds have elapsed virtual t ime will be paused and a virtualTimeBudgetExpired event is sent." }
830 ], 830 ],
831 "experimental": true 831 "experimental": true
832 },
833 {
834 "name": "enableBeginFrameControl",
835 "description": "Enables a mode in which the browser's BeginFrame Source is disconnected from the window of the page and control over BeginFrames is given to the DevToolsClient. Only supported on Aura and assumes that the page does not share its window with other pages/tabs.",
836 "experimental": true,
837 "handlers": ["browser"]
838 },
839 {
840 "name": "disableBeginFrameControl",
841 "description": "Gives back control over BeginFrames to the brows er's BeginFrameSource.",
842 "experimental": true,
843 "handlers": ["browser"]
844 },
845 {
846 "name": "sendBeginFrame",
847 "description": "Sends a BeginFrame to the page and forces it to draw a fresh frame. A frameCommitted event with the returned frameId be sent whe n the frame has reached the screen. Requires EnableBeginFrameControl.",
848 "experimental": true,
849 "parameters": [
850 { "name": "interval", "type": "number" },
851 { "name": "frameTime", "type": "number", "optional": true, " description": "If not set, the current time will be used." },
852 { "name": "deadline", "type": "number", "optional": true, "d escription": "If not set, the deadline will be calculated from the specified int erval." }
853 ],
854 "returns": [
855 { "name": "frameId", "type": "string", "description": "A uni que identifier for the frame that will be produced as a result of the BeginFrame message." }
856 ],
857 "handlers": ["browser"]
832 } 858 }
833 ], 859 ],
834 "events": [ 860 "events": [
835 { 861 {
836 "name": "virtualTimeBudgetExpired", 862 "name": "virtualTimeBudgetExpired",
837 "experimental": true, 863 "experimental": true,
838 "description": "Notification sent after the virual time budget f or the current VirtualTimePolicy has run out." 864 "description": "Notification sent after the virual time budget f or the current VirtualTimePolicy has run out."
865 },
866 {
867 "name": "setNeedsBeginFrame",
868 "description": "Indicates whether the page is asking for another BeginFrame message.",
869 "experimental": true,
870 "parameters": [
871 { "name": "needsBeginFrame", "type": "boolean" }
872 ],
873 "handlers": ["browser"]
874 },
875 {
876 "name": "frameCommitted",
877 "description": "Notification sent after the frame corresponding to a SendBeginFrame command has been committed to the screen.",
878 "experimental": true,
879 "parameters": [
880 { "name": "frameId", "type": "string" }
881 ],
882 "handlers": ["browser"]
839 } 883 }
840 ] 884 ]
841 }, 885 },
842 { 886 {
843 "domain": "Security", 887 "domain": "Security",
844 "description": "Security", 888 "description": "Security",
845 "experimental": true, 889 "experimental": true,
846 "types": [ 890 "types": [
847 { 891 {
848 "id": "CertificateId", 892 "id": "CertificateId",
(...skipping 3638 matching lines...) Expand 10 before | Expand all | Expand 10 after
4487 "name": "accepted", 4531 "name": "accepted",
4488 "description": "Informs that port was successfully bound and got a specified connection id.", 4532 "description": "Informs that port was successfully bound and got a specified connection id.",
4489 "parameters": [ 4533 "parameters": [
4490 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 4534 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
4491 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 4535 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
4492 ] 4536 ]
4493 } 4537 }
4494 ] 4538 ]
4495 }] 4539 }]
4496 } 4540 }
OLDNEW
« no previous file with comments | « services/ui/ws/gpu_compositor_frame_sink.cc ('k') | ui/aura/mus/mus_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698