OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 cr.define('cr.ui', function() { | 5 cr.define('cr.ui', function() { |
6 /** @const */ var Event = cr.Event; | 6 /** @const */ var Event = cr.Event; |
7 /** @const */ var EventTarget = cr.EventTarget; | 7 /** @const */ var EventTarget = cr.EventTarget; |
8 | 8 |
9 /** | 9 /** |
10 * Creates a new selection model that is to be used with lists. | 10 * Creates a new selection model that is to be used with lists. |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 */ | 330 */ |
331 adjustLength: function(length) { | 331 adjustLength: function(length) { |
332 this.length_ = length; | 332 this.length_ = length; |
333 } | 333 } |
334 }; | 334 }; |
335 | 335 |
336 return { | 336 return { |
337 ListSelectionModel: ListSelectionModel | 337 ListSelectionModel: ListSelectionModel |
338 }; | 338 }; |
339 }); | 339 }); |
OLD | NEW |