OLD | NEW |
1 {{+bindTo:partials.standard_nacl_article}} | 1 {{+bindTo:partials.standard_nacl_article}} |
2 | 2 |
3 <section id="distributing-your-application"> | 3 <section id="distributing-your-application"> |
4 <span id="distributing"></span><h1 id="distributing-your-application"><span id="
distributing"></span>Distributing Your Application</h1> | 4 <span id="distributing"></span><h1 id="distributing-your-application"><span id="
distributing"></span>Distributing Your Application</h1> |
5 <div class="contents local topic" id="contents"> | 5 <div class="contents local" id="contents" style="display: none"> |
6 <ul class="small-gap"> | 6 <ul class="small-gap"> |
7 <li><a class="reference internal" href="#portable-native-client" id="id1">Portab
le Native Client</a></li> | 7 <li><a class="reference internal" href="#portable-native-client" id="id1">Portab
le Native Client</a></li> |
8 <li><p class="first"><a class="reference internal" href="#non-portable-native-cl
ient" id="id2">Non-portable Native Client</a></p> | 8 <li><p class="first"><a class="reference internal" href="#non-portable-native-cl
ient" id="id2">Non-portable Native Client</a></p> |
9 <ul class="small-gap"> | 9 <ul class="small-gap"> |
10 <li><a class="reference internal" href="#packaged-application" id="id3">Packaged
application</a></li> | 10 <li><a class="reference internal" href="#packaged-application" id="id3">Packaged
application</a></li> |
11 <li><a class="reference internal" href="#extension" id="id4">Extension</a></li> | 11 <li><a class="reference internal" href="#extension" id="id4">Extension</a></li> |
12 <li><a class="reference internal" href="#hosted-application" id="id5">Hosted app
lication</a></li> | 12 <li><a class="reference internal" href="#hosted-application" id="id5">Hosted app
lication</a></li> |
13 <li><a class="reference internal" href="#registering-native-client-modules-to-ha
ndle-mime-types" id="id6">Registering Native Client modules to handle MIME types
</a></li> | 13 <li><a class="reference internal" href="#registering-native-client-modules-to-ha
ndle-mime-types" id="id6">Registering Native Client modules to handle MIME types
</a></li> |
14 </ul> | 14 </ul> |
15 </li> | 15 </li> |
16 </ul> | 16 </ul> |
17 </div> | 17 |
18 <p>This document describes how to distribute Portable Native Client applications | 18 </div><p>This document describes how to distribute Portable Native Client applic
ations |
19 on the web, and Native Client applications through the | 19 on the web, and Native Client applications through the |
20 <a class="reference external" href="/chrome/web-store/docs/">Chrome Web Store</a
> (CWS).</p> | 20 <a class="reference external" href="/chrome/web-store/docs/">Chrome Web Store</a
> (CWS).</p> |
21 <section id="portable-native-client"> | 21 <section id="portable-native-client"> |
22 <h2 id="portable-native-client">Portable Native Client</h2> | 22 <h2 id="portable-native-client">Portable Native Client</h2> |
23 <p>Portable Native Client is enabled by default for web pages, so no separate | 23 <p>Portable Native Client is enabled by default for web pages, so no separate |
24 distribution step is requred. Making PNaCl a part of your web application is as | 24 distribution step is requred. Making PNaCl a part of your web application is as |
25 simple as embedding a manifest file that points to a <strong>pexe</strong>. See
the | 25 simple as embedding a manifest file that points to a <strong>pexe</strong>. See
the |
26 <a class="reference internal" href="/native-client/overview.html"><em>technical
overview</em></a> for more details.</p> | 26 <a class="reference internal" href="/native-client/overview.html"><em>technical
overview</em></a> for more details.</p> |
27 <img alt="/native-client/images/nacl-in-a-web-app.png" src="/native-client/image
s/nacl-in-a-web-app.png" /> | 27 <img alt="/native-client/images/nacl-in-a-web-app.png" src="/native-client/image
s/nacl-in-a-web-app.png" /> |
28 <p>The only constraint for distributing PNaCl modules with a web application is | 28 <p>The only constraint for distributing PNaCl modules with a web application is |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 "mime_type": "application/vnd.oasis.opendocument.text" | 320 "mime_type": "application/vnd.oasis.opendocument.text" |
321 }] | 321 }] |
322 } | 322 } |
323 </pre> | 323 </pre> |
324 <p>The <code>nacl_modules</code> attribute is optional—specify this attrib
ute only if | 324 <p>The <code>nacl_modules</code> attribute is optional—specify this attrib
ute only if |
325 you want Chrome to use a Native Client module to display a particular type of | 325 you want Chrome to use a Native Client module to display a particular type of |
326 content.</p> | 326 content.</p> |
327 </section></section></section> | 327 </section></section></section> |
328 | 328 |
329 {{/partials.standard_nacl_article}} | 329 {{/partials.standard_nacl_article}} |
OLD | NEW |