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

Unified Diff: chrome/browser/resources/shared/js/cr/ui/table/table_column_model.js

Issue 8548012: Added "select all/none" checkbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/shared/js/cr/ui/table/table_column_model.js
diff --git a/chrome/browser/resources/shared/js/cr/ui/table/table_column_model.js b/chrome/browser/resources/shared/js/cr/ui/table/table_column_model.js
index 13399dd9e5cf99e5bdaaa5fdbb7298509d3b7546..346fd7f036afd1ef18dc28424266cc678a4de0b5 100644
--- a/chrome/browser/resources/shared/js/cr/ui/table/table_column_model.js
+++ b/chrome/browser/resources/shared/js/cr/ui/table/table_column_model.js
@@ -132,6 +132,16 @@ cr.define('cr.ui.table', function() {
},
/**
+ * Render the column header.
+ * @param {number} index The index of the column.
+ * @param {cr.ui.Table} Owner table.
+ */
+ renderHeader: function(index, table) {
+ var c = this.columns_[index];
+ return c.headerRenderFunction.call(c, table);
+ },
+
+ /**
* The total width of the columns.
* @type {number}
*/

Powered by Google App Engine
This is Rietveld 408576698