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. This only | 10 * Creates a new selection model that is to be used with lists. This only |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 */ | 240 */ |
241 adjustLength: function(length) { | 241 adjustLength: function(length) { |
242 this.length_ = length; | 242 this.length_ = length; |
243 } | 243 } |
244 }; | 244 }; |
245 | 245 |
246 return { | 246 return { |
247 ListSingleSelectionModel: ListSingleSelectionModel | 247 ListSingleSelectionModel: ListSingleSelectionModel |
248 }; | 248 }; |
249 }); | 249 }); |
OLD | NEW |