diff options
Diffstat (limited to 'chromium/chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.js')
-rw-r--r-- | chromium/chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/chromium/chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.js b/chromium/chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.js index 338d9eaaeb0..143a0127c3d 100644 --- a/chromium/chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.js +++ b/chromium/chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.js @@ -10,7 +10,6 @@ ], properties: { - strings: Object, /** * The current loading progress of the PDF document (0 - 100). */ @@ -79,7 +78,7 @@ }, _onAnimationFinished: function() { - this.style.transform = this.opened ? 'none' : 'translateY(-100%)'; + this.style.transform = this.opened ? 'none' : 'translateY(-100%)'; }, loadProgressChanged: function() { @@ -128,15 +127,11 @@ this.$.bookmarks.lowerBound = lowerBound; }, - rotateLeft: function() { - this.fire('rotate-left'); - }, - rotateRight: function() { this.fire('rotate-right'); }, - save: function() { + download: function() { this.fire('save'); }, |