diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-10-13 03:33:48 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-10-13 03:33:48 +0800 |
commit | 5f02d1125ef8c08ebd3d145565b6f054084f2658 (patch) | |
tree | cefc5495f05835cb37a983cebc715769e4c86158 /embed/mozilla/EphyRedirectChannel.cpp | |
parent | fefc4bfb69cb7a69c87328c132ed8f38142b6a74 (diff) | |
download | gsoc2013-epiphany-5f02d1125ef8c08ebd3d145565b6f054084f2658.tar gsoc2013-epiphany-5f02d1125ef8c08ebd3d145565b6f054084f2658.tar.gz gsoc2013-epiphany-5f02d1125ef8c08ebd3d145565b6f054084f2658.tar.bz2 gsoc2013-epiphany-5f02d1125ef8c08ebd3d145565b6f054084f2658.tar.lz gsoc2013-epiphany-5f02d1125ef8c08ebd3d145565b6f054084f2658.tar.xz gsoc2013-epiphany-5f02d1125ef8c08ebd3d145565b6f054084f2658.tar.zst gsoc2013-epiphany-5f02d1125ef8c08ebd3d145565b6f054084f2658.zip |
A embed/mozilla/EphyRedirectChannel.cpp: A
2005-10-12 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyAboutModule.cpp:
* embed/mozilla/EphyAboutModule.h:
A embed/mozilla/EphyRedirectChannel.cpp:
A embed/mozilla/EphyRedirectChannel.h:
* embed/mozilla/Makefile.am:
Implement about:recover. Build the about module on all geckos, and
only #ifdef the about:neterror implementation for gecko 1.8.
* src/ephy-session.c: (tab_added_cb), (impl_attach_window),
(ephy_session_autoresume), (write_tab), (ephy_session_save),
(parse_embed), (ephy_session_load):
Record the page load status and page title in the session file, and
use about:recover when the page was still loading when the browser
crashed.
2005-10-10 Christian Persch <chpe@cvs.gnome.org>
Diffstat (limited to 'embed/mozilla/EphyRedirectChannel.cpp')
-rw-r--r-- | embed/mozilla/EphyRedirectChannel.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/embed/mozilla/EphyRedirectChannel.cpp b/embed/mozilla/EphyRedirectChannel.cpp new file mode 100644 index 000000000..a147579d9 --- /dev/null +++ b/embed/mozilla/EphyRedirectChannel.cpp @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2005 Christian Persch + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + */ + +#include "mozilla-config.h" +#include "config.h" + +#include "EphyRedirectChannel.h" + +NS_IMPL_ISUPPORTS2 (EphyWrappedChannel, nsIRequest, nsIChannel) + +NS_IMETHODIMP +EphyRedirectChannel::SetLoadFlags(nsLoadFlags aFlags) +{ + return mChannel->SetLoadFlags (aFlags | LOAD_REPLACE); +} |