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

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

Issue 2185033002: Emulation.setVirtualTimePolicy to have an optional virtual time budge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename parameter Created 4 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
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 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 { 805 {
806 "name": "canEmulate", 806 "name": "canEmulate",
807 "description": "Tells whether emulation is supported.", 807 "description": "Tells whether emulation is supported.",
808 "returns": [ 808 "returns": [
809 { "name": "result", "type": "boolean", "description": "True if emulation is supported." } 809 { "name": "result", "type": "boolean", "description": "True if emulation is supported." }
810 ], 810 ],
811 "handlers": ["browser"] 811 "handlers": ["browser"]
812 }, 812 },
813 { 813 {
814 "name": "setVirtualTimePolicy", 814 "name": "setVirtualTimePolicy",
815 "description": "Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy .", 815 "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.",
816 "parameters": [ 816 "parameters": [
817 { "name": "policy", "$ref": "VirtualTimePolicy" } 817 { "name": "policy", "$ref": "VirtualTimePolicy" },
818 { "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." }
818 ], 819 ],
819 "hidden": true 820 "hidden": true
820 } 821 }
822 ],
823 "events": [
824 {
825 "name": "virtualTimeBudgetExpired",
826 "description": "Notification sent after the virual time budget f or the current VirtualTimePolicy has run out."
827 }
821 ] 828 ]
822 }, 829 },
823 { 830 {
824 "domain": "Security", 831 "domain": "Security",
825 "description": "Security", 832 "description": "Security",
826 "hidden": true, 833 "hidden": true,
827 "types": [ 834 "types": [
828 { 835 {
829 "id": "CertificateId", 836 "id": "CertificateId",
830 "type": "integer", 837 "type": "integer",
(...skipping 3630 matching lines...) Expand 10 before | Expand all | Expand 10 after
4461 "description": "Informs that port was successfully bound and got a specified connection id.", 4468 "description": "Informs that port was successfully bound and got a specified connection id.",
4462 "parameters": [ 4469 "parameters": [
4463 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 4470 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
4464 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 4471 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
4465 ], 4472 ],
4466 "handlers": ["browser"] 4473 "handlers": ["browser"]
4467 } 4474 }
4468 ] 4475 ]
4469 }] 4476 }]
4470 } 4477 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698