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

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

Issue 706823004: OOP PDF: Change the save toolbar button to match the save menu behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@embedded-pdfs
Patch Set: rebase Created 6 years, 1 month 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
« no previous file with comments | « no previous file | 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 <html i18n-values="dir:textdirection"> 2 <html i18n-values="dir:textdirection">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <!-- TODO(raymes): Turn these <include>s into HTML imports once they are 5 <!-- TODO(raymes): Turn these <include>s into HTML imports once they are
6 fully implemented. At that point includes.js can be removed 6 fully implemented. At that point includes.js can be removed
7 as the scripts will be pulled in automatically. --> 7 as the scripts will be pulled in automatically. -->
8 <script src="includes.js"></script> 8 <script src="includes.js"></script>
9 <include src="html_office/elements/viewer-button/viewer-button.html"> 9 <include src="html_office/elements/viewer-button/viewer-button.html">
10 <include src="html_office/elements/viewer-error-screen/viewer-error-screen.htm l"> 10 <include src="html_office/elements/viewer-error-screen/viewer-error-screen.htm l">
(...skipping 20 matching lines...) Expand all
31 img="button_fit_width.png" latchable> 31 img="button_fit_width.png" latchable>
32 </viewer-button> 32 </viewer-button>
33 <viewer-button id="zoom-out-button" 33 <viewer-button id="zoom-out-button"
34 assetpath="html_office/elements/viewer-button/" 34 assetpath="html_office/elements/viewer-button/"
35 img="button_zoom_out.png"> 35 img="button_zoom_out.png">
36 </viewer-button> 36 </viewer-button>
37 <viewer-button id="zoom-in-button" 37 <viewer-button id="zoom-in-button"
38 assetpath="html_office/elements/viewer-button/" 38 assetpath="html_office/elements/viewer-button/"
39 img="button_zoom_in.png"> 39 img="button_zoom_in.png">
40 </viewer-button> 40 </viewer-button>
41 <a id="save-button-link" download> 41 <viewer-button id="save-button"
42 <viewer-button id="save-button" 42 assetpath="html_office/elements/viewer-button/"
43 assetpath="html_office/elements/viewer-button/" 43 img="button_save.png">
44 img="button_save.png"> 44 </viewer-button>
45 </viewer-button>
46 </a>
47 <viewer-button id="print-button" 45 <viewer-button id="print-button"
48 assetpath="html_office/elements/viewer-button/" 46 assetpath="html_office/elements/viewer-button/"
49 img="button_print.png"> 47 img="button_print.png">
50 </viewer-button> 48 </viewer-button>
51 </viewer-toolbar> 49 </viewer-toolbar>
52 50
53 <viewer-error-screen id="error-screen"></viewer-error-screen> 51 <viewer-error-screen id="error-screen"></viewer-error-screen>
54 52
55 </body> 53 </body>
56 <script src="main.js"></script> 54 <script src="main.js"></script>
57 </html> 55 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/pdf/pdf.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698