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

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

Issue 10828187: [NaCl SDK] Support multiple configs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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">
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 <button id="delete_but" onclick="deleteFile()" action="">Delete</button> 82 <button id="delete_but" onclick="deleteFile()" action="">Delete</button>
83 83
84 <!-- The NaCl plugin will be embedded inside the element with id "listener". 84 <!-- The NaCl plugin will be embedded inside the element with id "listener".
85 See common.js.--> 85 See common.js.-->
86 <div id="listener"> 86 <div id="listener">
87 <script type="text/javascript"> 87 <script type="text/javascript">
88 window.webkitStorageInfo.requestQuota(window.PERSISTENT, 1024*1024, 88 window.webkitStorageInfo.requestQuota(window.PERSISTENT, 1024*1024,
89 function(bytes) { 89 function(bytes) {
90 common.updateStatus( 90 common.updateStatus(
91 'Allocated '+bytes+' bytes of persistant storage.'); 91 'Allocated '+bytes+' bytes of persistant storage.');
92 common.createNaClModule('<NAME>', '<tc>', 200, 200); 92 common.createNaClModule('<NAME>', '<tc>', '<config>', 200, 200);
93 common.attachDefaultListeners(); 93 common.attachDefaultListeners();
94 }, 94 },
95 function(e) { alert('Failed to allocate space') }); 95 function(e) { alert('Failed to allocate space') });
96 </script> 96 </script>
97 </div> 97 </div>
98 </body> 98 </body>
99 </html> 99 </html>
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/file_histogram/index.html ('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