Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <h1>Manifest - Action Handlers</h1> | |
| 2 | |
| 3 <p> | |
| 4 The <code>action_handlers</code> manifest property declares which user actions | |
| 5 or intents the application supports. An action is essentially an alternative | |
|
Devlin
2017/01/30 21:20:00
nit: maybe
"...which user actions or intents the a
jdufault
2017/02/03 20:29:43
Done.
| |
| 6 launch point. | |
|
Devlin
2017/01/30 21:19:59
Maybe call out "This API is only available on Chro
jdufault
2017/02/03 20:29:43
Done.
| |
| 7 </p> | |
| 8 | |
| 9 <p> | |
| 10 This list contains any of the <code>ActionType</code> values; see the | |
|
Devlin
2017/01/30 21:19:59
nit: maybe
"This list contains one or more of the
jdufault
2017/02/03 20:29:43
Done.
| |
| 11 <code>actionData</code> entry inside of | |
| 12 <a href="../app_runtime#event-onLaunched">app.runtime.onLaunched</a>. | |
| 13 </p> | |
| 14 | |
| 15 <h2 id="manifest">Sample manifest.json</h2> | |
| 16 <pre data-filename="manifest.json"> | |
| 17 { | |
| 18 "name": "My note {{platform}}", | |
| 19 "action_handlers": ["new_note"], | |
| 20 ... | |
| 21 } | |
| 22 </pre> | |
| OLD | NEW |