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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace":"experimental.app", 7 "namespace":"experimental.app",
8 "functions": [ 8 "functions": [
9 { 9 {
10 "name": "notify", 10 "name": "notify",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 }, 72 },
73 { 73 {
74 "type": "function", 74 "type": "function",
75 "name": "callback", 75 "name": "callback",
76 "optional": true, 76 "optional": true,
77 "description": "A callback when the function is complete. Any errors will be reported in <a href='extension.html#property-lastError'>chrome.extensio n.lastError</a>.", 77 "description": "A callback when the function is complete. Any errors will be reported in <a href='extension.html#property-lastError'>chrome.extensio n.lastError</a>.",
78 "parameters": [] 78 "parameters": []
79 } 79 }
80 ] 80 ]
81 },
82 {
83 "name": "postIntentResponse",
84 "type": "function",
85 "description": "Responds to an intent previously sent to a packaged app, identified by intentId. This should be invoked at most once for any intentId.",
86 "nodoc": true,
87 "parameters": [
88 {
89 "type": "object",
90 "name": "details",
91 "properties": {
92 "intentId": {
93 "type": "integer",
94 "optional": false
95 },
96 "success": {
97 "type": "boolean",
98 "optional": false
99 },
100 "data": {
101 "type": "any",
102 "optional": false
103 }
104 }
105 }
106 ]
81 } 107 }
82 ], 108 ],
83 "events": [ 109 "events": [
84 { 110 {
85 "name": "onLaunched", 111 "name": "onLaunched",
86 "type": "function", 112 "type": "function",
87 "description": "Fired when the app is launched.", 113 "description": "Fired when the app is launched.",
88 "parameters": [ 114 "parameters": [
89 { 115 {
90 "type": "object", 116 "type": "object",
(...skipping 27 matching lines...) Expand all
118 } 144 }
119 } 145 }
120 } 146 }
121 } 147 }
122 } 148 }
123 ] 149 ]
124 } 150 }
125 ] 151 ]
126 } 152 }
127 ] 153 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698