зеркало из https://github.com/mozilla/gecko-dev.git
Bug 536893 - Asynchronous API for opening nsNavHistoryFolderResultNodes (part 2), r=mano
This commit is contained in:
Родитель
4e74f94af5
Коммит
9f2f035eda
|
@ -877,6 +877,9 @@
|
|||
this.invalidateContainer(aNode);
|
||||
},
|
||||
|
||||
containerStateChanged:
|
||||
function PMV_containerStateChanged(aNode, aOldState, aNewState) {},
|
||||
|
||||
invalidateContainer: function PMV_invalidateContainer(aContainer) {
|
||||
// Do nothing if the entire view is already marked un-built.
|
||||
if (!this._self.parentNode._built)
|
||||
|
|
|
@ -736,6 +736,9 @@
|
|||
this.invalidateContainer(aContainer);
|
||||
},
|
||||
|
||||
containerStateChanged:
|
||||
function TV_V_containerStateChanged(aNode, aOldState, aNewState) {},
|
||||
|
||||
invalidateContainer: function TV_V_invalidateContainer(aContainer) {
|
||||
let containerNodeElt = aContainer._DOMElement;
|
||||
NS_ASSERT(containerNodeElt, "node must have _DOMElement set");
|
||||
|
|
|
@ -848,6 +848,9 @@ PlacesTreeView.prototype = {
|
|||
this.invalidateContainer(aNode);
|
||||
},
|
||||
|
||||
containerStateChanged:
|
||||
function PTV_containerStateChanged(aNode, aOldState, aNewState) {},
|
||||
|
||||
invalidateContainer: function PTV_invalidateContainer(aContainer) {
|
||||
NS_ASSERT(this._result, "Need to have a result to update");
|
||||
if (!this._tree)
|
||||
|
|
|
@ -108,6 +108,7 @@ var resultObserver = {
|
|||
containerClosed: function(node) {
|
||||
this.closedContainer = node;
|
||||
},
|
||||
containerStateChanged: function (node, oldState, newState) {},
|
||||
invalidatedContainer: null,
|
||||
invalidateContainer: function(node) {
|
||||
this.invalidatedContainer = node;
|
||||
|
|
Загрузка…
Ссылка в новой задаче