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

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

Issue 1162863002: Material PDF: Fix inconsistent behaviour in page selector, update styling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase mistake Created 5 years, 6 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 (function() { 4 (function() {
5 Polymer({ 5 Polymer({
6 is: 'viewer-pdf-toolbar', 6 is: 'viewer-pdf-toolbar',
7 7
8 properties: { 8 properties: {
9 /** 9 /**
10 * The current loading progress of the PDF document (0 - 100). 10 * The current loading progress of the PDF document (0 - 100).
11 */ 11 */
12 loadProgress: { 12 loadProgress: {
13 type: Number, 13 type: Number,
14 observer: 'loadProgressChanged' 14 observer: 'loadProgressChanged'
15 }, 15 },
16 16
17 /** 17 /**
18 * The title of the PDF document. 18 * The title of the PDF document.
19 */ 19 */
20 docTitle: String, 20 docTitle: String,
21 21
22 /** 22 /**
23 * The current index of the page being viewed (0-based). 23 * The number of the page being viewed (1-based).
24 */ 24 */
25 pageIndex: Number, 25 pageNo: Number,
26 26
27 /** 27 /**
28 * Whether the document has bookmarks. 28 * Whether the document has bookmarks.
29 */ 29 */
30 hasBookmarks: Boolean, 30 hasBookmarks: Boolean,
31 31
32 /** 32 /**
33 * The number of pages in the PDF document. 33 * The number of pages in the PDF document.
34 */ 34 */
35 docLength: Number, 35 docLength: Number,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 save: function() { 82 save: function() {
83 this.fire('save'); 83 this.fire('save');
84 }, 84 },
85 85
86 print: function() { 86 print: function() {
87 this.fire('print'); 87 this.fire('print');
88 } 88 }
89 }); 89 });
90 })(); 90 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698