summaryrefslogtreecommitdiffstats
path: root/components/feeds/content
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2020-04-20 20:49:37 -0700
committerThomas Groman <tgroman@nuegia.net>2020-04-20 20:49:37 -0700
commitf9cab004186edb425a9b88ad649726605080a17c (patch)
treee2dae51d3144e83d097a12e7a1499e3ea93f90be /components/feeds/content
parentf428692de8b59ab89a66502c079e1823dfda8aeb (diff)
downloadwebbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar
webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar.gz
webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar.lz
webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar.xz
webbrowser-f9cab004186edb425a9b88ad649726605080a17c.zip
move browser to webbrowser/
Diffstat (limited to 'components/feeds/content')
-rw-r--r--components/feeds/content/subscribe.css7
-rw-r--r--components/feeds/content/subscribe.js23
-rw-r--r--components/feeds/content/subscribe.xhtml65
-rw-r--r--components/feeds/content/subscribe.xml40
4 files changed, 0 insertions, 135 deletions
diff --git a/components/feeds/content/subscribe.css b/components/feeds/content/subscribe.css
deleted file mode 100644
index bf2524d..0000000
--- a/components/feeds/content/subscribe.css
+++ /dev/null
@@ -1,7 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#feedSubscribeLine {
- -moz-binding: url(subscribe.xml#feedreaderUI);
-}
diff --git a/components/feeds/content/subscribe.js b/components/feeds/content/subscribe.js
deleted file mode 100644
index ab2eac4..0000000
--- a/components/feeds/content/subscribe.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-var SubscribeHandler = {
- /**
- * The nsIFeedWriter object that produces the UI
- */
- _feedWriter: null,
-
- init: function SH_init() {
- this._feedWriter = new BrowserFeedWriter();
- },
-
- writeContent: function SH_writeContent() {
- this._feedWriter.writeContent();
- },
-
- uninit: function SH_uninit() {
- this._feedWriter.close();
- }
-};
diff --git a/components/feeds/content/subscribe.xhtml b/components/feeds/content/subscribe.xhtml
deleted file mode 100644
index 8ad069f..0000000
--- a/components/feeds/content/subscribe.xhtml
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-
-<!DOCTYPE html [
- <!ENTITY % htmlDTD
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "DTD/xhtml1-strict.dtd">
- %htmlDTD;
- <!ENTITY % globalDTD
- SYSTEM "chrome://global/locale/global.dtd">
- %globalDTD;
- <!ENTITY % feedDTD
- SYSTEM "chrome://browser/locale/feeds/subscribe.dtd">
- %feedDTD;
-]>
-
-<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
-
-<html id="feedHandler"
- xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>&feedPage.title;</title>
- <link rel="stylesheet"
- href="chrome://browser/skin/feeds/subscribe.css"
- type="text/css"
- media="all"/>
- <link rel="stylesheet"
- href="chrome://browser/content/feeds/subscribe.css"
- type="text/css"
- media="all"/>
- <script type="application/javascript"
- src="chrome://browser/content/feeds/subscribe.js"/>
- </head>
- <body onload="SubscribeHandler.writeContent();" onunload="SubscribeHandler.uninit();">
- <div id="feedHeaderContainer">
- <div id="feedHeader" dir="&locale.dir;">
- <div id="feedIntroText">
- <p id="feedSubscriptionInfo1" />
- <p id="feedSubscriptionInfo2" />
- </div>
- <div id="feedSubscribeLine"></div>
- </div>
- </div>
-
- <script type="application/javascript">
- SubscribeHandler.init();
- </script>
-
- <div id="feedBody">
- <div id="feedTitle">
- <a id="feedTitleLink">
- <img id="feedTitleImage"/>
- </a>
- <div id="feedTitleContainer">
- <h1 id="feedTitleText"/>
- <h2 id="feedSubtitleText"/>
- </div>
- </div>
- <div id="feedContent"/>
- </div>
- </body>
-</html>
diff --git a/components/feeds/content/subscribe.xml b/components/feeds/content/subscribe.xml
deleted file mode 100644
index 949bcfd..0000000
--- a/components/feeds/content/subscribe.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this
- - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-
-<!DOCTYPE bindings [
- <!ENTITY % feedDTD
- SYSTEM "chrome://browser/locale/feeds/subscribe.dtd">
- %feedDTD;
-]>
-<bindings id="feedBindings"
- xmlns="http://www.mozilla.org/xbl"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <binding id="feedreaderUI" bindToUntrustedContent="true">
- <content>
- <xul:vbox>
- <xul:hbox align="center">
- <xul:description anonid="subscribeUsingDescription" class="subscribeUsingDescription"/>
- <xul:menulist anonid="handlersMenuList" class="handlersMenuList" aria-labelledby="subscribeUsingDescription">
- <xul:menupopup anonid="handlersMenuPopup" class="handlersMenuPopup">
- <xul:menuitem anonid="liveBookmarksMenuItem" label="&feedLiveBookmarks;" class="menuitem-iconic liveBookmarksMenuItem" image="chrome://browser/skin/page-livemarks.png" selected="true"/>
- <xul:menuseparator/>
- </xul:menupopup>
- </xul:menulist>
- </xul:hbox>
- <xul:hbox>
- <xul:checkbox anonid="alwaysUse" class="alwaysUse" checked="false"/>
- </xul:hbox>
- <xul:hbox align="center">
- <xul:spacer flex="1"/>
- <xul:button label="&feedSubscribeNow;" anonid="subscribeButton" class="subscribeButton"/>
- </xul:hbox>
- </xul:vbox>
- </content>
- <resources>
- <stylesheet src="chrome://browser/skin/feeds/subscribe-ui.css"/>
- </resources>
- </binding>
-</bindings>
-