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

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, 10 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 <!DOCTYPE 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
4 index.html/index.js SHOULD NOT be modified manually.
5 TODO(raymes): Get rid of the need for vulcanize once HTMLImports is
6 working properly in polymer. -->
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="html_office/elements/viewer-toolbar/viewer-toolbar.ht ml">
13 <link rel="import" href="html_office/elements/viewer-button/viewer-button.html ">
14 <style>
15 body {
16 background-color: #ccc;
17 margin: 0;
18 }
19 viewer-toolbar {
20 z-index: 2;
21 }
22 object {
23 z-index: 1;
24 }
25 </style>
26 </head>
27 <body>
28
29 <viewer-toolbar>
30 <polymer-selector>
31 <viewer-button src="button_fit_page.png" latchable=true></viewer-button>
32 <viewer-button src="button_fit_width.png" latchable=true></viewer-button>
33 <viewer-button src="button_zoom_in.png"></viewer-button>
34 <viewer-button src="button_zoom_out.png"></viewer-button>
35 </polymer-selector>
36 <viewer-button src="button_save.png"></viewer-button>
37 <viewer-button src="button_print.png"></viewer-button>
38 </viewer-toolbar>
39
40 </body>
41 <script src="pdf.js"></script>
42 </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