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

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

Issue 1220643002: Revert of [DevTools] Implement screen orientation override. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 4631 matching lines...) Expand 10 before | Expand all | Expand 10 after
4642 { "name": "gamma", "type": "number", "description": "Mock ga mma"} 4642 { "name": "gamma", "type": "number", "description": "Mock ga mma"}
4643 ] 4643 ]
4644 }, 4644 },
4645 { 4645 {
4646 "name": "clearDeviceOrientationOverride", 4646 "name": "clearDeviceOrientationOverride",
4647 "description": "Clears the overridden Device Orientation." 4647 "description": "Clears the overridden Device Orientation."
4648 } 4648 }
4649 ] 4649 ]
4650 }, 4650 },
4651 { 4651 {
4652 "domain": "ScreenOrientation",
4653 "hidden": true,
4654 "types": [
4655 {
4656 "id": "OrientationType",
4657 "type": "string",
4658 "enum": ["portraitPrimary", "portraitSecondary", "landscapePrima ry", "landscapeSecondary"],
4659 "description": "Orientation type"
4660 }
4661 ],
4662 "commands": [
4663 {
4664 "name": "setScreenOrientationOverride",
4665 "description": "Overrides the Screen Orientation.",
4666 "parameters": [
4667 { "name": "angle", "type": "integer", "description": "Orient ation angle" },
4668 { "name": "type", "$ref": "OrientationType", "description": "Orientation type" }
4669 ]
4670 },
4671 {
4672 "name": "clearScreenOrientationOverride",
4673 "description": "Clears the overridden Screen Orientation."
4674 }
4675 ]
4676 },
4677 {
4678 "domain": "Tracing", 4652 "domain": "Tracing",
4679 "commands": [ 4653 "commands": [
4680 { 4654 {
4681 "name": "start", 4655 "name": "start",
4682 "async": true, 4656 "async": true,
4683 "description": "Start trace events collection.", 4657 "description": "Start trace events collection.",
4684 "parameters": [ 4658 "parameters": [
4685 { "name": "categories", "type": "string", "optional": true, "description": "Category/tag filter" }, 4659 { "name": "categories", "type": "string", "optional": true, "description": "Category/tag filter" },
4686 { "name": "options", "type": "string", "optional": true, "de scription": "Tracing options" }, 4660 { "name": "options", "type": "string", "optional": true, "de scription": "Tracing options" },
4687 { "name": "bufferUsageReportingInterval", "type": "number", "optional": true, "description": "If set, the agent will issue bufferUsage event s at this interval, specified in milliseconds" } 4661 { "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
5074 "description": "The security state of the page changed.", 5048 "description": "The security state of the page changed.",
5075 "parameters": [ 5049 "parameters": [
5076 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, 5050 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." },
5077 { "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 { "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 }
5078 ], 5052 ],
5079 "handlers": ["browser"] 5053 "handlers": ["browser"]
5080 } 5054 }
5081 ] 5055 ]
5082 }] 5056 }]
5083 } 5057 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/emulation/ResponsiveDesignView.js ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698