From cd2edcbec038a8e40c4f9f20e48d0d05cf77b842 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 10 Mar 2008 09:10:36 +0000 Subject: Remove this patch that was accidentally committed on the branch instead of on trunk svn path=/branches/gnome-2-22/; revision=8085 --- embed/mozilla/EphyLoginPrompter.cpp | 75 ------------------------------------- embed/mozilla/EphyLoginPrompter.h | 45 ---------------------- 2 files changed, 120 deletions(-) delete mode 100644 embed/mozilla/EphyLoginPrompter.cpp delete mode 100644 embed/mozilla/EphyLoginPrompter.h 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 - -#include - -#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 -#include -#include - -#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 mWindow; -}; - -#endif /* !EPHY_LOGIN_PROMPTER_H */ -- cgit v1.2.3