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

Side by Side Diff: chrome/common/extensions/docs/templates/articles/manifest/externally_connectable.html

Issue 219213007: Remove .html extension from links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 <h1>externally_connectable</h1> 1 <h1>externally_connectable</h1>
2 2
3 <p> 3 <p>
4 The <code>externally_connectable</code> manifest property declares which extensi ons, apps, and web pages can connect to your {{platform}} via <a href="../runtim e.html#method-connect">runtime.connect</a> and <a href="../runtime.html#method-s endMessage">runtime.sendMessage</a>. 4 The <code>externally_connectable</code> manifest property declares which extensi ons, apps, and web pages can connect to your {{platform}} via <a href="../runtim e#method-connect">runtime.connect</a> and <a href="../runtime#method-sendMessage ">runtime.sendMessage</a>.
5 </p> 5 </p>
6 6
7 <p> 7 <p>
8 For a tutorial on message passing see <a href="../messaging.html#external">cross -extension and app messaging</a> and <a href="../messaging.html#external-webpage ">sending messages from web pages</a>. 8 For a tutorial on message passing see <a href="../messaging#external">cross-exte nsion and app messaging</a> and <a href="../messaging#external-webpage">sending messages from web pages</a>.
9 </p> 9 </p>
10 10
11 <h2 id="without-externally-connectable">Connecting without externally_connectabl e</h2> 11 <h2 id="without-externally-connectable">Connecting without externally_connectabl e</h2>
12 12
13 <p> 13 <p>
14 If <code>externally_connectable</code> is not declared in your {{platform}}'s ma nifest, all extensions and apps can connect, but no webpages can connect. As a c onsequence, when updating your manifest to use <code>externally_connectable</cod e>, if <code>"ids": ["*"]</code> is not specified then other extensions and apps will lose the ability to connect to your {{platform}}. This may be an unintende d consequence, so keep it in mind. 14 If <code>externally_connectable</code> is not declared in your {{platform}}'s ma nifest, all extensions and apps can connect, but no webpages can connect. As a c onsequence, when updating your manifest to use <code>externally_connectable</cod e>, if <code>"ids": ["*"]</code> is not specified then other extensions and apps will lose the ability to connect to your {{platform}}. This may be an unintende d consequence, so keep it in mind.
15 </p> 15 </p>
16 16
17 <h2 id="manifest">Sample manifest.json</h2> 17 <h2 id="manifest">Sample manifest.json</h2>
18 <pre data-filename="manifest.json"> 18 <pre data-filename="manifest.json">
(...skipping 24 matching lines...) Expand all
43 "accepts_tls_channel_id": false 43 "accepts_tls_channel_id": false
44 }, 44 },
45 ... 45 ...
46 } 46 }
47 </pre> 47 </pre>
48 48
49 <h2 id="reference">Reference</h2> 49 <h2 id="reference">Reference</h2>
50 <p class="api_reference"> 50 <p class="api_reference">
51 {{+partials.type type:apis.extensionsManifestTypes.byName.ExternallyConnectable/ }} 51 {{+partials.type type:apis.extensionsManifestTypes.byName.ExternallyConnectable/ }}
52 </p> 52 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698