From 5f89c3da66862d82fa27092986c4065aba3574ff Mon Sep 17 00:00:00 2001
From: Ascrod <32915892+Ascrod@users.noreply.github.com>
Date: Wed, 30 May 2018 17:45:05 -0400
Subject: Remove Social API.
---
browser/app/profile/firefox.js | 7 -
browser/base/content/aboutProviderDirectory.xhtml | 60 --
browser/base/content/aboutSocialError.xhtml | 111 --
browser/base/content/browser-context.inc | 20 -
browser/base/content/browser-sets.inc | 3 -
browser/base/content/browser-social.js | 503 ---------
browser/base/content/browser.css | 5 -
browser/base/content/browser.js | 10 +-
browser/base/content/browser.xul | 26 -
browser/base/content/content.js | 31 -
browser/base/content/global-scripts.inc | 1 -
browser/base/content/nsContextMenu.js | 47 +-
browser/base/content/social-content.js | 172 ---
browser/base/content/web-panels.xul | 1 -
browser/base/jar.mn | 4 -
browser/components/about/AboutRedirector.cpp | 10 -
browser/components/build/nsModule.cpp | 2 -
.../customizableui/CustomizableWidgets.jsm | 41 -
.../customizableui/content/panelUI.inc.xul | 2 -
browser/docs/UITelemetry.rst | 1 -
browser/locales/en-US/chrome/browser/browser.dtd | 25 +-
.../en-US/chrome/browser/browser.properties | 23 -
.../customizableui/customizableWidgets.properties | 3 -
browser/modules/BrowserUITelemetry.jsm | 11 +-
browser/modules/Social.jsm | 272 -----
browser/modules/SocialService.jsm | 1097 --------------------
browser/modules/moz.build | 2 -
browser/themes/linux/browser.css | 50 -
browser/themes/linux/customizableui/panelUI.css | 8 -
browser/themes/linux/jar.mn | 4 -
browser/themes/osx/browser.css | 88 --
browser/themes/osx/jar.mn | 4 -
browser/themes/shared/aboutProviderDirectory.css | 30 -
browser/themes/shared/browser.inc | 2 +-
.../themes/shared/customizableui/panelUI.inc.css | 4 -
browser/themes/shared/jar.inc.mn | 4 -
browser/themes/shared/menupanel.inc.css | 10 -
browser/themes/shared/notification-icons.inc.css | 22 -
browser/themes/shared/social/gear_clicked.png | Bin 1262 -> 0 bytes
browser/themes/shared/social/gear_default.png | Bin 1271 -> 0 bytes
browser/themes/shared/social/social.inc.css | 23 -
browser/themes/shared/toolbarbuttons.inc.css | 8 -
browser/themes/windows/browser.css | 75 --
browser/themes/windows/customizableui/panelUI.css | 8 -
browser/themes/windows/jar.mn | 2 -
45 files changed, 16 insertions(+), 2816 deletions(-)
delete mode 100644 browser/base/content/aboutProviderDirectory.xhtml
delete mode 100644 browser/base/content/aboutSocialError.xhtml
delete mode 100644 browser/base/content/browser-social.js
delete mode 100644 browser/base/content/social-content.js
delete mode 100644 browser/modules/Social.jsm
delete mode 100644 browser/modules/SocialService.jsm
delete mode 100644 browser/themes/shared/aboutProviderDirectory.css
delete mode 100644 browser/themes/shared/social/gear_clicked.png
delete mode 100644 browser/themes/shared/social/gear_default.png
delete mode 100644 browser/themes/shared/social/social.inc.css
(limited to 'browser')
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
index e432c511d..ede62fd5e 100644
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1118,13 +1118,6 @@ pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false);
// (This is intentionally on the high side; see bug 746055.)
pref("image.mem.max_decoded_image_kb", 256000);
-pref("social.sidebar.unload_timeout_ms", 10000);
-
-// Activation from inside of share panel is possible if activationPanelEnabled
-// is true. Pref'd off for release while usage testing is done through beta.
-pref("social.share.activationPanelEnabled", true);
-pref("social.shareDirectory", "https://activations.cdn.mozilla.net/sharePanel.html");
-
// Block insecure active content on https pages
pref("security.mixed_content.block_active_content", true);
diff --git a/browser/base/content/aboutProviderDirectory.xhtml b/browser/base/content/aboutProviderDirectory.xhtml
deleted file mode 100644
index 596ede4b3..000000000
--- a/browser/base/content/aboutProviderDirectory.xhtml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
- %htmlDTD;
-
- %brandDTD;
-
- %browserDTD;
-]>
-
-
-
- &social.directory.label;
-
-
-
-
-
-
-
&social.directory.text;
-
-
-
-
-
-
-
-
-
-
diff --git a/browser/base/content/aboutSocialError.xhtml b/browser/base/content/aboutSocialError.xhtml
deleted file mode 100644
index 94a4e3dbd..000000000
--- a/browser/base/content/aboutSocialError.xhtml
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
-
- %htmlDTD;
-
- %netErrorDTD;
-]>
-
-
-
- &loadError.label;
-
-
-
-
-
-
-
-
-
-
-
diff --git a/browser/base/content/browser-context.inc b/browser/base/content/browser-context.inc
index 3061cccdd..9fa90b11c 100644
--- a/browser/base/content/browser-context.inc
+++ b/browser/base/content/browser-context.inc
@@ -85,10 +85,6 @@
label="&bookmarkThisLinkCmd.label;"
accesskey="&bookmarkThisLinkCmd.accesskey;"
oncommand="gContextMenu.bookmarkLink();"/>
-
-
-
-
-