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

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

Issue 8608007: cr/ui/list.js: Support rows with variable heights. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Omit the custom lead item height 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.js
diff --git a/chrome/browser/resources/shared/js/cr/ui/table.js b/chrome/browser/resources/shared/js/cr/ui/table.js
index 416058b6ec1e927355355b38d126de844fe11175..8546c903e86e65289cbabd56f22805039e5558d5 100644
--- a/chrome/browser/resources/shared/js/cr/ui/table.js
+++ b/chrome/browser/resources/shared/js/cr/ui/table.js
@@ -109,6 +109,13 @@ cr.define('cr.ui', function() {
this.list_.autoExpands = autoExpands;
},
+ get fixedHeight() {
+ return this.list_.fixedHeight;
+ },
+ set fixedHeight(fixedHeight) {
+ this.list_.fixedHeight = fixedHeight;
+ },
+
/**
* Returns render function for row.
* @return {Function(*, cr.ui.Table): HTMLElement} Render function.
« no previous file with comments | « chrome/browser/resources/shared/js/cr/ui/list_selection_model.js ('k') | chrome/browser/resources/task_manager/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698