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

Side by Side Diff: native_client_sdk/doc_generated/devguide/tutorial/tutorial-part2.html

Issue 146203002: [NaCl SDK Docs] Remove table-of-contents from generated pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add .gitignore for .buildinfo Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 {{+bindTo:partials.standard_nacl_article}} 1 {{+bindTo:partials.standard_nacl_article}}
2 2
3 <section id="c-tutorial-getting-started-part-2"> 3 <section id="c-tutorial-getting-started-part-2">
4 <span id="tutorial2"></span><h1 id="c-tutorial-getting-started-part-2"><span id= "tutorial2"></span>C++ Tutorial: Getting Started (Part 2)</h1> 4 <span id="tutorial2"></span><h1 id="c-tutorial-getting-started-part-2"><span id= "tutorial2"></span>C++ Tutorial: Getting Started (Part 2)</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="#overview" id="id1">Overview</a></li> 7 <li><a class="reference internal" href="#overview" id="id1">Overview</a></li>
8 <li><p class="first"><a class="reference internal" href="#using-the-native-clien t-sdk-build-system" id="id2">Using the Native Client SDK build system</a></p> 8 <li><p class="first"><a class="reference internal" href="#using-the-native-clien t-sdk-build-system" id="id2">Using the Native Client SDK build system</a></p>
9 <ul class="small-gap"> 9 <ul class="small-gap">
10 <li><a class="reference internal" href="#simplifying-the-makefile" id="id3">Simp lifying the Makefile</a></li> 10 <li><a class="reference internal" href="#simplifying-the-makefile" id="id3">Simp lifying the Makefile</a></li>
11 <li><a class="reference internal" href="#choosing-valid-toolchains-and-including -common-mk" id="id4">Choosing valid toolchains, and including common.mk</a></li> 11 <li><a class="reference internal" href="#choosing-valid-toolchains-and-including -common-mk" id="id4">Choosing valid toolchains, and including common.mk</a></li>
12 <li><a class="reference internal" href="#configuring-your-project" id="id5">Conf iguring your project</a></li> 12 <li><a class="reference internal" href="#configuring-your-project" id="id5">Conf iguring your project</a></li>
13 <li><a class="reference internal" href="#build-macros" id="id6">Build macros</a> </li> 13 <li><a class="reference internal" href="#build-macros" id="id6">Build macros</a> </li>
14 </ul> 14 </ul>
15 </li> 15 </li>
16 <li><p class="first"><a class="reference internal" href="#making-index-html-work -for-chrome-apps" id="id7">Making index.html work for Chrome Apps</a></p> 16 <li><p class="first"><a class="reference internal" href="#making-index-html-work -for-chrome-apps" id="id7">Making index.html work for Chrome Apps</a></p>
17 <ul class="small-gap"> 17 <ul class="small-gap">
18 <li><a class="reference internal" href="#csp-rules" id="id8">CSP rules</a></li> 18 <li><a class="reference internal" href="#csp-rules" id="id8">CSP rules</a></li>
19 <li><a class="reference internal" href="#making-index-html-csp-compliant" id="id 9">Making index.html CSP-compliant</a></li> 19 <li><a class="reference internal" href="#making-index-html-csp-compliant" id="id 9">Making index.html CSP-compliant</a></li>
20 <li><a class="reference internal" href="#making-index-html-support-different-too lchains-and-configurations" id="id10">Making index.html support different toolch ains and configurations</a></li> 20 <li><a class="reference internal" href="#making-index-html-support-different-too lchains-and-configurations" id="id10">Making index.html support different toolch ains and configurations</a></li>
21 </ul> 21 </ul>
22 </li> 22 </li>
23 <li><p class="first"><a class="reference internal" href="#sharing-common-code-wi th-common-js" id="id11">Sharing common code with common.js</a></p> 23 <li><p class="first"><a class="reference internal" href="#sharing-common-code-wi th-common-js" id="id11">Sharing common code with common.js</a></p>
24 <ul class="small-gap"> 24 <ul class="small-gap">
25 <li><a class="reference internal" href="#loading-the-page-and-creating-the-modul e" id="id12">Loading the page and creating the module</a></li> 25 <li><a class="reference internal" href="#loading-the-page-and-creating-the-modul e" id="id12">Loading the page and creating the module</a></li>
26 </ul> 26 </ul>
27 </li> 27 </li>
28 <li><a class="reference internal" href="#example-specific-behavior-with-example- js" id="id13">Example-specific behavior with example.js</a></li> 28 <li><a class="reference internal" href="#example-specific-behavior-with-example- js" id="id13">Example-specific behavior with example.js</a></li>
29 </ul> 29 </ul>
30 </div> 30
31 <section id="overview"> 31 </div><section id="overview">
32 <h2 id="overview">Overview</h2> 32 <h2 id="overview">Overview</h2>
33 <p>This tutorial shows how to convert the finished PNaCl web application from 33 <p>This tutorial shows how to convert the finished PNaCl web application from
34 <a class="reference internal" href="/native-client/devguide/tutorial/tutorial-pa rt1.html"><em>Part 1</em></a> to use the Native Client SDK build system and 34 <a class="reference internal" href="/native-client/devguide/tutorial/tutorial-pa rt1.html"><em>Part 1</em></a> to use the Native Client SDK build system and
35 common JavaScript files. It also demonstrates some techniques to make your 35 common JavaScript files. It also demonstrates some techniques to make your
36 web application <cite>Content Security Policy (CSP)-compliant 36 web application <cite>Content Security Policy (CSP)-compliant
37 &lt;http://developer.chrome.com/apps/contentSecurityPolicy.html&gt;</cite>, whic h is 37 &lt;http://developer.chrome.com/apps/contentSecurityPolicy.html&gt;</cite>, whic h is
38 necessary for <a class="reference external" href="https://developer.chrome.com/a pps/about_apps.html">Chrome Apps</a>.</p> 38 necessary for <a class="reference external" href="https://developer.chrome.com/a pps/about_apps.html">Chrome Apps</a>.</p>
39 <p>Using the Native Client SDK build system makes it easy to build with all of t he 39 <p>Using the Native Client SDK build system makes it easy to build with all of t he
40 SDK toolchains, and switch between the Debug and Release configurations. It 40 SDK toolchains, and switch between the Debug and Release configurations. It
41 also simplifies the makefiles for your project, as we&#8217;ll see in the next 41 also simplifies the makefiles for your project, as we&#8217;ll see in the next
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 // This function is called by common.js when a message is received from the 430 // This function is called by common.js when a message is received from the
431 // NaCl module. 431 // NaCl module.
432 function handleMessage(message) { 432 function handleMessage(message) {
433 var logEl = document.getElementById('log'); 433 var logEl = document.getElementById('log');
434 logEl.textContent += message.data; 434 logEl.textContent += message.data;
435 } 435 }
436 </pre> 436 </pre>
437 </section></section> 437 </section></section>
438 438
439 {{/partials.standard_nacl_article}} 439 {{/partials.standard_nacl_article}}
OLDNEW
« no previous file with comments | « native_client_sdk/doc_generated/devguide/tutorial/tutorial-part1.html ('k') | native_client_sdk/doc_generated/faq.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698