diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-11-02 15:46:42 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-11-02 15:46:42 +0000 |
commit | c31c4babe172ab581a3196536d47fc2558a01acd (patch) | |
tree | 62d8630490f7969d0e690ba881d7b956e53d7561 /utils/types.h | |
parent | 1794ac0d333acc61eda3424141d4722b7eab9a2b (diff) | |
download | netsurf-c31c4babe172ab581a3196536d47fc2558a01acd.tar.gz netsurf-c31c4babe172ab581a3196536d47fc2558a01acd.tar.bz2 |
Change contextual content retrieval to browser features.
Update the API which allows frontends to acquire the page features
(images, link urls or form elements) present at the given coordinates
within a browser window.
By making this an explicit browser_window API and using the browser.h
header for the associated data structure with a more appropriate API
naming the usage is much more obvious and contained.
Additionally the link url is now passed around as a nsurl stopping it
being converted from nsurl to text and back again several times.
Diffstat (limited to 'utils/types.h')
-rw-r--r-- | utils/types.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/utils/types.h b/utils/types.h index 035ff76cb..3c78124e3 100644 --- a/utils/types.h +++ b/utils/types.h @@ -49,20 +49,5 @@ struct redraw_context { }; -/** - * Content located at a specific spatial location. - * - * \todo This structure should contain a nsurl not a string. - */ -struct contextual_content { - const char *link_url; - struct hlcache_handle *object; - struct hlcache_handle *main; - enum { - CTX_FORM_NONE, - CTX_FORM_TEXT, - CTX_FORM_FILE - } form_features; -}; #endif |