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

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

Issue 1195793008: [DevTools] Implement screen orientation override. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
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 4630 matching lines...) Expand 10 before | Expand all | Expand 10 after
4641 { "name": "gamma", "type": "number", "description": "Mock ga mma"} 4641 { "name": "gamma", "type": "number", "description": "Mock ga mma"}
4642 ] 4642 ]
4643 }, 4643 },
4644 { 4644 {
4645 "name": "clearDeviceOrientationOverride", 4645 "name": "clearDeviceOrientationOverride",
4646 "description": "Clears the overridden Device Orientation." 4646 "description": "Clears the overridden Device Orientation."
4647 } 4647 }
4648 ] 4648 ]
4649 }, 4649 },
4650 { 4650 {
4651 "domain": "ScreenOrientation",
4652 "hidden": true,
4653 "types": [
4654 {
4655 "id": "OrientationType",
4656 "type": "string",
4657 "enum": ["portraitPrimary", "portraitSecondary", "landscapePrima ry", "landscapeSecondary"],
4658 "description": "Orientation type"
4659 }
4660 ],
4661 "commands": [
4662 {
4663 "name": "setScreenOrientationOverride",
4664 "description": "Overrides the Screen Orientation.",
4665 "parameters": [
4666 { "name": "angle", "type": "integer", "description": "Orient ation angle" },
4667 { "name": "type", "$ref": "OrientationType", "description": "Orientation type" }
4668 ]
4669 },
4670 {
4671 "name": "clearScreenOrientationOverride",
4672 "description": "Clears the overridden Screen Orientation."
4673 }
4674 ]
4675 },
4676 {
4651 "domain": "Tracing", 4677 "domain": "Tracing",
4652 "commands": [ 4678 "commands": [
4653 { 4679 {
4654 "name": "start", 4680 "name": "start",
4655 "async": true, 4681 "async": true,
4656 "description": "Start trace events collection.", 4682 "description": "Start trace events collection.",
4657 "parameters": [ 4683 "parameters": [
4658 { "name": "categories", "type": "string", "optional": true, "description": "Category/tag filter" }, 4684 { "name": "categories", "type": "string", "optional": true, "description": "Category/tag filter" },
4659 { "name": "options", "type": "string", "optional": true, "de scription": "Tracing options" }, 4685 { "name": "options", "type": "string", "optional": true, "de scription": "Tracing options" },
4660 { "name": "bufferUsageReportingInterval", "type": "number", "optional": true, "description": "If set, the agent will issue bufferUsage event s at this interval, specified in milliseconds" } 4686 { "name": "bufferUsageReportingInterval", "type": "number", "optional": true, "description": "If set, the agent will issue bufferUsage event s at this interval, specified in milliseconds" }
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
5047 "description": "The security state of the page changed.", 5073 "description": "The security state of the page changed.",
5048 "parameters": [ 5074 "parameters": [
5049 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, 5075 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." },
5050 { "name": "explanations", "type": "array", "items": { "$ref" : "SecurityStateExplanation" }, "description": "List of explanations for the sec urity state. If the overall security state is `insecure` or `warning`, at least one corresponding explanation should be included.", "optional": true } 5076 { "name": "explanations", "type": "array", "items": { "$ref" : "SecurityStateExplanation" }, "description": "List of explanations for the sec urity state. If the overall security state is `insecure` or `warning`, at least one corresponding explanation should be included.", "optional": true }
5051 ], 5077 ],
5052 "handlers": ["browser"] 5078 "handlers": ["browser"]
5053 } 5079 }
5054 ] 5080 ]
5055 }] 5081 }]
5056 } 5082 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698