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

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: Added WebIntentCallbacks profile keyed class to manage callbacks 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": "stuff",
koz (OOO until 15th September) 2012/08/08 04:47:30 Remove or make meaningful.
thorogood 2012/08/08 07:15:49 meaningful :)
86 "nodoc": true,
87 "parameters": [
88 {
89 "type": "object",
90 "name": "details",
91 "properties": {
92 "intentId": {
93 "type": "string",
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 // TODO(koz): Add MessageChannel parameters.
107 ]
81 } 108 }
82 ], 109 ],
83 "events": [ 110 "events": [
84 { 111 {
85 "name": "onLaunched", 112 "name": "onLaunched",
86 "type": "function", 113 "type": "function",
87 "description": "Fired when the app is launched.", 114 "description": "Fired when the app is launched.",
88 "parameters": [ 115 "parameters": [
89 { 116 {
90 "type": "object", 117 "type": "object",
(...skipping 27 matching lines...) Expand all
118 } 145 }
119 } 146 }
120 } 147 }
121 } 148 }
122 } 149 }
123 ] 150 ]
124 } 151 }
125 ] 152 ]
126 } 153 }
127 ] 154 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698