| OLD | NEW |
| 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-icons/iron-icons.h
tml"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
| 3 <link rel="import" href="viewer-zoom-button.html"> | 3 <link rel="import" href="viewer-zoom-button.html"> |
| 4 | 4 |
| 5 <dom-module id="viewer-zoom-toolbar"> | 5 <dom-module id="viewer-zoom-toolbar"> |
| 6 <link rel="import" type="css" href="viewer-zoom-toolbar.css"> | 6 <link rel="import" type="css" href="viewer-zoom-toolbar.css"> |
| 7 <template> | 7 <template> |
| 8 | 8 |
| 9 <div id="zoom-buttons"> | 9 <div id="zoom-buttons"> |
| 10 <div id="buttons"> | 10 <div id="buttons"> |
| 11 <!-- TODO(alexandrec): Replace with custom icons. --> | 11 <!-- TODO(alexandrec): Replace with custom icons. --> |
| 12 <viewer-zoom-button id="fit-button" icons="fullscreen-exit fullscreen" | 12 <viewer-zoom-button id="fit-button" icons="fullscreen-exit fullscreen" |
| 13 on-fabclick="fitToggle" delay="0"> | 13 on-fabclick="fitToggle" delay="100"> |
| 14 </viewer-zoom-button> | 14 </viewer-zoom-button> |
| 15 <viewer-zoom-button id="zoom-in-button" icons="add" | 15 <viewer-zoom-button id="zoom-in-button" icons="add" |
| 16 on-fabclick="zoomIn" delay="50"></viewer-zoom-button> | 16 on-fabclick="zoomIn" delay="50"></viewer-zoom-button> |
| 17 <viewer-zoom-button id="zoom-out-button" icons="remove" | 17 <viewer-zoom-button id="zoom-out-button" icons="remove" |
| 18 on-fabclick="zoomOut" delay="100"></viewer-zoom-button> | 18 on-fabclick="zoomOut" delay="0"></viewer-zoom-button> |
| 19 </div> | 19 </div> |
| 20 </div> | 20 </div> |
| 21 </template> | 21 </template> |
| 22 </dom-module> | 22 </dom-module> |
| 23 <script src="viewer-zoom-toolbar.js"></script> | 23 <script src="viewer-zoom-toolbar.js"></script> |
| OLD | NEW |