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

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

Issue 254033002: [NaCl SDK Docs] Remove links to developers.google.com (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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-1"> 3 <section id="c-tutorial-getting-started-part-1">
4 <span id="tutorial"></span><h1 id="c-tutorial-getting-started-part-1"><span id=" tutorial"></span>C++ Tutorial: Getting Started (Part 1)</h1> 4 <span id="tutorial"></span><h1 id="c-tutorial-getting-started-part-1"><span id=" tutorial"></span>C++ Tutorial: Getting Started (Part 1)</h1>
5 <div class="contents local" id="contents" style="display: none"> 5 <div class="contents local" id="contents" style="display: none">
6 <ul class="small-gap"> 6 <ul class="small-gap">
7 <li><p class="first"><a class="reference internal" href="#overview" id="id1">Ove rview</a></p> 7 <li><p class="first"><a class="reference internal" href="#overview" id="id1">Ove rview</a></p>
8 <ul class="small-gap"> 8 <ul class="small-gap">
9 <li><a class="reference internal" href="#what-the-application-in-this-tutorial-d oes" id="id2">What the application in this tutorial does</a></li> 9 <li><a class="reference internal" href="#what-the-application-in-this-tutorial-d oes" id="id2">What the application in this tutorial does</a></li>
10 <li><a class="reference internal" href="#communication-between-javascript-and-na tive-client-modules" id="id3">Communication between JavaScript and Native Client modules</a></li> 10 <li><a class="reference internal" href="#communication-between-javascript-and-na tive-client-modules" id="id3">Communication between JavaScript and Native Client modules</a></li>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 return; 190 return;
191 std::string message = var_message.AsString(); 191 std::string message = var_message.AsString();
192 pp::Var var_reply; 192 pp::Var var_reply;
193 if (message == kHelloString) { 193 if (message == kHelloString) {
194 var_reply = pp::Var(kReplyString); 194 var_reply = pp::Var(kReplyString);
195 PostMessage(var_reply); 195 PostMessage(var_reply);
196 } 196 }
197 } 197 }
198 </pre> 198 </pre>
199 <p>See the Pepper API documentation for additional information about the 199 <p>See the Pepper API documentation for additional information about the
200 <a class="reference external" href="https://developers.google.com/native-client/ peppercpp/classpp_1_1_instance.html#a5dce8c8b36b1df7cfcc12e42397a35e8">pp::Insta nce.HandleMessage</a> 200 <a class="reference external" href="/native-client/pepper_stable/cpp/classpp_1_1 _instance.html#a5dce8c8b36b1df7cfcc12e42397a35e8">pp::Instance.HandleMessage</a>
201 and <a class="reference external" href="https://developers.google.com/native-cli ent/peppercpp/classpp_1_1_instance.html#a67e888a4e4e23effe7a09625e73ecae9">pp::I nstance.PostMessage</a> 201 and <a class="reference external" href="/native-client/pepper_stable/cpp/classpp _1_1_instance.html#a67e888a4e4e23effe7a09625e73ecae9">pp::Instance.PostMessage</ a>
202 member functions.</p> 202 member functions.</p>
203 </section><section id="step-8-compile-the-native-client-module-and-run-the-appli cation-again"> 203 </section><section id="step-8-compile-the-native-client-module-and-run-the-appli cation-again">
204 <h2 id="step-8-compile-the-native-client-module-and-run-the-application-again">S tep 8: Compile the Native Client module and run the application again</h2> 204 <h2 id="step-8-compile-the-native-client-module-and-run-the-application-again">S tep 8: Compile the Native Client module and run the application again</h2>
205 <p>Compile the Native Client module by running the <code>make</code> command aga in.</p> 205 <p>Compile the Native Client module by running the <code>make</code> command aga in.</p>
206 <p>Re-run the application by reloading <a class="reference external" href="http: //localhost:5103/part1">http://localhost:5103/part1</a> in Chrome.</p> 206 <p>Re-run the application by reloading <a class="reference external" href="http: //localhost:5103/part1">http://localhost:5103/part1</a> in Chrome.</p>
207 <p>After Chrome loads the Native Client module, you should see an alert panel 207 <p>After Chrome loads the Native Client module, you should see an alert panel
208 appear with the message sent from the module.</p> 208 appear with the message sent from the module.</p>
209 </section><section id="troubleshooting"> 209 </section><section id="troubleshooting">
210 <span id="tutorial-troubleshooting"></span><h2 id="troubleshooting"><span id="tu torial-troubleshooting"></span>Troubleshooting</h2> 210 <span id="tutorial-troubleshooting"></span><h2 id="troubleshooting"><span id="tu torial-troubleshooting"></span>Troubleshooting</h2>
211 <p>If your application doesn&#8217;t run, see <a class="reference internal" href ="#tutorial-step-3"><em>Step 3</em></a> above to 211 <p>If your application doesn&#8217;t run, see <a class="reference internal" href ="#tutorial-step-3"><em>Step 3</em></a> above to
(...skipping 10 matching lines...) Expand all
222 <li><a class="reference internal" href="/native-client/faq.html#faq-troubleshoot ing"><em>FAQ Troubleshooting</em></a>.</li> 222 <li><a class="reference internal" href="/native-client/faq.html#faq-troubleshoot ing"><em>FAQ Troubleshooting</em></a>.</li>
223 <li>The <a class="reference internal" href="/native-client/devguide/coding/progr ess-events.html"><em>Progress Events</em></a> document 223 <li>The <a class="reference internal" href="/native-client/devguide/coding/progr ess-events.html"><em>Progress Events</em></a> document
224 contains some useful information about handling error events.</li> 224 contains some useful information about handling error events.</li>
225 </ul> 225 </ul>
226 </section><section id="next-steps"> 226 </section><section id="next-steps">
227 <h2 id="next-steps">Next steps</h2> 227 <h2 id="next-steps">Next steps</h2>
228 <ul class="small-gap"> 228 <ul class="small-gap">
229 <li>See the <a class="reference internal" href="/native-client/devguide/coding/a pplication-structure.html"><em>Application Structure</em></a> 229 <li>See the <a class="reference internal" href="/native-client/devguide/coding/a pplication-structure.html"><em>Application Structure</em></a>
230 chapter in the Developer&#8217;s Guide for information about how to structure a 230 chapter in the Developer&#8217;s Guide for information about how to structure a
231 Native Client module.</li> 231 Native Client module.</li>
232 <li>Check the <a class="reference external" href="https://developers.google.com/ native-client/peppercpp">C++ Reference</a> for details about 232 <li>Check the <a class="reference external" href="/native-client/pepper_stable/c pp">C++ Reference</a> for details
233 how to use the Pepper APIs.</li> 233 about how to use the Pepper APIs.</li>
234 <li>Browse through the source code of the SDK examples (in the <code>examples</c ode> 234 <li>Browse through the source code of the SDK examples (in the <code>examples</c ode>
235 directory) to learn additional techniques for writing Native Client 235 directory) to learn additional techniques for writing Native Client
236 applications and using the Pepper APIs.</li> 236 applications and using the Pepper APIs.</li>
237 <li>See the <a class="reference internal" href="/native-client/devguide/devcycle /building.html"><em>Building</em></a>, <a class="reference internal" href="/nati ve-client/devguide/devcycle/running.html"><em>Running</em></a>, and <a class="re ference internal" href="/native-client/devguide/devcycle/debugging.html"><em>Deb ugging pages</em></a> for information about how to build, run, and 237 <li>See the <a class="reference internal" href="/native-client/devguide/devcycle /building.html"><em>Building</em></a>, <a class="reference internal" href="/nati ve-client/devguide/devcycle/running.html"><em>Running</em></a>, and <a class="re ference internal" href="/native-client/devguide/devcycle/debugging.html"><em>Deb ugging pages</em></a> for information about how to build, run, and
238 debug Native Client applications.</li> 238 debug Native Client applications.</li>
239 <li>Check the <a class="reference external" href="http://code.google.com/p/naclp orts/">naclports</a> project to see 239 <li>Check the <a class="reference external" href="http://code.google.com/p/naclp orts/">naclports</a> project to see
240 what libraries have been ported for use with Native Client. If you port an 240 what libraries have been ported for use with Native Client. If you port an
241 open-source library for your own use, we recommend adding it to naclports 241 open-source library for your own use, we recommend adding it to naclports
242 (see <a class="reference external" href="http://code.google.com/p/naclports/wiki /HowTo_Checkin">How to check code into naclports</a>).</li> 242 (see <a class="reference external" href="http://code.google.com/p/naclports/wiki /HowTo_Checkin">How to check code into naclports</a>).</li>
243 </ul> 243 </ul>
244 </section></section> 244 </section></section>
245 245
246 {{/partials.standard_nacl_article}} 246 {{/partials.standard_nacl_article}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698