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

Unified Diff: chrome/common/extensions/api/experimental_app.json

Issue 10828172: Allow platform apps to respond to Web Intents (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Ben' Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/experimental_app.json
diff --git a/chrome/common/extensions/api/experimental_app.json b/chrome/common/extensions/api/experimental_app.json
index 421056b2674201f1bbf52b2cc1845c55a58f60be..190d88141b05dd58000a65c2b91a7ccf0f8411ef 100644
--- a/chrome/common/extensions/api/experimental_app.json
+++ b/chrome/common/extensions/api/experimental_app.json
@@ -78,6 +78,32 @@
"parameters": []
}
]
+ },
+ {
+ "name": "postIntentResponse",
+ "type": "function",
+ "description": "Responds to an intent previously sent to a packaged app, identified by intentId. This should be invoked at most once for any intentId.",
+ "nodoc": true,
+ "parameters": [
+ {
+ "type": "object",
+ "name": "details",
+ "properties": {
+ "intentId": {
+ "type": "integer",
+ "optional": false
+ },
+ "success": {
+ "type": "boolean",
+ "optional": false
+ },
+ "data": {
+ "type": "any",
+ "optional": false
+ }
+ }
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698