OLD | NEW |
1 <!-- | 1 <!-- |
2 -- Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 3 -- Use of this source code is governed by a BSD-style license that can be |
4 -- found in the LICENSE file. | 4 -- found in the LICENSE file. |
5 --> | 5 --> |
6 <html> | 6 <html> |
7 <head> | 7 <head> |
8 <script type="text/javascript" src="../metadata_provider.js"></script> | 8 <script type="text/javascript" src="../metadata_provider.js"></script> |
| 9 <script type="text/javascript" src="../metrics.js"></script> |
| 10 <script type="text/javascript" src="../mock_chrome.js"></script> |
9 <script type="text/javascript" src="gallery_demo.js"></script> | 11 <script type="text/javascript" src="gallery_demo.js"></script> |
10 | 12 |
11 <style type="text/css"> | 13 <style type="text/css"> |
12 body { | 14 body { |
13 -webkit-user-select: none; | 15 -webkit-user-select: none; |
14 margin: 0 | 16 margin: 0 |
15 } | 17 } |
16 | 18 |
17 .gallery-frame { | 19 .gallery-frame { |
18 width: 100%; | 20 width: 100%; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 <div class="debug-buttons"> | 59 <div class="debug-buttons"> |
58 <input type="checkbox" onchange="toggleSize(this);"/> | 60 <input type="checkbox" onchange="toggleSize(this);"/> |
59 <span>Chromebook size</span> | 61 <span>Chromebook size</span> |
60 <button onclick="loadGallery()">Test grid</button> | 62 <button onclick="loadGallery()">Test grid</button> |
61 <input type="file" multiple onchange="loadGallery(this.files)"/> | 63 <input type="file" multiple onchange="loadGallery(this.files)"/> |
62 </div> | 64 </div> |
63 | 65 |
64 <div class="debug-output"></div> | 66 <div class="debug-output"></div> |
65 </body> | 67 </body> |
66 </html> | 68 </html> |
OLD | NEW |