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

Side by Side Diff: native_client_sdk/src/doc/devguide/coding/native-client-modules.rst

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 .. _devcycle-native-client-modules: 1 .. _devcycle-native-client-modules:
2 2
3 .. include:: /migration/deprecation.inc
4
3 ##################### 5 #####################
4 Native Client Modules 6 Native Client Modules
5 ##################### 7 #####################
6 8
7 This document describes the classes and functions that you need to implement in 9 This document describes the classes and functions that you need to implement in
8 a Native Client module in order for Chrome to load, initialize, and run it. The 10 a Native Client module in order for Chrome to load, initialize, and run it. The
9 requirements are the same regardless of whether or not the module uses PNaCl, 11 requirements are the same regardless of whether or not the module uses PNaCl,
10 but depend on whether the module is written in C or C++. 12 but depend on whether the module is written in C or C++.
11 13
12 .. contents:: 14 .. contents::
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 instance's ``HandleMessage()`` function every time the JavaScript code in an 190 instance's ``HandleMessage()`` function every time the JavaScript code in an
189 application calls ``postMessage()`` to send a message to the instance. See the 191 application calls ``postMessage()`` to send a message to the instance. See the
190 :doc:`Native Client messaging system<message-system>` for more information about 192 :doc:`Native Client messaging system<message-system>` for more information about
191 how to send messages between JavaScript code and Native Client modules. 193 how to send messages between JavaScript code and Native Client modules.
192 194
193 While the ``CreateModule()`` factory function, the ``Module`` class, and the 195 While the ``CreateModule()`` factory function, the ``Module`` class, and the
194 ``Instance`` class are required for a Native Client application, the code 196 ``Instance`` class are required for a Native Client application, the code
195 samples shown above don't actually do anything. Subsequent documents in the 197 samples shown above don't actually do anything. Subsequent documents in the
196 Developer's Guide build on these code samples and add more interesting 198 Developer's Guide build on these code samples and add more interesting
197 functionality. 199 functionality.
OLDNEW
« no previous file with comments | « native_client_sdk/src/doc/devguide/coding/nacl_io.rst ('k') | native_client_sdk/src/doc/devguide/coding/progress-events.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698