Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Side by Side Diff: chrome/browser/resources/pdf/index.in.html

Issue 110723007: Add the viewer toolbar to the PDF extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/pdf/index.js ('k') | chrome/browser/resources/pdf/polymer_loader.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!-- NOTE: index.html/index.js are automatically generated from index.in.html
2 using the command: vulcanize --csp index.in.html -o index.html
3 index.html/index.js SHOULD NOT be modified manually.
4 TODO(raymes): Get rid of the need for vulcanize once HTMLImports is
5 working properly in polymer. -->
6 <!DOCTYPE HTML>
arv (Not doing code reviews) 2014/01/14 15:21:37 The doctype should be on the first line
7 <html i18n-values="dir:textdirection">
8 <head>
9 <meta charset="utf-8">
10 <script src="polymer_loader.js"></script>
11 <link rel="import" href="../../../../third_party/polymer/polymer-selector/poly mer-selector.html">
12 <link rel="import" href="../../../../third_party/html_office/elements/viewer-t oolbar/viewer-toolbar.html">
13 <link rel="import" href="../../../../third_party/html_office/elements/viewer-b utton/viewer-button.html">
14 <style>
15 body {
16 background-color: #ccc;
17 }
18 viewer-toolbar {
19 z-index: 2;
20 }
21 object {
22 z-index: 1;
23 }
24 </style>
25 </head>
26 <body marginwidth="0" marginheight="0" >
arv (Not doing code reviews) 2014/01/14 15:21:37 move to css body { margin: 0; }
27
28 <viewer-toolbar>
29 <polymer-selector>
30 <viewer-button src="button_fit_page.png" latchable=true></viewer-button>
31 <viewer-button src="button_fit_width.png" latchable=true></viewer-button>
32 <viewer-button src="button_zoom_in.png"></viewer-button>
33 <viewer-button src="button_zoom_out.png"></viewer-button>
34 </polymer-selector>
35 <viewer-button src="button_save.png"></viewer-button>
36 <viewer-button src="button_print.png"></viewer-button>
37 </viewer-toolbar>
38
39 </body>
40 <script src="pdf.js"></script>
41 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/pdf/index.js ('k') | chrome/browser/resources/pdf/polymer_loader.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698