| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * ButtonCommand class for small buttons on menu items. | 6 * ButtonCommand class for small buttons on menu items. |
| 7 */ | 7 */ |
| 8 var ButtonCommand = cr.ui.define('div'); | 8 var ButtonCommand = cr.ui.define('div'); |
| 9 | 9 |
| 10 ButtonCommand.prototype = { | 10 ButtonCommand.prototype = { |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 | 302 |
| 303 updateZoomControls: function(params) { | 303 updateZoomControls: function(params) { |
| 304 this.zoom_.updateZoomControls(params); | 304 this.zoom_.updateZoomControls(params); |
| 305 }, | 305 }, |
| 306 }; | 306 }; |
| 307 | 307 |
| 308 function updateZoomControls(params) { | 308 function updateZoomControls(params) { |
| 309 var menu = document.getElementById('viewport'); | 309 var menu = document.getElementById('viewport'); |
| 310 menu.updateZoomControls(params); | 310 menu.updateZoomControls(params); |
| 311 } | 311 } |
| OLD | NEW |