Material PDF: Restore animated entry and exit of viewer toolbars
commit7e9ca9e2878e32e939a1c0d667384be98a0861d5
authortsergeant <tsergeant@chromium.org>
Fri, 12 Jun 2015 02:17:45 +0000 (11 19:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Jun 2015 02:18:15 +0000 (12 02:18 +0000)
treea265f19f241332cdfecd00291273637b9e5d7bc4
parentd169ad87e2bc70b51a52bf5fbc2fbe9db6c8ed01
Material PDF: Restore animated entry and exit of viewer toolbars

Toolbars are automatically hidden when the user is inactive, and then
shown again after a fast mouse movement, keyboard presses or moving the
mouse to the toolbar's location.

The animation for the zoom toolbar currently looks a little strange,
this will be addressed when more buttons are added in a follow-up change.

BUG=482793

Review URL: https://codereview.chromium.org/1169043002

Cr-Commit-Position: refs/heads/master@{#334112}
chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.css
chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.html
chrome/browser/resources/pdf/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.js
chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.html
chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.js
chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-toolbar.html
chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-toolbar.js
chrome/browser/resources/pdf/ui_manager.js
third_party/polymer/v1_0/bower.json
ui/webui/resources/polymer_resources.grdp