Bug 1431761 - Remove getProgressMode from tree views. r=MakeMyDay
authoreslint <eslint@bugzilla.kewis.ch>
Fri, 19 Jan 2018 17:19:27 +0100
changeset 30020 5160a541f4aa0f7477bc1e8fb81d905ab3b0c176
parent 30019 34300ae5649374108a30053992f4f5853bc43254
child 30021 67727712f9b0c7c9fd8058e1e627e8af8a02ae6b
push id2108
push userclokep@gmail.com
push dateMon, 22 Jan 2018 17:53:55 +0000
treeherdercomm-beta@c44930d8ad9b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMakeMyDay
bugs1431761
Bug 1431761 - Remove getProgressMode from tree views. r=MakeMyDay MozReview-Commit-ID: A62AnpbBSql
calendar/base/content/calendar-task-tree.xml
calendar/base/content/calendar-unifinder.js
calendar/base/content/widgets/calendar-list-tree.xml
--- a/calendar/base/content/calendar-task-tree.xml
+++ b/calendar/base/content/calendar-task-tree.xml
@@ -697,22 +697,16 @@
 
             // The image path for a given cell. For defining an icon for a cell.
             // If the empty string is returned, the :moz-tree-image pseudoelement
             // will be used.
             getImgSrc: function(aRow, aCol) {
                 return null;
             },
 
-            // The progress mode for a given cell. This method is only called for
-            // columns of type |progressmeter|.
-            getProgressMode: function(aRow, aCol) {
-                return Components.interfaces.nsITreeView.PROGRESS_NONE;
-            },
-
             /**
              * Task Tree Events
              */
             onSelect: function(event) {},
 
             onDoubleClick: function(event) {
                 if (event.button == 0) {
                     let initialDate = cal.getDefaultStartDate(this.binding.getInitialDate());
--- a/calendar/base/content/calendar-unifinder.js
+++ b/calendar/base/content/calendar-unifinder.js
@@ -746,18 +746,16 @@ var unifinderTreeView = {
     hasNextSibling: function(aRow, aAfterIndex) {},
 
     getLevel: function(aRow) {
         return 0;
     },
 
     getImageSrc: function(aRow, aOrientation) {},
 
-    getProgressMode: function(aRow, aCol) {},
-
     getCellValue: function(aRow, aCol) {
         return null;
     },
 
     getCellText: function(row, column) {
         let calendarEvent = this.eventArray[row];
 
         switch (column.element.getAttribute("itemproperty")) {
--- a/calendar/base/content/widgets/calendar-list-tree.xml
+++ b/calendar/base/content/widgets/calendar-list-tree.xml
@@ -878,23 +878,16 @@
       </method>
 
       <method name="getImageSrc">
         <parameter name="aRow"/>
         <body><![CDATA[
         ]]></body>
       </method>
 
-      <method name="getProgressMode">
-        <parameter name="aRow"/>
-        <parameter name="aCol"/>
-        <body><![CDATA[
-        ]]></body>
-      </method>
-
       <method name="getCellValue">
         <parameter name="aRow"/>
         <parameter name="aCol"/>
         <body><![CDATA[
             let calendar = this.getCalendar(aRow);
             let composite = this.compositeCalendar;
 
             switch (aCol.element.getAttribute("anonid")) {