summaryrefslogtreecommitdiff
path: root/css/select.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-05-26 11:18:41 +0100
committerVincent Sanders <vince@kyllikki.org>2016-05-26 11:18:41 +0100
commit6722943b81c0dba84ed187b2d117cc92972117ed (patch)
tree5de3de53a92696c9a4b9edcfd54e7f608ad2fb04 /css/select.h
parentc25eb6b7e7a08d7e2aaf33994c2c24053cf47b82 (diff)
downloadnetsurf-6722943b81c0dba84ed187b2d117cc92972117ed.tar.gz
netsurf-6722943b81c0dba84ed187b2d117cc92972117ed.tar.bz2
move the CSS content handler
Diffstat (limited to 'css/select.h')
-rw-r--r--css/select.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/css/select.h b/css/select.h
deleted file mode 100644
index 0e0be9578..000000000
--- a/css/select.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright 2009 John-Mark Bell <jmb@netsurf-browser.org>
- *
- * This file is part of NetSurf, http://www.netsurf-browser.org/
- *
- * NetSurf 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; version 2 of the License.
- *
- * NetSurf 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, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef NETSURF_CSS_SELECT_H_
-#define NETSURF_CSS_SELECT_H_
-
-#include <stdint.h>
-
-#include <dom/dom.h>
-
-#include "css/css.h"
-
-struct content;
-struct nsurl;
-
-/**
- * Selection context
- */
-typedef struct nscss_select_ctx
-{
- css_select_ctx *ctx;
- bool quirks;
- struct nsurl *base_url;
- lwc_string *universal;
- const css_computed_style *parent_style;
-} 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_select_results *nscss_get_style(nscss_select_ctx *ctx, dom_node *n,
- 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_error named_ancestor_node(void *pw, void *node,
- const css_qname *qname, void **ancestor);
-css_error node_is_visited(void *pw, void *node, bool *match);
-
-#endif