OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <!-- |
| 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 |
| 6 found in the LICENSE file. |
| 7 --> |
| 8 <head> |
| 9 <meta http-equiv="Pragma" content="no-cache"> |
| 10 <meta http-equiv="Expires" content="-1"> |
| 11 <title><TITLE></title> |
| 12 <script type="text/javascript" src="common.js"></script> |
| 13 <script type="text/javascript" src="example.js"></script> |
| 14 </head> |
| 15 <body data-name="<NAME>" data-tc="<tc>" data-path="<path>"> |
| 16 <h1><TITLE></h1> |
| 17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> |
| 18 <div> |
| 19 <span> |
| 20 <input type="radio" id="radiofopen" name="group" checked="checked">fopen |
| 21 <input type="radio" id="radiofclose" name="group">fclose |
| 22 <input type="radio" id="radiofread" name="group">fread |
| 23 <input type="radio" id="radiofwrite" name="group">fwrite |
| 24 <input type="radio" id="radiofseek" name="group">fseek |
| 25 </span> |
| 26 </div> |
| 27 <div class="function" id="fopen"> |
| 28 <span> |
| 29 Filename: |
| 30 <input type="text" id="fopenFilename"> |
| 31 Write: |
| 32 <input type="checkbox" id="fopenWrite"> |
| 33 Read: |
| 34 <input type="checkbox" id="fopenRead"> |
| 35 <button id="fopenExecute">fopen</button> |
| 36 </span> |
| 37 </div> |
| 38 <div class="function" id="fclose" hidden> |
| 39 <span> |
| 40 <select class="file-handle" id="fcloseHandle"></select> |
| 41 <button id="fcloseExecute">fclose</button> |
| 42 </span> |
| 43 </div> |
| 44 <div class="function" id="fread" hidden> |
| 45 <span> |
| 46 <select class="file-handle" id="freadHandle"></select> |
| 47 Count: |
| 48 <input type="text" id="freadBytes"> |
| 49 <button id="freadExecute">fread</button> |
| 50 </span> |
| 51 </div> |
| 52 <div class="function" id="fwrite" hidden> |
| 53 <span> |
| 54 <select class="file-handle" id="fwriteHandle"></select> |
| 55 Data: |
| 56 <input type="text" id="fwriteData"> |
| 57 <button id="fwriteExecute">fwrite</button> |
| 58 </span> |
| 59 </div> |
| 60 <div class="function" id="fseek" hidden> |
| 61 <span> |
| 62 <select class="file-handle" id="fseekHandle"></select> |
| 63 Offset: |
| 64 <input type="text" id="fseekOffset"> |
| 65 Whence: |
| 66 <select id="fseekWhence"> |
| 67 <option value="SEEK_SET">SEEK_SET</option> |
| 68 <option value="SEEK_CUR">SEEK_CUR</option> |
| 69 <option value="SEEK_END">SEEK_END</option> |
| 70 </select> |
| 71 <button id="fseekExecute">fseek</button> |
| 72 </span> |
| 73 </div> |
| 74 <!-- The NaCl plugin will be embedded inside the element with id "listener". |
| 75 See common.js.--> |
| 76 <div id="listener"></div> |
| 77 <div id="log"></div> |
| 78 </body> |
| 79 </html> |
OLD | NEW |