From 03cf69df453c7d4e188259e4bfb7317e8e993a33 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 7 Apr 2018 10:48:22 -0400 Subject: [PALEMOON] Finish incomplete ifdef'ing of MOZ_WEBRTC --- application/palemoon/base/content/browser.js | 6 ++++++ application/palemoon/base/content/browser.xul | 6 ++++-- application/palemoon/base/content/popup-notifications.inc | 4 ++-- application/palemoon/components/nsBrowserGlue.js | 6 ++++++ application/palemoon/locales/en-US/chrome/browser/browser.dtd | 2 ++ application/palemoon/locales/jar.mn | 2 +- application/palemoon/modules/moz.build | 6 ++++-- application/palemoon/themes/linux/browser.css | 10 ++++++++++ application/palemoon/themes/linux/jar.mn | 2 ++ application/palemoon/themes/osx/browser.css | 7 ++++++- application/palemoon/themes/osx/jar.mn | 2 ++ application/palemoon/themes/shared/browser.inc | 5 +++++ application/palemoon/themes/windows/browser.css | 7 ++++++- application/palemoon/themes/windows/jar.mn | 2 ++ 14 files changed, 58 insertions(+), 9 deletions(-) (limited to 'application') diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index ffb133963..328cc4975 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -153,7 +153,11 @@ let gInitialPages = [ #include browser-plugins.js #include browser-tabPreviews.js #include browser-thumbnails.js + +#ifdef MOZ_WEBRTC #include browser-webrtcUI.js +#endif + #include browser-gestureSupport.js #ifdef MOZ_SERVICES_SYNC @@ -1020,7 +1024,9 @@ var gBrowserInit = { OfflineApps.init(); IndexedDBPromptHelper.init(); AddonManager.addAddonListener(AddonsMgrListener); +#ifdef MOZ_WEBRTC WebrtcIndicator.init(); +#endif // Ensure login manager is up and running. Services.logins; diff --git a/application/palemoon/base/content/browser.xul b/application/palemoon/base/content/browser.xul index 3044ce675..30b1838ea 100644 --- a/application/palemoon/base/content/browser.xul +++ b/application/palemoon/base/content/browser.xul @@ -440,8 +440,10 @@ +#ifdef MOZ_WEBRTC +#endif @@ -513,7 +515,7 @@ flex="100" persist="width" removable="true"> - +#ifdef MOZ_WEBRTC - +#endif - +#ifdef MOZ_WEBRTC - +#endif