Lines Matching full:row
330 clicked: function(row) {
331 var menuicon = row.menuicon;
368 * DownloadRow contains all the elements that go into a row of the downloads
388 * Create the row html element and book-keeping for the row.
393 var row = document.createElement('li');
394 row.className = 'downloadrow';
395 row.id = this.path;
396 row.downloadRow = this;
397 list.append(row);
399 this.element = row;
488 * Create the row button for the left of the row.
504 * Create the menu button on the right of the row.
713 * ROW_HEIGHT is height of each row.
714 * MAX_ROWS is maximum number of rows displayed (to display a new row
715 * beyond MAX_ROWS, we delete the oldest row).
731 * Remove a row from the list, as when a download is canceled, or
734 * @param {DownloadRow} row Row to be removed.
737 remove: function(row) {
738 this.downloadList.splice(this.downloadList.indexOf(row), 1);
739 this.element.removeChild(row.element);
740 row.element.downloadRow = null;
748 * Append a new row to the list, removing the last row if we exceed the
750 * @param {DownloadRow} row Row to be removed.
752 append: function(row) {
763 list.insertBefore(row, list.firstChild);
765 list.appendChild(row);
808 var row = element && element.downloadRow;
810 if (!row &&
813 row = new DownloadRow(this, result);
816 row && row.downloadUpdated(result);