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

Side by Side Diff: native_client_sdk/doc_generated/devguide/coding/native-client-modules.html

Issue 2875303003: Add migration to WebAssembly information to PNaCl / NaCl docs. (Closed)
Patch Set: fix Created 3 years, 6 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 {{+bindTo:partials.standard_nacl_article}} 1 {{+bindTo:partials.standard_nacl_article}}
2 2
3 <section id="native-client-modules"> 3 <b><font color="#cc0000">
4 <span id="devcycle-native-client-modules"></span><h1 id="native-client-modules"> <span id="devcycle-native-client-modules"></span>Native Client Modules</h1> 4 NOTE:
5 Deprecation of the technologies described here has been announced
6 for platforms other than ChromeOS.<br/>
7 Please visit our
8 <a href="/native-client/migration">migration guide</a>
9 for details.
10 </font></b>
11 <hr/><section id="native-client-modules">
12 <h1 id="native-client-modules">Native Client Modules</h1>
5 <p>This document describes the classes and functions that you need to implement in 13 <p>This document describes the classes and functions that you need to implement in
6 a Native Client module in order for Chrome to load, initialize, and run it. The 14 a Native Client module in order for Chrome to load, initialize, and run it. The
7 requirements are the same regardless of whether or not the module uses PNaCl, 15 requirements are the same regardless of whether or not the module uses PNaCl,
8 but depend on whether the module is written in C or C++.</p> 16 but depend on whether the module is written in C or C++.</p>
9 <div class="contents local" id="contents" style="display: none"> 17 <div class="contents local" id="contents" style="display: none">
10 <ul class="small-gap"> 18 <ul class="small-gap">
11 <li><a class="reference internal" href="#introduction" id="id2">Introduction</a> </li> 19 <li><a class="reference internal" href="#introduction" id="id2">Introduction</a> </li>
12 <li><a class="reference internal" href="#writing-modules-in-c" id="id3">Writing modules in C</a></li> 20 <li><a class="reference internal" href="#writing-modules-in-c" id="id3">Writing modules in C</a></li>
13 <li><a class="reference internal" href="#id1" id="id4">Writing modules in C++</a ></li> 21 <li><a class="reference internal" href="#id1" id="id4">Writing modules in C++</a ></li>
14 </ul> 22 </ul>
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 <a class="reference internal" href="/native-client/devguide/coding/message-syste m.html"><em>Native Client messaging system</em></a> for more information about 174 <a class="reference internal" href="/native-client/devguide/coding/message-syste m.html"><em>Native Client messaging system</em></a> for more information about
167 how to send messages between JavaScript code and Native Client modules.</p> 175 how to send messages between JavaScript code and Native Client modules.</p>
168 <p>While the <code>CreateModule()</code> factory function, the <code>Module</cod e> class, and the 176 <p>While the <code>CreateModule()</code> factory function, the <code>Module</cod e> class, and the
169 <code>Instance</code> class are required for a Native Client application, the co de 177 <code>Instance</code> class are required for a Native Client application, the co de
170 samples shown above don&#8217;t actually do anything. Subsequent documents in th e 178 samples shown above don&#8217;t actually do anything. Subsequent documents in th e
171 Developer&#8217;s Guide build on these code samples and add more interesting 179 Developer&#8217;s Guide build on these code samples and add more interesting
172 functionality.</p> 180 functionality.</p>
173 </section> 181 </section>
174 182
175 {{/partials.standard_nacl_article}} 183 {{/partials.standard_nacl_article}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698