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

Side by Side Diff: native_client_sdk/src/examples/demo/drive/index.html

Issue 14500010: [NaCl SDK] Google Drive example (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove key from build_app generated manifest 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <!--
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
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 {{attrs}}>
16 <h1>{{title}}</h1>
17 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
18 <p>
19 This example demonstrates reading from and writing to your Google Drive
20 account. To run:
21 <ol>
22 <li>
23 Click the "Sign In" button below to authorize access to your
24 account.
25 </li>
26 <li>
27 Click the "Get File" button to read the file "hello nacl.txt" from your
28 account.
29 <ul>
30 <li>If it exists, it will be modified.</li>
31 <li>If it doesn't exist, it will be created.</li>
32 </ul>
33 </li>
34 <li>
35 The file will be downloaded, and the contents displayed below. Try
36 looking on
37 <a href="https://drive.google.com" target="_blank">Google Drive</a> to
38 see the changes as well!
39 </li>
40 </ol>
41 </p>
42 <button id="signIn" hidden>Sign In</button>
43 <button id="getFile" hidden>Get File</button>
44 <div id="listener"></div>
45 <pre id="log"></pre>
46 <div>
47 File Contents:
48 <pre style="border: 1px solid #ccc" id="contents"></pre>
49 </div>
50 </body>
51 </html>
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/demo/drive/example.js ('k') | native_client_sdk/src/examples/resources/manifest.json.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698