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) { },
|
||||
onMove: function(ds, old_src, new_src, prop, target) { },
|
||||
beginUpdateBatch: function(ds) { },
|
||||
endUpdateBatch: function(ds) { }
|
||||
onBeginUpdateBatch: function(ds) { },
|
||||
onEndUpdateBatch: function(ds) { }
|
||||
};
|
||||
|
||||
function
|
||||
|
@ -223,14 +223,12 @@ nsHistoryController.prototype =
|
||||
if (!gGlobalHistory)
|
||||
gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);
|
||||
gGlobalHistory.removePagesFromHost(gLastHostname, false)
|
||||
gHistoryTree.builder.rebuild();
|
||||
return true;
|
||||
|
||||
case "cmd_deleteByDomain":
|
||||
if (!gGlobalHistory)
|
||||
gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;1"].getService(Components.interfaces.nsIBrowserHistory);
|
||||
gGlobalHistory.removePagesFromHost(gLastDomain, true)
|
||||
gHistoryTree.builder.rebuild();
|
||||
return true;
|
||||
|
||||
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) {
|
||||
//debug ("observer: move");
|
||||
},
|
||||
beginUpdateBatch : function(ds) {
|
||||
//debug ("observer: beginUpdateBatch");
|
||||
onBeginUpdateBatch : function(ds) {
|
||||
//debug ("observer: onBeginUpdateBatch");
|
||||
},
|
||||
endUpdateBatch : function(ds) {
|
||||
//debug ("observer: endUpdateBatch");
|
||||
onEndUpdateBatch : function(ds) {
|
||||
//debug ("observer: onEndUpdateBatch");
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -691,11 +691,11 @@ var panel_observer = {
|
||||
onMove : function(ds,old_src,new_src,prop,target) {
|
||||
//debug ("observer: move");
|
||||
},
|
||||
beginUpdateBatch : function(ds) {
|
||||
//debug ("observer: beginUpdateBatch");
|
||||
onBeginUpdateBatch : function(ds) {
|
||||
//debug ("observer: onBeginUpdateBatch");
|
||||
},
|
||||
endUpdateBatch : function(ds) {
|
||||
//debug ("observer: endUpdateBatch");
|
||||
onEndUpdateBatch : function(ds) {
|
||||
//debug ("observer: onEndUpdateBatch");
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user