Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <!-- NOTE: index.html/index.js are automatically generated from index.in.html | 2 <!-- NOTE: index.html/index.js are automatically generated from index.in.html |
| 3 using the command: vulcanize --csp index.in.html -o index.html | 3 using the command: vulcanize --csp index.in.html -o index.html |
| 4 index.html/index.js SHOULD NOT be modified manually. | 4 index.html/index.js SHOULD NOT be modified manually. |
| 5 TODO(raymes): Get rid of the need for vulcanize once HTMLImports is | 5 TODO(raymes): Get rid of the need for vulcanize once HTMLImports is |
| 6 working properly in polymer. --> | 6 working properly in polymer. --> |
| 7 <html i18n-values="dir:textdirection"> | 7 <html i18n-values="dir:textdirection"> |
| 8 <head> | 8 <head> |
| 9 <meta charset="utf-8"> | 9 <meta charset="utf-8"> |
| 10 <script src="polymer_loader.js"></script> | 10 <script src="polymer_loader.js"></script> |
| 11 <link rel="import" href="../../../../third_party/polymer/polymer-selector/poly mer-selector.html"> | 11 <link rel="import" href="../../../../third_party/polymer/polymer-selector/poly mer-selector.html"> |
| 12 <link rel="import" href="html_office/elements/viewer-toolbar/viewer-toolbar.ht ml"> | 12 <link rel="import" href="html_office/elements/viewer-toolbar/viewer-toolbar.ht ml"> |
| 13 <link rel="import" href="html_office/elements/viewer-button/viewer-button.html "> | 13 <link rel="import" href="html_office/elements/viewer-button/viewer-button.html "> |
| 14 <style> | 14 <style> |
| 15 body { | 15 body { |
| 16 background-color: #ccc; | 16 background-color: #ccc; |
| 17 margin: 0; | 17 margin: 0; |
| 18 } | 18 } |
| 19 viewer-toolbar { | 19 viewer-toolbar { |
| 20 z-index: 2; | 20 z-index: 2; |
| 21 } | 21 } |
| 22 object { | 22 object { |
| 23 z-index: 1; | 23 z-index: 1; |
| 24 } | 24 } |
| 25 </style> | 25 </style> |
| 26 </head> | 26 </head> |
| 27 <body> | 27 <body> |
| 28 | 28 |
| 29 <viewer-toolbar> | 29 <viewer-toolbar id="toolbar"> |
| 30 <polymer-selector> | 30 <polymer-selector> |
| 31 <viewer-button src="button_fit_page.png" latchable=true></viewer-button> | 31 <viewer-button id="btn-ftp" src="button_fit_page.png" latchable=true></viewe r-button> |
|
koz (OOO until 15th September)
2014/02/03 03:40:43
btn-ftp -> fit-to-page-button
raymes
2014/02/05 06:05:17
Done.
| |
| 32 <viewer-button src="button_fit_width.png" latchable=true></viewer-button> | 32 <viewer-button id="btn-ftw" src="button_fit_width.png" latchable=true></view er-button> |
|
koz (OOO until 15th September)
2014/02/03 03:40:43
btn-ftw -> fit-to-width-button
raymes
2014/02/05 06:05:17
Done.
| |
| 33 <viewer-button src="button_zoom_in.png"></viewer-button> | 33 <viewer-button id="btn-zoom-out" src="button_zoom_in.png"></viewer-button> |
| 34 <viewer-button src="button_zoom_out.png"></viewer-button> | 34 <viewer-button id="btn-zoom-in" src="button_zoom_out.png"></viewer-button> |
| 35 </polymer-selector> | 35 </polymer-selector> |
| 36 <viewer-button src="button_save.png"></viewer-button> | 36 <viewer-button id="btn-save" src="button_save.png"></viewer-button> |
| 37 <viewer-button src="button_print.png"></viewer-button> | 37 <viewer-button id="btn-print" src="button_print.png"></viewer-button> |
| 38 </viewer-toolbar> | 38 </viewer-toolbar> |
| 39 | 39 |
| 40 </body> | 40 </body> |
| 41 <script src="pdf.js"></script> | 41 <script src="pdf.js"></script> |
| 42 </html> | 42 </html> |
| OLD | NEW |