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

Side by Side Diff: chrome/common/extensions/api/experimental_app.json

Issue 10332071: Pass command line arguments onto platform apps which provide the right intent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Windows tests fixed Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "parameters": [] 76 "parameters": []
77 } 77 }
78 ] 78 ]
79 } 79 }
80 ], 80 ],
81 "events": [ 81 "events": [
82 { 82 {
83 "nodoc": true, 83 "nodoc": true,
84 "name": "onLaunched", 84 "name": "onLaunched",
85 "type": "function", 85 "type": "function",
86 "description": "Fired when the app is launched." 86 "description": "Fired when the app is launched.",
87 "parameters": [
88 {
89 "type": "object",
90 "name": "launchData",
91 "description": "Optional data for the launch.",
92 "optional": true,
93 "properties": {
94 "intent": {
95 "type": "object",
96 "description": "File being opened in the form of a WebIntents in tent object.",
97 "properties": {
98 "action": {
99 "type": "string",
100 "description": "The WebIntent being invoked."
101 },
102 "type": {
103 "type": "string",
104 "description": "The MIME type of the file being opened."
105 },
106 "data": {
107 "type": "object",
108 "isInstanceOf": "FileEntry",
109 "description": "A FileEntry for the file being opened.",
110 "additionalProperties": {
111 "type": "any"
112 }
113 },
114 "postResult": {
115 "type": "function",
116 "description": "Null callback to be compatible with WebInten ts."
117 },
118 "postFailure": {
119 "type": "function",
120 "description": "Null callback to be compatible with WebInten ts."
121 }
122 }
123 }
124 }
125 }
126 ]
87 } 127 }
88 ] 128 ]
89 } 129 }
90 ] 130 ]
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698