mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code r=jag, sr=sspitzer, a=sspitzer,asa The CloneResource() has been back ported from Firebird, originally implemented by Pierre Chanial.
This commit is contained in:
parent
91cd352614
commit
a01dca7166
@ -97,8 +97,8 @@ var RDF_observer =
|
|||||||
|
|
||||||
onChange: function(ds, src, prop, old_target, new_target) { },
|
onChange: function(ds, src, prop, old_target, new_target) { },
|
||||||
onMove: function(ds, old_src, new_src, prop, target) { },
|
onMove: function(ds, old_src, new_src, prop, target) { },
|
||||||
beginUpdateBatch: function(ds) { },
|
onBeginUpdateBatch: function(ds) { },
|
||||||
endUpdateBatch: function(ds) { }
|
onEndUpdateBatch: function(ds) { }
|
||||||
};
|
};
|
||||||
|
|
||||||
function
|
function
|
||||||
|
@ -223,14 +223,12 @@ nsHistoryController.prototype =
|
|||||||
if (!gGlobalHistory)
|
if (!gGlobalHistory)
|
||||||
gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);
|
gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);
|
||||||
gGlobalHistory.removePagesFromHost(gLastHostname, false)
|
gGlobalHistory.removePagesFromHost(gLastHostname, false)
|
||||||
gHistoryTree.builder.rebuild();
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case "cmd_deleteByDomain":
|
case "cmd_deleteByDomain":
|
||||||
if (!gGlobalHistory)
|
if (!gGlobalHistory)
|
||||||
gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);
|
gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);
|
||||||
gGlobalHistory.removePagesFromHost(gLastDomain, true)
|
gGlobalHistory.removePagesFromHost(gLastDomain, true)
|
||||||
gHistoryTree.builder.rebuild();
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -110,11 +110,11 @@ var RDF_observer =
|
|||||||
{
|
{
|
||||||
},
|
},
|
||||||
|
|
||||||
beginUpdateBatch : function(ds)
|
onBeginUpdateBatch : function(ds)
|
||||||
{
|
{
|
||||||
},
|
},
|
||||||
|
|
||||||
endUpdateBatch : function(ds)
|
onEndUpdateBatch : function(ds)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,11 +144,11 @@ var panels_observer = {
|
|||||||
onMove : function(ds,old_src,new_src,prop,target) {
|
onMove : function(ds,old_src,new_src,prop,target) {
|
||||||
//debug ("observer: move");
|
//debug ("observer: move");
|
||||||
},
|
},
|
||||||
beginUpdateBatch : function(ds) {
|
onBeginUpdateBatch : function(ds) {
|
||||||
//debug ("observer: beginUpdateBatch");
|
//debug ("observer: onBeginUpdateBatch");
|
||||||
},
|
},
|
||||||
endUpdateBatch : function(ds) {
|
onEndUpdateBatch : function(ds) {
|
||||||
//debug ("observer: endUpdateBatch");
|
//debug ("observer: onEndUpdateBatch");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -691,11 +691,11 @@ var panel_observer = {
|
|||||||
onMove : function(ds,old_src,new_src,prop,target) {
|
onMove : function(ds,old_src,new_src,prop,target) {
|
||||||
//debug ("observer: move");
|
//debug ("observer: move");
|
||||||
},
|
},
|
||||||
beginUpdateBatch : function(ds) {
|
onBeginUpdateBatch : function(ds) {
|
||||||
//debug ("observer: beginUpdateBatch");
|
//debug ("observer: onBeginUpdateBatch");
|
||||||
},
|
},
|
||||||
endUpdateBatch : function(ds) {
|
onEndUpdateBatch : function(ds) {
|
||||||
//debug ("observer: endUpdateBatch");
|
//debug ("observer: onEndUpdateBatch");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user