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 | 6 |
7 <!-- | 7 <!-- |
8 Load this page into a tab or an iframe, then set the editor up like this: | 8 Load this page into a tab or an iframe, then set the editor up like this: |
9 | 9 |
10 iframe.contentWindow.ImageEditor.load( | 10 iframe.contentWindow.ImageEditor.load( |
11 saveCallback, closeCallback, source, opt_metadata); | 11 saveCallback, closeCallback, source, opt_metadata); |
12 --> | 12 --> |
13 <html> | 13 <html> |
14 <head> | 14 <head> |
15 <link rel="stylesheet" type="text/css" href="image_editor.css"/> | 15 <link rel="stylesheet" type="text/css" href="image_editor.css"/> |
16 | 16 |
17 <script type="text/javascript" src="image_util.js"></script> | 17 <script type="text/javascript" src="image_util.js"></script> |
18 <script type="text/javascript" src="viewport.js"></script> | 18 <script type="text/javascript" src="viewport.js"></script> |
19 <script type="text/javascript" src="image_buffer.js"></script> | 19 <script type="text/javascript" src="image_buffer.js"></script> |
20 <script type="text/javascript" src="image_editor.js"></script> | 20 <script type="text/javascript" src="image_editor.js"></script> |
21 <script type="text/javascript" src="image_transform.js"></script> | 21 <script type="text/javascript" src="image_transform.js"></script> |
22 <script type="text/javascript" src="image_adjust.js"></script> | 22 <script type="text/javascript" src="image_adjust.js"></script> |
23 <script type="text/javascript" src="filter.js"></script> | 23 <script type="text/javascript" src="filter.js"></script> |
24 | 24 |
25 <script type="text/javascript" src="image_encoder.js"></script> | 25 <script type="text/javascript" src="image_encoder.js"></script> |
26 <script type="text/javascript" src="exif_encoder.js"></script> | 26 <script type="text/javascript" src="exif_encoder.js"></script> |
27 | 27 |
28 </head> | 28 </head> |
29 <body style="margin:0"> | 29 <body style="margin:0"> |
30 <div class="image-editor"></div> | 30 <div style="height:90%;"><div class="image-editor"></div></div> |
| 31 <div style="height:10%;background-color:black;color:white;" class="toolbar-con
tainer"></div> |
31 </body> | 32 </body> |
32 </html> | 33 </html> |
OLD | NEW |