OLD | NEW |
| (Empty) |
1 <!-- | |
2 -- Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
3 -- Use of this source code is governed by a BSD-style license that can be | |
4 -- found in the LICENSE file. | |
5 --> | |
6 <html> | |
7 <head> | |
8 <script type="text/javascript" src="../file_type.js"></script> | |
9 <script type="text/javascript" src="../metadata_provider.js"></script> | |
10 <script type="text/javascript" src="../metrics.js"></script> | |
11 <script type="text/javascript" src="../mock_chrome.js"></script> | |
12 <script type="text/javascript" src="gallery_demo.js"></script> | |
13 | |
14 <style type="text/css"> | |
15 body { | |
16 -webkit-user-select: none; | |
17 margin: 0 | |
18 } | |
19 | |
20 .gallery-frame { | |
21 width: 100%; | |
22 height: 100%; | |
23 border: none; | |
24 } | |
25 | |
26 .gallery-frame.chromebook { | |
27 width: 1280px; | |
28 height: 700px; | |
29 } | |
30 | |
31 .debug-buttons { | |
32 position: absolute; | |
33 color: white; | |
34 left: 1px; | |
35 top: 1px; | |
36 } | |
37 | |
38 .debug-output { | |
39 position: absolute; | |
40 left: 4px; | |
41 top: 28px; | |
42 text-align: left; | |
43 color: white; | |
44 opacity: 0.3; | |
45 } | |
46 | |
47 .debug-output:hover { | |
48 opacity: 1; | |
49 } | |
50 </style> | |
51 | |
52 </head> | |
53 <body> | |
54 <iframe class="gallery-frame" | |
55 scrolling="no" | |
56 src="gallery.html" | |
57 webkitallowfullscreen | |
58 onload="loadGallery()"/> | |
59 </iframe> | |
60 | |
61 <div class="debug-buttons"> | |
62 <input type="checkbox" onchange="toggleSize(this);"/> | |
63 <span>Chromebook size</span> | |
64 <button onclick="loadGallery()">Test grid</button> | |
65 <input type="file" multiple onchange="loadGallery(this.files)"/> | |
66 </div> | |
67 | |
68 <div class="debug-output"></div> | |
69 </body> | |
70 </html> | |
OLD | NEW |