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

Side by Side Diff: ppapi/examples/pluginfs/pluginfs.html

Issue 77813004: [WIP] PluginPrivateFileSystem example (won't commit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « ppapi/examples/pluginfs/pluginfs.cc ('k') | ppapi/examples/pluginfs/pluginfs.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright (c) 2013 The Chromium Authors. All rights reserved. 4 Copyright (c) 2013 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 This example demostrates how to access CRX file system. The plugin will 8 This example demostrates how to access PluginPrivate file system.
9 return the content of the given file to the page to display.
10
11 Since the API is for CRX file system, you need to package this example
12 directory into a .crx to load, or simply click "Load unpacked extension" in
13 chrome://extensions/ with "Developer mode" checked.
14 --> 9 -->
15 <head> 10 <head>
16 <title>CrxFs Example</title> 11 <title>PluginPrivate FileSystem Example</title>
17 <script src="crxfs.js"></script> 12 <script src="pluginfs.js"></script>
18 </head> 13 </head>
19 14
20 <body> 15 <body>
21 16
22 <button id="start">Open</button> 17 <button id="start">Open</button>
23 <input type="text" id="filename" value="/manifest.json"></input> 18 <input type="text" id="filename" value="/manifest.json"></input>
24 <object id="plugin" type="application/x-ppapi-example-crxfs" 19 <object id="plugin" type="application/x-ppapi-example-pluginfs"
25 width="1" height="1"> 20 width="1" height="1">
26 </object> 21 </object>
27 <br> 22 <br>
28 <textarea id="content" style="width: 80%; height: 300px;"> 23 <textarea id="content" style="width: 80%; height: 300px;">
29 (output space) 24 (output space)
30 </textarea> 25 </textarea>
31 </body> 26 </body>
32 </html> 27 </html>
OLDNEW
« no previous file with comments | « ppapi/examples/pluginfs/pluginfs.cc ('k') | ppapi/examples/pluginfs/pluginfs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698