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

Unified Diff: chrome/common/extensions/docs/templates/articles/manifest/action_handlers.html

Issue 2618493002: Chrome app manifest support for action handlers. (Closed)
Patch Set: Rebase Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698