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

Unified Diff: ppapi/examples/crxfs/crxfs.html

Issue 14188019: CRX FileSystem Pepper private API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/examples/crxfs/crxfs.cc ('k') | ppapi/examples/crxfs/crxfs.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/examples/crxfs/crxfs.html
diff --git a/ppapi/examples/crxfs/crxfs.html b/ppapi/examples/crxfs/crxfs.html
new file mode 100644
index 0000000000000000000000000000000000000000..05c66a7ff76791c747c750b380409e6c9a60b8d9
--- /dev/null
+++ b/ppapi/examples/crxfs/crxfs.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+ <!--
+ Copyright (c) 2013 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+
+ This example demostrates how to access CRX file system. The plugin will
+ return the content of the given file to the page to display.
+
+ Since the API is for CRX file system, you need to package this example
+ directory into a .crx to load, or simply click "Load unpacked extension" in
+ chrome://extensions/ with "Developer mode" checked.
+ -->
+<head>
+ <title>CrxFs Example</title>
+ <script src="crxfs.js"></script>
+</head>
+
+<body>
+
+ <button id="start">Open</button>
+ <input type="text" id="filename" value="/manifest.json"></input>
+ <object id="plugin" type="application/x-ppapi-example-crxfs"
+ width="1" height="1">
+ </object>
+ <br>
+ <textarea id="content" style="width: 80%; height: 300px;">
+ (output space)
+ </textarea>
+</body>
+</html>
« no previous file with comments | « ppapi/examples/crxfs/crxfs.cc ('k') | ppapi/examples/crxfs/crxfs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698