aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-03-10 17:10:36 +0800
committerChristian Persch <chpe@src.gnome.org>2008-03-10 17:10:36 +0800
commitcd2edcbec038a8e40c4f9f20e48d0d05cf77b842 (patch)
treeb1c3fb1138f5ad311aa3983a040d772a066bfd1b
parent2545cc5436669a27746031e5496ef57f60ecd1a5 (diff)
downloadgsoc2013-epiphany-cd2edcbec038a8e40c4f9f20e48d0d05cf77b842.tar
gsoc2013-epiphany-cd2edcbec038a8e40c4f9f20e48d0d05cf77b842.tar.gz
gsoc2013-epiphany-cd2edcbec038a8e40c4f9f20e48d0d05cf77b842.tar.bz2
gsoc2013-epiphany-cd2edcbec038a8e40c4f9f20e48d0d05cf77b842.tar.lz
gsoc2013-epiphany-cd2edcbec038a8e40c4f9f20e48d0d05cf77b842.tar.xz
gsoc2013-epiphany-cd2edcbec038a8e40c4f9f20e48d0d05cf77b842.tar.zst
gsoc2013-epiphany-cd2edcbec038a8e40c4f9f20e48d0d05cf77b842.zip
Remove this patch that was accidentally committed on the branch instead of on trunk
svn path=/branches/gnome-2-22/; revision=8085
-rw-r--r--embed/mozilla/EphyLoginPrompter.cpp75
-rw-r--r--embed/mozilla/EphyLoginPrompter.h45
2 files changed, 0 insertions, 120 deletions
diff --git a/embed/mozilla/EphyLoginPrompter.cpp b/embed/mozilla/EphyLoginPrompter.cpp
deleted file mode 100644
index ff9f7f956..000000000
--- a/embed/mozilla/EphyLoginPrompter.cpp
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright © 2005, 2006, 2008 Christian Persch
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- */
-
-#include "mozilla-config.h"
-#include "config.h"
-
-#include <glib/gi18n.h>
-
-#include <nsStringAPI.h>
-
-#include "EphyUtils.h"
-
-#include "ephy-debug.h"
-#include "ephy-embed.h"
-
-#include "EphyLoginPrompter.h"
-
-EphyLoginPrompter::EphyLoginPrompter ()
-{
- LOG ("EphyLoginPrompter ctor (%p)", this);
-}
-
-EphyLoginPrompter::~EphyLoginPrompter()
-{
-}
-
-NS_IMPL_ISUPPORTS1 (EphyLoginPrompter,
- nsILoginManagerPrompter)
-
-/* void init (in nsIDOMWindow aWindow); */
-NS_IMETHODIMP EphyLoginPrompter::Init(nsIDOMWindow *aWindow)
-{
- mWindow = aWindow;
-
- /* Ensure it's one of ours */
- GtkWidget *embed = EphyUtils::FindGtkParent (aWindow);
- NS_ENSURE_TRUE (embed, NS_ERROR_FAILURE);
-
- return NS_OK;
-}
-
-/* void promptToSavePassword (in nsILoginInfo aLogin); */
-NS_IMETHODIMP EphyLoginPrompter::PromptToSavePassword(nsILoginInfo *aLogin)
-{
- return NS_ERROR_NOT_IMPLEMENTED;
-}
-
-/* void promptToChangePassword (in nsILoginInfo aOldLogin, in nsILoginInfo aNewLogin); */
-NS_IMETHODIMP EphyLoginPrompter::PromptToChangePassword(nsILoginInfo *aOldLogin, nsILoginInfo *aNewLogin)
-{
- return NS_ERROR_NOT_IMPLEMENTED;
-}
-
-/* void promptToChangePasswordWithUsernames ([array, size_is (count)] in nsILoginInfo logins, in PRUint32 count, in nsILoginInfo aNewLogin); */
-NS_IMETHODIMP EphyLoginPrompter::PromptToChangePasswordWithUsernames(nsILoginInfo **logins, PRUint32 count, nsILoginInfo *aNewLogin)
-{
- return NS_ERROR_NOT_IMPLEMENTED;
-}
-
diff --git a/embed/mozilla/EphyLoginPrompter.h b/embed/mozilla/EphyLoginPrompter.h
deleted file mode 100644
index 2cdbdeb5b..000000000
--- a/embed/mozilla/EphyLoginPrompter.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright © 2005, 2006, 2008 Christian Persch
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef EPHY_LOGIN_PROMPTER_H
-#define EPHY_LOGIN_PROMPTER_H
-
-#include <nsILoginManagerPrompter.h>
-#include <nsCOMPtr.h>
-#include <nsIDOMWindow.h>
-
-#define EPHY_LOGIN_PROMPTER_CLASSNAME "Epiphany Login Prompter"
-
-/* b005b95e-ef31-4214-bd0e-1dd4f2d3083a */
-#define EPHY_LOGIN_PROMPTER_CID { 0xb005b95e, 0xef31, 0x4214, { 0xbd, 0x0e, 0x1d, 0xd4, 0xf2, 0xd3, 0x08, 0x3a } }
-
-class EphyLoginPrompter : public nsILoginManagerPrompter
-{
-public:
- EphyLoginPrompter ();
- virtual ~EphyLoginPrompter ();
-
- NS_DECL_ISUPPORTS
- NS_DECL_NSILOGINMANAGERPROMPTER
-
-private:
- nsCOMPtr<nsIDOMWindow> mWindow;
-};
-
-#endif /* !EPHY_LOGIN_PROMPTER_H */