OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 * @fileoverview This is a multiple selection model for table | 6 * @fileoverview This is a multiple selection model for table |
7 */ | 7 */ |
8 cr.define('cr.ui.table', function() { | 8 cr.define('cr.ui.table', function() { |
9 const ListSelectionModel = cr.ui.ListSelectionModel; | 9 const ListSelectionModel = cr.ui.ListSelectionModel; |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 adjust: function(index, itemsRemoved, itemsAdded) { | 56 adjust: function(index, itemsRemoved, itemsAdded) { |
57 ListSelectionModel.prototype.adjust.call( | 57 ListSelectionModel.prototype.adjust.call( |
58 this, this.length, itemsRemoved, itemsAdded); | 58 this, this.length, itemsRemoved, itemsAdded); |
59 } | 59 } |
60 }; | 60 }; |
61 | 61 |
62 return { | 62 return { |
63 TableSelectionModel: TableSelectionModel | 63 TableSelectionModel: TableSelectionModel |
64 }; | 64 }; |
65 }); | 65 }); |
OLD | NEW |