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.
11 is: 'viewer-zoom-toolbar',
20 fitToggle: function() {
21 if (this.$['fit-button'].activeIndex == FIT_TO_WIDTH)
22 this.fire('fit-to-width');
24 this.fire('fit-to-page');
32 this.fire('zoom-out');
38 this.$['fit-button'].show();
39 this.$['zoom-in-button'].show();
40 this.$['zoom-out-button'].show();
46 this.visible_ = false;
47 this.$['fit-button'].hide();
48 this.$['zoom-in-button'].hide();
49 this.$['zoom-out-button'].hide();