OLD | NEW |
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 Loading... |
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> |
OLD | NEW |