summaryrefslogtreecommitdiff
path: root/css/select.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-12-13 20:25:08 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-12-13 20:25:08 +0000
commite4c50bd58ada5d87f2eb8ab7b291fbd39999124f (patch)
treefc08c3f9ecd02e5112de525e7c16c3f8843e034f /css/select.h
parenta7499820ba2f84fd3764b884c4cdedc2d3b04e84 (diff)
downloadnetsurf-e4c50bd58ada5d87f2eb8ab7b291fbd39999124f.tar.gz
netsurf-e4c50bd58ada5d87f2eb8ab7b291fbd39999124f.tar.bz2
Update for new libcss API.
Diffstat (limited to 'css/select.h')
-rw-r--r--css/select.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/css/select.h b/css/select.h
index 764c43fb9..7488ab94a 100644
--- a/css/select.h
+++ b/css/select.h
@@ -37,23 +37,16 @@ typedef struct nscss_select_ctx
bool quirks;
nsurl *base_url;
lwc_string *universal;
-
- dom_node *current;
- dom_element *parent;
- css_bloom *bloom;
} nscss_select_ctx;
css_stylesheet *nscss_create_inline_style(const uint8_t *data, size_t len,
- const char *charset, const char *url, bool allow_quirks,
- css_allocator_fn alloc, void *pw);
+ const char *charset, const char *url, bool allow_quirks);
css_select_results *nscss_get_style(nscss_select_ctx *ctx, dom_node *n,
- uint64_t media, const css_stylesheet *inline_style,
- css_allocator_fn alloc, void *pw);
+ uint64_t media, const css_stylesheet *inline_style);
css_computed_style *nscss_get_blank_style(nscss_select_ctx *ctx,
- const css_computed_style *parent,
- css_allocator_fn alloc, void *pw);
+ const css_computed_style *parent);
css_error nscss_compute_font_size(void *pw, const css_hint *parent,
css_hint *size);