diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-05-27 14:51:00 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-05-27 14:51:00 +0100 |
commit | ba9769bc8c22c49fe1be6536d4684661ea2e079b (patch) | |
tree | c7a3355fb2d84bb21608dc85d12e8de4662eb787 /render | |
parent | 8dc7ec2cb48d74a6fd808f6989ec08771f4bb98f (diff) | |
download | netsurf-ba9769bc8c22c49fe1be6536d4684661ea2e079b.tar.gz netsurf-ba9769bc8c22c49fe1be6536d4684661ea2e079b.tar.bz2 |
Pass fetch redirect info up to content layer as content_msg. Mark redirect origin URLs as visited in browser window content callback. Note this doesn't mean we track redirects, it just lets us get the :visited link style on links that redirect.
Diffstat (limited to 'render')
-rw-r--r-- | render/html_css.c | 3 | ||||
-rw-r--r-- | render/html_object.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/render/html_css.c b/render/html_css.c index 7c0962070..a5c63554f 100644 --- a/render/html_css.c +++ b/render/html_css.c @@ -103,6 +103,9 @@ html_convert_css_callback(hlcache_handle *css, case CONTENT_MSG_READY: break; + case CONTENT_MSG_REDIRECT: + break; + case CONTENT_MSG_DONE: LOG(("done stylesheet slot %d '%s'", i, nsurl_access(hlcache_handle_get_url(css)))); diff --git a/render/html_object.c b/render/html_object.c index d4d0ff9d2..b8f95dbab 100644 --- a/render/html_object.c +++ b/render/html_object.c @@ -203,6 +203,7 @@ html_object_callback(hlcache_handle *object, break; case CONTENT_MSG_REFORMAT: + case CONTENT_MSG_REDIRECT: break; case CONTENT_MSG_REDRAW: |