| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 'use strict'; | 5 'use strict'; |
| 6 | 6 |
| 7 //////////////////////////////////////////////////////////////////////////////// | 7 //////////////////////////////////////////////////////////////////////////////// |
| 8 // DirectoryTreeUtil | 8 // DirectoryTreeUtil |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 this.style.paddingBottom = margin + 'px'; | 679 this.style.paddingBottom = margin + 'px'; |
| 680 this.scrollBar_.setBottomMarginForPanel(margin); | 680 this.scrollBar_.setBottomMarginForPanel(margin); |
| 681 }; | 681 }; |
| 682 | 682 |
| 683 /** | 683 /** |
| 684 * Updates the UI after the layout has changed. | 684 * Updates the UI after the layout has changed. |
| 685 */ | 685 */ |
| 686 DirectoryTree.prototype.relayout = function() { | 686 DirectoryTree.prototype.relayout = function() { |
| 687 cr.dispatchSimpleEvent(this, 'relayout'); | 687 cr.dispatchSimpleEvent(this, 'relayout'); |
| 688 }; | 688 }; |
| OLD | NEW |