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

Side by Side Diff: native_client_sdk/src/examples/file_io/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 data-width="200" data-height="200" data-custom-load="true" {{attrs}}> 15 <body data-width="200" data-height="200" data-custom-load="true" {{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 File IO example demonstrates saving, loading, and deleting files
19 from the persistent file store.</p>
18 20
19 <textarea id="fileEditor" 21 <textarea id="fileEditor"
20 cols="40" 22 cols="40"
21 rows="10" 23 rows="10"
22 wrap="hard" 24 wrap="hard"
23 placeholder="Enter some text to save in a file..."></textarea> 25 placeholder="Enter some text to save in a file..."></textarea>
24 <br>File Name 26 <br>File Name
25 <input type="text" id="fileName" action=""> 27 <input type="text" id="fileName" action="" value="/filename.txt">
26 <button id="saveButton" action="">Save</button> 28 <button id="saveButton" action="">Save</button>
27 <button id="loadButton" action="">Load</button> 29 <button id="loadButton" action="">Load</button>
28 <button id="deleteButton" action="">Delete</button> 30 <button id="deleteButton" action="">Delete</button>
29 31
30 <!-- The NaCl plugin will be embedded inside the element with id "listener". 32 <!-- The NaCl plugin will be embedded inside the element with id "listener".
31 See common.js.--> 33 See common.js.-->
32 <div id="listener"></div> 34 <div id="listener"></div>
33 </body> 35 </body>
34 </html> 36 </html>
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/file_io/example.dsc ('k') | native_client_sdk/src/examples/fullscreen_tumbler/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698