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

Unified Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1932623003: DevTools: Introduce Page.getManifest remote debugging protocol method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: browser test updated Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/push_messaging/push_messaging_dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/protocol.json
diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json
index 6d3e88e58ed627cf7b0f8ddef7cf29c2db1b0d5d..83a741f61cf9a894ef0ea5d54a4b7ea90e2d748f 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -143,7 +143,7 @@
{
"id": "ScreencastFrameMetadata",
"type": "object",
- "description": "Screencast frame metadata",
+ "description": "Screencast frame metadata.",
"properties": [
{ "name": "offsetTop", "type": "number", "hidden": true, "description": "Top offset in DIP." },
{ "name": "pageScaleFactor", "type": "number", "hidden": true, "description": "Page scale factor." },
@@ -157,10 +157,22 @@
},
{
"id": "DialogType",
- "description": "Javascript dialog type",
+ "description": "Javascript dialog type.",
"type": "string",
"enum": ["alert", "confirm", "prompt", "beforeunload"],
"hidden": true
+ },
+ {
+ "id": "AppManifestError",
+ "description": "Error while paring app manifest.",
+ "type": "object",
+ "properties": [
+ { "name": "message", "type": "string", "description": "Error message." },
+ { "name": "critical", "type": "integer", "description": "If criticial, this is a non-recoverable parse error." },
+ { "name": "line", "type": "integer", "description": "Error line." },
+ { "name": "column", "type": "integer", "description": "Error column." }
+ ],
+ "hidden": true
}
],
"commands": [
@@ -448,6 +460,15 @@
"description": "Sets overlay message."
},
{
+ "name": "getAppManifest",
+ "hidden": true,
+ "returns": [
+ { "name": "data", "type": "string", "optional": true, "description": "Manifest content." },
+ { "name": "errors", "type": "array", "items": { "$ref": "AppManifestError" } }
+ ],
+ "handlers": ["none"]
+ },
+ {
"name": "requestAppBanner",
"hidden": true,
"handlers": ["browser"]
« no previous file with comments | « content/renderer/push_messaging/push_messaging_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698