Chromium Code Reviews| Index: chrome/common/extensions/docs/templates/articles/manifest/action_handlers.html |
| diff --git a/chrome/common/extensions/docs/templates/articles/manifest/action_handlers.html b/chrome/common/extensions/docs/templates/articles/manifest/action_handlers.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f62379d2655519506dd78156a94d2e6b6f22e053 |
| --- /dev/null |
| +++ b/chrome/common/extensions/docs/templates/articles/manifest/action_handlers.html |
| @@ -0,0 +1,22 @@ |
| +<h1>Manifest - Action Handlers</h1> |
| + |
| +<p> |
| +The <code>action_handlers</code> manifest property declares which user actions |
| +or intents that the application supports. An action is essentially an |
|
Daniel Erat
2017/01/12 23:55:03
nit: either "declares user actions or intents that
jdufault
2017/01/14 00:30:42
Done.
|
| +alternative launch point. |
| +</p> |
| + |
| +<p> |
| +This list contains any of the <code>ActionType</code> values; see the |
| +<code>actionData</code> entry inside of |
| +<a href="../app_runtime#event-onLaunched">app.runtime.onLaunched</a>. |
| +</p> |
| + |
| +<h2 id="manifest">Sample manifest.json</h2> |
| +<pre data-filename="manifest.json"> |
| +{ |
| + "name": "My note {{platform}}", |
| + "action_handlers": ["new_note"], |
| + ... |
| +} |
| +</pre> |