Bug 614183 - Remove ancient extensions/access-builtin, r=surkov, a=NPOTB
authorPhil Ringnalda <philringnalda@gmail.com>
Mon, 22 Nov 2010 23:09:41 -0800
changeset 58743 b8effdadc4af9d9fe030bba1d98284b95b1a9b60
parent 58742 a99f870ea8b7c9333d6b417280a26cdc87991418
child 58744 73ba6e1c2b05786f249c943131861b2594b39f98
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewerssurkov, NPOTB
bugs614183
milestone2.0b8pre
Bug 614183 - Remove ancient extensions/access-builtin, r=surkov, a=NPOTB
extensions/access-builtin/Makefile.in
extensions/access-builtin/README
extensions/access-builtin/accessproxy/Makefile.in
extensions/access-builtin/accessproxy/nsAccessProxy.cpp
extensions/access-builtin/accessproxy/nsAccessProxy.h
extensions/access-builtin/accessproxy/nsAccessProxyRegistration.cpp
extensions/access-builtin/accessproxy/nsIAccessProxy.idl
extensions/access-builtin/makefiles.sh
deleted file mode 100644
--- a/extensions/access-builtin/Makefile.in
+++ /dev/null
@@ -1,47 +0,0 @@
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is mozilla.org Code.
-#
-# The Initial Developer of the Original Code is
-# Aaron Leventhal.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH		= ../..
-topsrcdir	= @top_srcdir@
-srcdir		= @srcdir@
-VPATH		= @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-DIRS		= accessproxy
-
-include $(topsrcdir)/config/rules.mk
-
deleted file mode 100644
--- a/extensions/access-builtin/README
+++ /dev/null
@@ -1,58 +0,0 @@
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is mozilla.org Code.
-#
-# The Initial Developer of the Original Code is
-# Aaron Leventhal.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-This is the access-builtin module
-
-This module creates a preference in Mozilla for browsing with text-to-speech, and eventually
-with a brailled display.
-
-See http://access-mozilla.sourceforge.net
-
-On UNIX or Linux, enable this as part of the build with
-./configure --with-extensions=default,accessibility
-
-On Windows you will need to manually perform the make in this directory.
-
-Mac builds are not enabled yet.
-
-To use, you must add these lines to prefs.js in your profile directory.
-user_pref("accessibility.browsewithcaret", true);
-user_pref("accessibility.usetexttospeech", "ViaVoice");
-
-The actual text-to-speech conversion is temporarily broken.
-However, the debug console window will tell you what would be spoken.
-
-Normally, you would need to get the free download of IBM ViaVoice.
deleted file mode 100644
--- a/extensions/access-builtin/accessproxy/Makefile.in
+++ /dev/null
@@ -1,71 +0,0 @@
-#!gmake
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is mozilla.org Code.
-#
-# The Initial Developer of the Original Code is
-# Aaron Leventhal.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH = ../../..
-topsrcdir = @top_srcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-MODULE = accessproxy
-XPIDL_MODULE = accessproxy
-LIBRARY_NAME = accessproxy
-SHORT_LIBNAME = accproxy
-MOZILLA_INTERNAL_API = 1
-
-EXPORT_LIBRARY = 1
-IS_COMPONENT = 1
-MODULE_NAME	= nsAccessProxy
-
-# Don't install. At the moment we only want to build this extension
-# for inclusion in 3rd party assistive technology installers, 
-# not as part of our own installation
-NO_INSTALL = 1
-NO_DIST_INSTALL = 1
-
-CPPSRCS =   \
-  nsAccessProxy.cpp	   \
-  nsAccessProxyRegistration.cpp \
-  $(NULL)
-
-XPIDLSRCS	= nsIAccessProxy.idl
-
-include $(topsrcdir)/config/rules.mk
-
-EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
-
deleted file mode 100644
--- a/extensions/access-builtin/accessproxy/nsAccessProxy.cpp
+++ /dev/null
@@ -1,297 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
- *
- * ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org Code.
- *
- * The Initial Developer of the Original Code is
- * Aaron Leventhal.
- * Portions created by the Initial Developer are Copyright (C) 2001
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-#include "nsCOMPtr.h"
-#include "nsMemory.h"
-#include "nsIServiceManager.h"
-#include "nsIObserverService.h"
-#include "nsIGenericFactory.h"
-#include "nsIWebProgress.h"
-#include "nsCURILoader.h"
-#include "nsIDocShell.h"
-#include "nsIDOMWindow.h"
-#include "nsIDOMWindowInternal.h"
-#include "nsIDOMEventTarget.h"
-#include "nsIDOMNSEvent.h"
-#include "nsIPrefBranch.h"
-#include "nsIPrefService.h"
-
-#include "nsIRegistry.h"
-#include "nsString.h"
-
-#include "nsIDOMNode.h"
-#include "nsIPresShell.h"
-#include "nsIDOMDocument.h"
-#include "nsIDocument.h"
-#include "nsISelection.h"
-#include "nsISelectionController.h"
-#include "nsCaret.h"
-
-// Header for this class
-#include "nsAccessProxy.h"
-
-// #define NS_DEBUG_ACCESS_BUILTIN 1
-
-
-////////////////////////////////////////////////////////////////////////
-
-
-NS_IMPL_ISUPPORTS4(nsAccessProxy, nsIObserver, nsISupportsWeakReference, nsIWebProgressListener, nsIDOMEventListener)
-
-nsAccessProxy* nsAccessProxy::mInstance = nsnull;
-
-nsAccessProxy::nsAccessProxy()
-{
-}
-
-nsAccessProxy::~nsAccessProxy()
-{
-}
-
-nsAccessProxy *nsAccessProxy::GetInstance()
-{
-  if (mInstance == nsnull) {
-    mInstance = new nsAccessProxy();
-    // Will be released in the module destructor
-    NS_IF_ADDREF(mInstance);
-  }
-
-  NS_IF_ADDREF(mInstance);
-  return mInstance;
-}
-
-void nsAccessProxy::ReleaseInstance()
-{
-  NS_IF_RELEASE(nsAccessProxy::mInstance);
-}
-
-
-NS_IMETHODIMP nsAccessProxy::HandleEvent(nsIDOMEvent* aEvent)
-{
-  nsresult rv;
-
-  //////// Get Type of Event into a string called eventName ///////
-  nsAutoString eventNameStr;
-  rv=aEvent->GetType(eventNameStr);
-  if (NS_FAILED(rv))
-    return rv;
-  // Print event name and styles debugging messages
-  #ifdef NS_DEBUG_ACCESS_BUILTIN
-  printf("\n==== %s event occurred ====\n",NS_ConvertUTF16toUTF8(eventNameStr).get());
-  #endif
-
-  ////////// Get Target Node - place in document where event was fired ////////////
-  nsCOMPtr<nsIDOMEventTarget> targetNode;
-
-  nsCOMPtr<nsIDOMNSEvent> nsevent(do_QueryInterface(aEvent));
-
-  if (nsevent) {
-    rv = nsevent->GetOriginalTarget(getter_AddRefs(targetNode));
-
-    if (NS_FAILED(rv))
-      return rv;
-  }
-
-  if (!targetNode)
-    return NS_ERROR_NULL_POINTER;
-  nsCOMPtr<nsIDOMNode> domNode = do_QueryInterface(targetNode);
-  if (!domNode)
-    return NS_OK;
-
-  // get the Document and PresShell
-  nsCOMPtr<nsIDOMDocument> domDoc;
-  nsIPresShell *presShell = nsnull;
-  nsCOMPtr<nsIDocument> doc;
-  domNode->GetOwnerDocument(getter_AddRefs(domDoc));
-  if (domDoc) {
-    doc = do_QueryInterface(domDoc);
-    if (doc) {
-      presShell = doc->GetShell();
-    }
-  }
-  //return  NS_OK;
-  /*
-  if (presShell && eventNameStr.EqualsLiteral("click")) {
-    nsCOMPtr<nsISelection> domSelection;
-    presShell->FrameSelection()->GetSelection(nsISelectionController::SELECTION_NORMAL,
-                            getter_AddRefs(domSelection));
-    if (!domSelection)
-      return NS_OK;
-    nsCOMPtr<nsIDOMNode> focusDomNode;
-    domSelection->GetAnchorNode(getter_AddRefs(focusDomNode));
-    if (focusDomNode) domNode=focusDomNode;
-    // first, tell the caret which selection to use
-    nsRefPtr<nsCaret> caret;
-    presShell->GetCaret(getter_AddRefs(caret));
-    if (!caret) return NS_OK;
-    caret->SetCaretDOMSelection(domSelection);
-    // tell the pres shell to enable the caret, rather than settings its visibility directly.
-    // this way the presShell's idea of caret visibility is maintained.
-    nsCOMPtr<nsISelectionController> selCon = do_QueryInterface(presShell);
-    if (!selCon) return NS_ERROR_NO_INTERFACE;
-    selCon->SetCaretEnabled(PR_TRUE);
-    caret->SetCaretVisible(PR_TRUE);
-  }
-  */
-
-  return NS_OK;
-}
-
-
-// This method gets called on application startup
-NS_IMETHODIMP nsAccessProxy::Observe(nsISupports *aSubject, const char *aTopic, const PRUnichar *aData) 
-{
-  static PRBool accessProxyInstalled;
-
-  nsresult rv = NS_OK;
-  nsDependentCString aTopicString(aTopic);
-
-  if (accessProxyInstalled && aTopicString.EqualsLiteral(NS_XPCOM_SHUTDOWN_OBSERVER_ID))
-    return Release();
-
-  if (!accessProxyInstalled && aTopicString.EqualsLiteral(APPSTARTUP_CATEGORY)) {
-    accessProxyInstalled = PR_TRUE; // Set to TRUE even for failure cases - we don't want to try more than once
-    nsCOMPtr<nsIWebProgress> progress(do_GetService(NS_DOCUMENTLOADER_SERVICE_CONTRACTID));
-    rv = NS_ERROR_FAILURE;
-    if (progress) {
-      rv = progress->AddProgressListener(static_cast<nsIWebProgressListener*>(this),
-                                         nsIWebProgress::NOTIFY_STATE_DOCUMENT);
-      if (NS_SUCCEEDED(rv))
-        AddRef();
-    }
-     // install xpcom shutdown observer
-    if (NS_SUCCEEDED(rv)) {
-      nsCOMPtr<nsIObserverService> observerService(do_GetService("@mozilla.org/observer-service;1", &rv));
-      if (NS_SUCCEEDED(rv)) 
-        rv = observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, PR_TRUE);
-    }
-  }
-  return rv;
-}
-
-
-NS_IMETHODIMP nsAccessProxy::OnStateChange(nsIWebProgress *aWebProgress,
-  nsIRequest *aRequest, PRUint32 aStateFlags, nsresult aStatus)
-{
-/* PRUint32 aStateFlags ...
- *
- * ===== What has happened =====	
- * STATE_START, STATE_REDIRECTING, STATE_TRANSFERRING,
- * STATE_NEGOTIATING, STATE_STOP
-
- * ===== Where did it occur? =====
- * STATE_IS_REQUEST, STATE_IS_DOCUMENT, STATE_IS_NETWORK, STATE_IS_WINDOW
-
- * ===== Security info =====
- * STATE_IS_INSECURE, STATE_IS_BROKEN, STATE_IS_SECURE, STATE_SECURE_HIGH
- * STATE_SECURE_MED, STATE_SECURE_LOW
- *
- */
-
-  if ((aStateFlags & (STATE_STOP|STATE_START)) && (aStateFlags & STATE_IS_DOCUMENT)) {
-    // Test for built in text to speech or braille display usage preference
-    // If so, attach event handlers to window. If not, don't.
-    nsCOMPtr<nsIPrefBranch> prefBranch(do_GetService(NS_PREFSERVICE_CONTRACTID));
-    nsXPIDLCString textToSpeechEngine, brailleDisplayEngine;
-    if (prefBranch) {
-      prefBranch->GetCharPref("accessibility.usetexttospeech", getter_Copies(textToSpeechEngine));
-      prefBranch->GetCharPref("accessibility.usebrailledisplay", getter_Copies(brailleDisplayEngine));
-    }
-
-    if ((textToSpeechEngine && *textToSpeechEngine) || (brailleDisplayEngine && *brailleDisplayEngine)) {  
-      // Yes, prefs say we will need handlers for this 
-      nsCOMPtr<nsIDOMWindow> domWindow;
-      aWebProgress->GetDOMWindow(getter_AddRefs(domWindow));
-
-      if (domWindow) {
-        nsCOMPtr<nsIDOMEventTarget> eventTarget = do_QueryInterface(domWindow);
-        nsCOMPtr<nsIDOMWindowInternal> windowInternal = do_QueryInterface(domWindow);
-        nsCOMPtr<nsIDOMWindowInternal> opener;
-        if (windowInternal)
-          windowInternal->GetOpener(getter_AddRefs(opener));
-        if (eventTarget && opener) {
-          eventTarget->AddEventListener(NS_LITERAL_STRING("keyup"), this, PR_FALSE);
-          eventTarget->AddEventListener(NS_LITERAL_STRING("keypress"), this, PR_FALSE);
-          eventTarget->AddEventListener(NS_LITERAL_STRING("focus"), this, PR_FALSE);
-          eventTarget->AddEventListener(NS_LITERAL_STRING("load"), this, PR_FALSE);
-          eventTarget->AddEventListener(NS_LITERAL_STRING("click"), this, PR_FALSE); // for debugging
-        }
-      }
-    }
-  }
-
-  return NS_OK;
-}
-
-/* void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aCurSelfProgress, in long aMaxSelfProgress, in long aCurTotalProgress, in long aMaxTotalProgress); */
-NS_IMETHODIMP nsAccessProxy::OnProgressChange(nsIWebProgress *aWebProgress,
-  nsIRequest *aRequest, PRInt32 aCurSelfProgress, PRInt32 aMaxSelfProgress,
-  PRInt32 aCurTotalProgress, PRInt32 aMaxTotalProgress)
-{
-  // We can use this to report the percentage done
-  NS_NOTREACHED("notification excluded in AddProgressListener(...)");
-  return NS_OK;
-}
-
-/* void onLocationChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsIURI location); */
-NS_IMETHODIMP nsAccessProxy::OnLocationChange(nsIWebProgress *aWebProgress,
-  nsIRequest *aRequest, nsIURI *location)
-{
-  // Load has been verified, it will occur, about to commence
-  NS_NOTREACHED("notification excluded in AddProgressListener(...)");
-  return NS_OK;
-}
-
-/* void onStatusChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsresult aStatus, in wstring aMessage); */
-NS_IMETHODIMP nsAccessProxy::OnStatusChange(nsIWebProgress *aWebProgress,
-  nsIRequest *aRequest, nsresult aStatus, const PRUnichar *aMessage)
-{
-  // Status bar has changed
-  NS_NOTREACHED("notification excluded in AddProgressListener(...)");
-  return NS_OK;
-}
-
-/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
-NS_IMETHODIMP nsAccessProxy::OnSecurityChange(nsIWebProgress *aWebProgress,
-  nsIRequest *aRequest, PRUint32 state)
-{
-  // Security setting has changed
-  NS_NOTREACHED("notification excluded in AddProgressListener(...)");
-  return NS_OK;
-}
-
deleted file mode 100644
--- a/extensions/access-builtin/accessproxy/nsAccessProxy.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
- *
- * ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org Code.
- *
- * The Initial Developer of the Original Code is
- * Aaron Leventhal.
- * Portions created by the Initial Developer are Copyright (C) 2001
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-/**
- * This file is the header of an implementation
- * nsAccessProxy of the nsIAccessProxy interface.
- */
-
-#include "nsIAccessProxy.h"
-#include "nsIDOMEventListener.h"
-#include "nsIWebProgressListener.h"
-#include "nsWeakReference.h"
-#include "nsIObserver.h"
-#include "nsIAppStartupNotifier.h"
-
-
-/**
- * AccessProxy is an implementation of the nsIAccessProxy interface.  In XPCOM,
- * there can be more than one implementation of an given interface.  Class
- * IDs (CIDs) uniquely identify a particular implementation of an interface.
- * Interface IDs (IIDs) uniquely identify an interface.
- *
- * The CID is also a unique number that looks just like an IID
- * and uniquely identifies an implementation
- * {7CB5B7A0-07D7-11d3-BDE2-000064657374}
- */
-
-
-class nsAccessProxy : public nsIDOMEventListener,
-                      public nsIObserver,
-                      public nsIWebProgressListener,
-                      public nsSupportsWeakReference
-{
-public:
-  nsAccessProxy();
-  virtual ~nsAccessProxy();
-
-  NS_DEFINE_STATIC_CID_ACCESSOR(NS_ACCESSPROXY_CID);
-
-  NS_DECL_ISUPPORTS  // This macro expands into declaration of nsISupports interface
-  NS_DECL_NSIOBSERVER
-  NS_DECL_NSIWEBPROGRESSLISTENER
-
-  //NS_DECL_NSIACCESSPROXY
-  NS_IMETHOD HandleEvent(nsIDOMEvent *event);  
-
-  static nsAccessProxy *GetInstance();
-  static void ReleaseInstance(void);
-
-private:
-  static nsAccessProxy *mInstance;
-};
deleted file mode 100644
--- a/extensions/access-builtin/accessproxy/nsAccessProxyRegistration.cpp
+++ /dev/null
@@ -1,93 +0,0 @@
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
- * 
- * ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org Code.
- *
- * The Initial Developer of the Original Code is
- * Aaron Leventhal.
- * Portions created by the Initial Developer are Copyright (C) 2001
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-#include "nsIGenericFactory.h"
-#include "nsAccessProxy.h"
-#include "nsIServiceManager.h"
-#include "nsIRegistry.h"
-#include "prprf.h"
-#include "nsCRT.h"
-#include "nsICategoryManager.h"
-
-////////////////////////////////////////////////////////////////////////
-// Define a table of CIDs implemented by this module along with other
-// information like the function to create an instance, contractid, and
-// class name.
-//
-// The Registration and Unregistration proc are optional in the structure.
-//
-
-
-// This function is called at component registration time
-static NS_METHOD nsAccessProxyRegistrationProc(nsIComponentManager *aCompMgr,
-  nsIFile *aPath, const char *registryLocation, const char *componentType,
-  const nsModuleComponentInfo *info)
-{
-  // This function performs the extra step of installing us as
-  // an application component. This makes sure that we're
-  // initialized on application startup.
-
-  nsresult rv;
-  nsCOMPtr<nsICategoryManager> categoryManager(do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv));
-  if (NS_SUCCEEDED(rv)) 
-    rv = categoryManager->AddCategoryEntry(APPSTARTUP_CATEGORY, "Access Proxy", 
-      "service," NS_ACCESSPROXY_CONTRACTID, PR_TRUE, PR_TRUE, nsnull);
-  return rv;
-}
-
-
-NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsAccessProxy,nsAccessProxy::GetInstance)
-
-static void AccessProxyModuleDtor(nsIModule* self)
-{
-    nsAccessProxy::ReleaseInstance();
-}
-
-static const nsModuleComponentInfo components[] =
-{
-  { "AccessProxy Component", NS_ACCESSPROXY_CID, NS_ACCESSPROXY_CONTRACTID,
-    nsAccessProxyConstructor, nsAccessProxyRegistrationProc,
-    nsnull  // Unregistration proc
-  }
-};
-
-NS_IMPL_NSGETMODULE_WITH_DTOR(nsAccessProxy, components, AccessProxyModuleDtor)
-
-
-
-
deleted file mode 100644
--- a/extensions/access-builtin/accessproxy/nsIAccessProxy.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
- * ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org Code.
- *
- * The Initial Developer of the Original Code is
- * Aaron Leventhal.
- * Portions created by the Initial Developer are Copyright (C) 2001
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-/**
- * A accessproxy of XPConnect. This file contains a accessproxy interface.
- *
- */
-
-#include "nsISupports.idl"
-#include "domstubs.idl"
-
-%{ C++
-  #include "nsIDOMEvent.h"
-
-  #define NS_ACCESSPROXY_CID \
-    { 0x5500c0d7, 0xdcc3, 0x4786, { 0xb4, 0x2f, 0xc2, 0x74, 0xb8, 0xc0, 0x7f, 0x72 } }
-
-  #define NS_ACCESSPROXY_CONTRACTID "@mozilla.org/accessproxy;1"
-%}
-
-interface nsIDOMEvent;
-
-[uuid(27B1B140-2939-432a-9B59-3A4C6B11B6C3)]
-interface nsIAccessProxy : nsISupports
-{
-  void handleEvent(in nsIDOMEvent event);
-};
-
-
-
deleted file mode 100755
--- a/extensions/access-builtin/makefiles.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#! /bin/sh
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is Mozilla Build System
-#
-# The Initial Developer of the Original Code is
-# Ben Turner <mozilla@songbirdnest.com>
-#
-# Portions created by the Initial Developer are Copyright (C) 2007
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-add_makefiles "
-  extensions/access-builtin/Makefile
-  extensions/access-builtin/accessproxy/Makefile
-"