Chromium Code Reviews| Index: chrome/browser/resources/pdf/index.in.html |
| diff --git a/chrome/browser/resources/pdf/index.in.html b/chrome/browser/resources/pdf/index.in.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e1e890a24fb351b972cc4c3d33a4e700d24b907b |
| --- /dev/null |
| +++ b/chrome/browser/resources/pdf/index.in.html |
| @@ -0,0 +1,41 @@ |
| +<!-- NOTE: index.html/index.js are automatically generated from index.in.html |
| + using the command: vulcanize --csp index.in.html -o index.html |
| + index.html/index.js SHOULD NOT be modified manually. |
| + TODO(raymes): Get rid of the need for vulcanize once HTMLImports is |
| + working properly in polymer. --> |
| +<!DOCTYPE HTML> |
|
arv (Not doing code reviews)
2014/01/14 15:21:37
The doctype should be on the first line
|
| +<html i18n-values="dir:textdirection"> |
| +<head> |
| + <meta charset="utf-8"> |
| + <script src="polymer_loader.js"></script> |
| + <link rel="import" href="../../../../third_party/polymer/polymer-selector/polymer-selector.html"> |
| + <link rel="import" href="../../../../third_party/html_office/elements/viewer-toolbar/viewer-toolbar.html"> |
| + <link rel="import" href="../../../../third_party/html_office/elements/viewer-button/viewer-button.html"> |
| + <style> |
| + body { |
| + background-color: #ccc; |
| + } |
| + viewer-toolbar { |
| + z-index: 2; |
| + } |
| + object { |
| + z-index: 1; |
| + } |
| + </style> |
| +</head> |
| +<body marginwidth="0" marginheight="0" > |
|
arv (Not doing code reviews)
2014/01/14 15:21:37
move to css
body {
margin: 0;
}
|
| + |
| +<viewer-toolbar> |
| + <polymer-selector> |
| + <viewer-button src="button_fit_page.png" latchable=true></viewer-button> |
| + <viewer-button src="button_fit_width.png" latchable=true></viewer-button> |
| + <viewer-button src="button_zoom_in.png"></viewer-button> |
| + <viewer-button src="button_zoom_out.png"></viewer-button> |
| + </polymer-selector> |
| + <viewer-button src="button_save.png"></viewer-button> |
| + <viewer-button src="button_print.png"></viewer-button> |
| +</viewer-toolbar> |
| + |
| +</body> |
| +<script src="pdf.js"></script> |
| +</html> |