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

Side by Side Diff: native_client_sdk/src/examples/sine_synth/index.html

Issue 13488007: [NaCl SDK] Make the SDK examples buildable as a packaged app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license headers Created 7 years, 8 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright (c) 2012 The Chromium Authors. All rights reserved. 4 Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <head> 8 <head>
9 <meta http-equiv="Pragma" content="no-cache"> 9 <meta http-equiv="Pragma" content="no-cache">
10 <meta http-equiv="Expires" content="-1"> 10 <meta http-equiv="Expires" content="-1">
11 <title>{{title}}</title> 11 <title>{{title}}</title>
12 <script type="text/javascript" src="common.js"></script> 12 <script type="text/javascript" src="common.js"></script>
13 <script type="text/javascript" src="example.js"></script> 13 <script type="text/javascript" src="example.js"></script>
14 </head> 14 </head>
15 <body {{attrs}}> 15 <body {{attrs}}>
16 <h1>{{title}}</h1> 16 <h1>{{title}}</h1>
17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> 17 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
18 <p>The Sine Wave Synthesizer example demonstrates playing sound (a sine
19 wave). Enter the desired frequency and hit play to start, stop to end.</p>
18 20
19 <p>Click the button to start and stop the sine wave playing.</p> 21 <p>Click the buttons to start and stop the sine wave playing.</p>
20 <button id="playButton">Play</button> 22 <button id="playButton">Play</button>
21 <button id="stopButton">Stop</button> 23 <button id="stopButton">Stop</button>
22 24
23 <p>Enter the frequency of the sine wave:</p> 25 <p>Enter the frequency of the sine wave:</p>
24 <input type="text" size="15" id="frequencyField" value="440"> 26 <input type="text" size="15" id="frequencyField" value="440">
25 27
26 <!-- The NaCl plugin will be embedded inside the element with id "listener". 28 <!-- The NaCl plugin will be embedded inside the element with id "listener".
27 See common.js.--> 29 See common.js.-->
28 <div id="listener"></div> 30 <div id="listener"></div>
29 </body> 31 </body>
30 </html> 32 </html>
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/sine_synth/example.dsc ('k') | native_client_sdk/src/examples/websocket/example.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698