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

Side by Side Diff: chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.html

Issue 1303103003: PDF: Use PDF metadata for the title instead of the last path element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « chrome/browser/pdf/pdf_extension_test.cc ('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 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-shadow-flex-layout.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-shadow-flex-layout.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/image-icons. html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/image-icons. html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml">
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/slide-down-animation.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/slide-down-animation.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/slide-up-animation.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/slide-up-animation.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani mation-runner-behavior.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani mation-runner-behavior.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial.html">
10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html">
(...skipping 17 matching lines...) Expand all
28 28
29 <div class="flex-1" id="pageselector-container"> 29 <div class="flex-1" id="pageselector-container">
30 <viewer-page-selector id="pageselector" class="invisible" 30 <viewer-page-selector id="pageselector" class="invisible"
31 doc-length="{{docLength}}" page-no="{{pageNo}}"> 31 doc-length="{{docLength}}" page-no="{{pageNo}}">
32 </viewer-page-selector> 32 </viewer-page-selector>
33 </div> 33 </div>
34 34
35 <div id="buttons" class="invisible flex-5"> 35 <div id="buttons" class="invisible flex-5">
36 <!-- TODO(tsergeant): "Bookmarks" should be localized. --> 36 <!-- TODO(tsergeant): "Bookmarks" should be localized. -->
37 <viewer-toolbar-dropdown id="bookmarks" 37 <viewer-toolbar-dropdown id="bookmarks"
38 hidden$="[[!bookmarks]]" 38 hidden$="[[!bookmarks.length]]"
39 header="Bookmarks" 39 header="Bookmarks"
40 open-icon="bookmark" 40 open-icon="bookmark"
41 closed-icon="bookmark-border"> 41 closed-icon="bookmark-border">
42 <viewer-bookmarks-content bookmarks="{{bookmarks}}"> 42 <viewer-bookmarks-content bookmarks="{{bookmarks}}">
43 </viewer-bookmarks-content> 43 </viewer-bookmarks-content>
44 </viewer-toolbar-dropdown> 44 </viewer-toolbar-dropdown>
45 <paper-icon-button icon="image:rotate-right" 45 <paper-icon-button icon="image:rotate-right"
46 on-click="rotateRight"></paper-icon-button> 46 on-click="rotateRight"></paper-icon-button>
47 <!-- TODO(tsergeant): Replace this placeholder with a more useful 47 <!-- TODO(tsergeant): Replace this placeholder with a more useful
48 button. --> 48 button. -->
49 <paper-icon-button icon="image:rotate-left" 49 <paper-icon-button icon="image:rotate-left"
50 on-click="rotateLeft"></paper-icon-button> 50 on-click="rotateLeft"></paper-icon-button>
51 <paper-icon-button icon="save" 51 <paper-icon-button icon="save"
52 on-click="save"></paper-icon-button> 52 on-click="save"></paper-icon-button>
53 <paper-icon-button icon="print" 53 <paper-icon-button icon="print"
54 on-click="print"></paper-icon-button> 54 on-click="print"></paper-icon-button>
55 </div> 55 </div>
56 </div> 56 </div>
57 </paper-toolbar> 57 </paper-toolbar>
58 </template> 58 </template>
59 </dom-module> 59 </dom-module>
60 <script src="viewer-pdf-toolbar.js"></script> 60 <script src="viewer-pdf-toolbar.js"></script>
OLDNEW
« no previous file with comments | « chrome/browser/pdf/pdf_extension_test.cc ('k') | chrome/browser/resources/pdf/pdf.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698