OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 Polymer('viewer-pdf-toolbar', { | |
6 | |
7 filename: '', | |
benwells
2015/02/03 06:31:33
I think you can probably remove the blank line abo
Sam McNally
2015/02/03 07:22:45
How about "title"?
Please add comments for these
Alexandre Carlton
2015/02/03 22:50:42
I'm a bit resistant to change it to 'title' since
Alexandre Carlton
2015/02/03 22:50:42
Done.
Sam McNally
2015/02/08 23:30:47
Let's call this title. It doesn't necessarily mean
Alexandre Carlton
2015/02/09 03:44:05
The 'title' attribute is special when dealing with
| |
8 index: '0', | |
Sam McNally
2015/02/03 07:22:45
In a toolbar element it isn't obvious what this is
Alexandre Carlton
2015/02/03 22:50:42
Done.
| |
9 progress: 0, | |
Sam McNally
2015/02/03 07:22:45
Similarly, loadProgress?
Alexandre Carlton
2015/02/03 22:50:42
Done.
| |
10 docLength: 1, | |
11 | |
12 progressChanged: function() { | |
13 if (this.progress >= 100) | |
14 this.$.pageselector.style.visibility = 'visible'; | |
15 }, | |
16 | |
17 toggleBookmarks: function() { | |
18 this.fire('toggle-bookmarks'); | |
19 }, | |
20 save: function() { | |
benwells
2015/02/03 06:31:33
For consistency, please have a blank line between
Alexandre Carlton
2015/02/03 22:50:42
Done.
| |
21 this.fire('save'); | |
22 }, | |
23 print: function() { | |
24 this.fire('print'); | |
25 }, | |
26 }); | |
OLD | NEW |