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

Side by Side Diff: native_client_sdk/src/doc/cds2014/cpp_summary.inc

Issue 731453002: Adding two codelabs for cds2014. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 6 years, 1 month 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
« no previous file with comments | « native_client_sdk/src/doc/cds2014/cpp.rst ('k') | native_client_sdk/src/doc/cds2014/index.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Learn the basics of using PPAPI to do 2D graphics from
2 a C++ program running in Native Client.
3 Modify our sample to turn fire into water.
4 Develop inside Google Chrome, using our NaCl Development Environment
5 Chrome App.
6 While this codelab currently targets conventional Native Client using our
7 GCC + GlibC based toolchain, the techniques involved are generally
8 applicable.
9
10 Requirements:
11 * An x86 (sorry no arm) Desktop / Laptop
12 Windows, Mac, Linux, or ChromeOS browser
13 |cpp_check|
14 * A fast broadband connection (500MB download)
15 * Can read and write C++
16
17 .. |cpp_check| raw:: html
18
19 <br/><span id="cpp_compat" style="color: #cccc00"
20 >Checking browser compatibility...</span><br/>
21 <i id="cpp_compat2"></i>
22 <script>
23 var tag = document.getElementById('cpp_compat');
24 var tag2 = document.getElementById('cpp_compat2');
25 if (!('application/x-nacl' in navigator.mimeTypes)) {
26 tag.innerHTML =
27 'This codelab does not appear to be supported by your browser.';
28 tag.style.color = '#cc0000';
29 tag2.innerHTML =
30 'You do not appear to be running a browser such as ' +
31 'Google Chrome which supports Native Client ' +
32 'or you have disabled Native Client.';
33 } else if (navigator.userAgent.search(' arm') >= 0) {
34 tag.innerHTML =
35 'This codelab does not appear to be supported by your browser.';
36 tag.style.color = '#cc0000';
37 tag2.innerHTML =
38 'You appear to be running on an ARM based CPU. ' +
39 'While Native Client does support ARM, ' +
40 "our developer environment's GCC + GlibC based toolchain " +
41 'does not, at this time. Sorry.';
42 } else {
43 tag.innerHTML = 'This codelab appears to be supported by your browser.';
44 tag.style.color = '#00cc00';
45 }
46 </script>
OLDNEW
« no previous file with comments | « native_client_sdk/src/doc/cds2014/cpp.rst ('k') | native_client_sdk/src/doc/cds2014/index.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698