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

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

Issue 138703009: Hookup the page-indicator and progress-bar elements in 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/pdf.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <link rel="import" href="html_office/elements/viewer-page-indicator/viewer-pag e-indicator.html">
15 <link rel="import" href="html_office/elements/viewer-progress-bar/viewer-progr ess-bar.html">
14 <style> 16 <style>
15 body { 17 body {
16 background-color: #ccc; 18 background-color: #ccc;
17 margin: 0; 19 margin: 0;
18 } 20 }
19 viewer-toolbar { 21 viewer-toolbar {
22 visibility: hidden;
23 z-index: 3;
24 }
25 viewer-page-indicator {
26 visibility: hidden;
27 z-index: 3;
28 }
29 viewer-progress-bar {
30 z-index: 3;
31 }
32 viewer-error-screen {
33 visibility: hidden;
20 z-index: 2; 34 z-index: 2;
21 } 35 }
22 #plugin { 36 #plugin {
23 height: 100%; 37 height: 100%;
24 position: fixed; 38 position: fixed;
25 width: 100%; 39 width: 100%;
26 z-index: 1; 40 z-index: 1;
27 } 41 }
28 #sizer { 42 #sizer {
29 position: absolute; 43 position: absolute;
30 z-index: 0; 44 z-index: 0;
31 } 45 }
32 </style> 46 </style>
33 </head> 47 </head>
34 <body> 48 <body>
35 49
36 <div id="sizer"></div> 50 <div id="sizer"></div>
51 <viewer-page-indicator id="page-indicator"></viewer-page-indicator>
52 <viewer-progress-bar id="progress-bar"></viewer-progress-bar>
37 53
38 <viewer-toolbar id="toolbar"> 54 <viewer-toolbar id="toolbar">
39 <polymer-selector> 55 <polymer-selector>
40 <viewer-button id="fit-to-page-button" src="button_fit_page.png" latchable> 56 <viewer-button id="fit-to-page-button" src="button_fit_page.png" latchable>
41 </viewer-button> 57 </viewer-button>
42 <viewer-button id="fit-to-width-button" src="button_fit_width.png" 58 <viewer-button id="fit-to-width-button" src="button_fit_width.png"
43 latchable> 59 latchable>
44 </viewer-button> 60 </viewer-button>
45 <viewer-button id="zoom-in-button" src="button_zoom_in.png"> 61 <viewer-button id="zoom-in-button" src="button_zoom_in.png">
46 </viewer-button> 62 </viewer-button>
47 <viewer-button id="zoom-out-button" src="button_zoom_out.png"> 63 <viewer-button id="zoom-out-button" src="button_zoom_out.png">
48 </viewer-button> 64 </viewer-button>
49 </polymer-selector> 65 </polymer-selector>
50 <viewer-button id="save-button" src="button_save.png"></viewer-button> 66 <viewer-button id="save-button" src="button_save.png"></viewer-button>
51 <viewer-button id="print-button" src="button_print.png"></viewer-button> 67 <viewer-button id="print-button" src="button_print.png"></viewer-button>
52 </viewer-toolbar> 68 </viewer-toolbar>
53 69
54 </body> 70 </body>
55 <script src="pdf.js"></script> 71 <script src="pdf.js"></script>
56 </html> 72 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/pdf/index.js ('k') | chrome/browser/resources/pdf/pdf.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698