Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 ########################## | 1 ########################## |
| 2 Frequently Asked Questions | 2 Frequently Asked Questions |
| 3 ########################## | 3 ########################## |
| 4 | 4 |
| 5 .. contents:: | 5 .. contents:: |
| 6 :local: | 6 :local: |
| 7 :backlinks: none | 7 :backlinks: none |
| 8 :depth: 2 | 8 :depth: 2 |
| 9 | 9 |
| 10 This document answers some frequently asked questions about Native | 10 This document answers some frequently asked questions about Native |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 495 | 495 |
| 496 * Code that does direct `TCP <pepper_stable/cpp/classpp_1_1_u_d_p_socket>`_ or | 496 * Code that does direct `TCP <pepper_stable/cpp/classpp_1_1_u_d_p_socket>`_ or |
| 497 `UDP <pepper_stable/cpp/classpp_1_1_u_d_p_socket>`_ networking. For security | 497 `UDP <pepper_stable/cpp/classpp_1_1_u_d_p_socket>`_ networking. For security |
| 498 reasons these APIs are only available to `packaged applications | 498 reasons these APIs are only available to `packaged applications |
| 499 </apps/about_apps>`_ after asking for the appropriate permissions, not on the | 499 </apps/about_apps>`_ after asking for the appropriate permissions, not on the |
| 500 open web. Native Client is otherwise restricted to the networking APIs | 500 open web. Native Client is otherwise restricted to the networking APIs |
| 501 available in the browser. You may want to use to `nacl_io library <nacl_io>`_ | 501 available in the browser. You may want to use to `nacl_io library <nacl_io>`_ |
| 502 to use POSIX-like sockets. | 502 to use POSIX-like sockets. |
| 503 * Code that creates processes, including UNIX ``fork``, won't function | 503 * Code that creates processes, including UNIX ``fork``, won't function |
| 504 as-is. However, threads are supported. You can nonetheless create new | 504 as-is. However, threads are supported. You can nonetheless create new |
| 505 ``<embed>`` tags in your HTML page to launch new PNaCl processes, even using | 505 ``<embed>`` tags in your HTML page to launch new PNaCl processes. You can even |
| 506 new ``.pexe`` files that your existing ``.pexe`` saved in a local | 506 use new ``.pexe`` files that your existing ``.pexe`` saved in a local |
|
binji
2015/02/09 21:28:46
I still feel like this sentence could be clearer.
| |
| 507 filesystem. This is somewhat akin to ``execve``, but the process management | 507 filesystem. This is somewhat akin to ``execve``, but the process management |
| 508 has to go through ``postMessage`` to JavaScript in order to create the new | 508 has to go through ``postMessage`` to JavaScript in order to create the new |
| 509 ``<embed>``. | 509 ``<embed>``. |
| 510 * Code that needs to do local file I/O. Native Client is restricted to accessing | 510 * Code that needs to do local file I/O. Native Client is restricted to accessing |
| 511 URLs and to local storage in the browser (the Pepper :doc:`File IO API | 511 URLs and to local storage in the browser (the Pepper :doc:`File IO API |
| 512 <devguide/coding/file-io>` has access to the same per-application storage that | 512 <devguide/coding/file-io>` has access to the same per-application storage that |
| 513 JavaScript has via Local Storage). HTML5 File System can be used, among | 513 JavaScript has via Local Storage). HTML5 File System can be used, among |
| 514 others. For POSIX compatabiliy the Native Client SDK includes a library called | 514 others. For POSIX compatabiliy the Native Client SDK includes a library called |
| 515 nacl_io which allows the application to interact with all these types of files | 515 nacl_io which allows the application to interact with all these types of files |
| 516 via standard POSIX I/O functions (e.g. ``open`` / ``fopen`` / ``read`` / | 516 via standard POSIX I/O functions (e.g. ``open`` / ``fopen`` / ``read`` / |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 588 .. _Rust: http://www.rust-lang.org/ | 588 .. _Rust: http://www.rust-lang.org/ |
| 589 .. _Go: https://golang.org | 589 .. _Go: https://golang.org |
| 590 .. _native-client-discuss: https://groups.google.com/group/native-client-discuss | 590 .. _native-client-discuss: https://groups.google.com/group/native-client-discuss |
| 591 .. _deprecated in Chrome: http://blog.chromium.org/2013/09/saying-goodbye-to-our -old-friend-npapi.html | 591 .. _deprecated in Chrome: http://blog.chromium.org/2013/09/saying-goodbye-to-our -old-friend-npapi.html |
| 592 .. _OpenGL ES 2.0: https://www.khronos.org/opengles/ | 592 .. _OpenGL ES 2.0: https://www.khronos.org/opengles/ |
| 593 .. _GLES2 file: https://code.google.com/p/chromium/codesearch#chromium/src/ppapi /lib/gl/gles2/gles2.c | 593 .. _GLES2 file: https://code.google.com/p/chromium/codesearch#chromium/src/ppapi /lib/gl/gles2/gles2.c |
| 594 .. _Google Chrome privacy policy: https://www.google.com/chrome/intl/en/privacy. html | 594 .. _Google Chrome privacy policy: https://www.google.com/chrome/intl/en/privacy. html |
| 595 .. _Google Chrome Terms of Service: https://www.google.com/chrome/intl/en/eula_t ext.html | 595 .. _Google Chrome Terms of Service: https://www.google.com/chrome/intl/en/eula_t ext.html |
| 596 .. _naclports: https://code.google.com/p/naclports | 596 .. _naclports: https://code.google.com/p/naclports |
| 597 .. _CORS: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing | 597 .. _CORS: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing |
| OLD | NEW |