mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Remove the Social API
This commit is contained in:
parent
72d9e76fca
commit
44dc9ecd8e
50 changed files with 16 additions and 2887 deletions
|
|
@ -44,7 +44,6 @@ Cu.import("resource://gre/modules/NotificationDB.jsm");
|
|||
["ShortcutUtils", "resource://gre/modules/ShortcutUtils.jsm"],
|
||||
["SimpleServiceDiscovery", "resource://gre/modules/SimpleServiceDiscovery.jsm"],
|
||||
["SitePermissions", "resource:///modules/SitePermissions.jsm"],
|
||||
["Social", "resource:///modules/Social.jsm"],
|
||||
["TabCrashHandler", "resource:///modules/ContentCrashHandlers.jsm"],
|
||||
["Task", "resource://gre/modules/Task.jsm"],
|
||||
["TelemetryStopwatch", "resource://gre/modules/TelemetryStopwatch.jsm"],
|
||||
|
|
@ -1410,8 +1409,6 @@ var gBrowserInit = {
|
|||
// Enable the Restore Last Session command if needed
|
||||
RestoreLastSessionObserver.init();
|
||||
|
||||
SocialUI.init();
|
||||
|
||||
// Start monitoring slow add-ons
|
||||
AddonWatcher.init();
|
||||
|
||||
|
|
@ -1542,7 +1539,6 @@ var gBrowserInit = {
|
|||
|
||||
gPrefService.removeObserver(ctrlTab.prefName, ctrlTab);
|
||||
ctrlTab.uninit();
|
||||
SocialUI.uninit();
|
||||
gBrowserThumbnails.uninit();
|
||||
FullZoom.destroy();
|
||||
|
||||
|
|
@ -4304,9 +4300,7 @@ var XULBrowserWindow = {
|
|||
|
||||
// Called before links are navigated to to allow us to retarget them if needed.
|
||||
onBeforeLinkTraversal: function(originalTarget, linkURI, linkNode, isAppTab) {
|
||||
let target = BrowserUtils.onBeforeLinkTraversal(originalTarget, linkURI, linkNode, isAppTab);
|
||||
SocialUI.closeSocialPanelForLinkTraversal(target, linkNode);
|
||||
return target;
|
||||
return BrowserUtils.onBeforeLinkTraversal(originalTarget, linkURI, linkNode, isAppTab);
|
||||
},
|
||||
|
||||
// Check whether this URI should load in the current process
|
||||
|
|
@ -4487,8 +4481,6 @@ var XULBrowserWindow = {
|
|||
|
||||
gIdentityHandler.onLocationChange();
|
||||
|
||||
SocialUI.updateState();
|
||||
|
||||
UITour.onLocationChange(location);
|
||||
|
||||
gTabletModePageCounter.inc();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue