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

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: Hooked up observing of source WebContents 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..348429801b0aee7f15b88ac45bd7be795d016daa 100644
--- a/chrome/common/extensions/api/experimental_app.json
+++ b/chrome/common/extensions/api/experimental_app.json
@@ -78,6 +78,33 @@
"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
+ }
+ }
+ }
+ // TODO(koz): Add MessageChannel parameters.
benwells 2012/08/13 08:27:29 Is this meant to be TODO(koz)? Until this is clear
thorogood 2012/08/14 02:59:08 I've removed the TODO, but I think I need to inves
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698