aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.h
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2009-05-29 23:29:38 +0800
committerGustavo Noronha Silva <kov@debian.org>2009-05-30 00:15:59 +0800
commitb8fbb465b2dd76b7fd27582fe9d376d870f404e0 (patch)
treef6b79dad08ba78880256dd8f67abfc004cb1a21a /src/ephy-shell.h
parent8f4747aa1731acf83f1bd7249b392d0cded08c4b (diff)
downloadgsoc2013-epiphany-b8fbb465b2dd76b7fd27582fe9d376d870f404e0.tar
gsoc2013-epiphany-b8fbb465b2dd76b7fd27582fe9d376d870f404e0.tar.gz
gsoc2013-epiphany-b8fbb465b2dd76b7fd27582fe9d376d870f404e0.tar.bz2
gsoc2013-epiphany-b8fbb465b2dd76b7fd27582fe9d376d870f404e0.tar.lz
gsoc2013-epiphany-b8fbb465b2dd76b7fd27582fe9d376d870f404e0.tar.xz
gsoc2013-epiphany-b8fbb465b2dd76b7fd27582fe9d376d870f404e0.tar.zst
gsoc2013-epiphany-b8fbb465b2dd76b7fd27582fe9d376d870f404e0.zip
Fix missing HTTP information when opening links in new tabs
Bug #120341 This changeset reworks ephy_shell_new_tab_full (and its callers) to use a WebKitNetworkRequest instead of an URL when handling openning links in new tabs. This gains us the advantage of feeding the new WebView with the same WebKitNetworkRequest WebKit would use to navigate to the new address.
Diffstat (limited to 'src/ephy-shell.h')
-rw-r--r--src/ephy-shell.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-shell.h b/src/ephy-shell.h
index 77dd927f1..00a1765fa 100644
--- a/src/ephy-shell.h
+++ b/src/ephy-shell.h
@@ -30,6 +30,7 @@
#include "ephy-window.h"
#include "ephy-embed.h"
+#include <webkit/webkit.h>
#include <glib-object.h>
#include <glib.h>
@@ -100,7 +101,7 @@ EphyEmbed *ephy_shell_new_tab (EphyShell *shell,
EphyEmbed *ephy_shell_new_tab_full (EphyShell *shell,
EphyWindow *parent_window,
EphyEmbed *previous_embed,
- const char *url,
+ WebKitNetworkRequest *request,
EphyNewTabFlags flags,
EphyEmbedChrome chrome,
gboolean is_popup,