Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: chrome/browser/resources/shared/js/cr/ui/table/table_selection_model.js

Issue 7063007: Revert 86065 - Move sorting logic from table to list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698