mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 536893 - Asynchronous API for opening nsNavHistoryFolderResultNodes (part 2), r=mano
This commit is contained in:
parent
207fc62f9f
commit
b660f0bb6a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user