summaryrefslogtreecommitdiff
path: root/src/layout.h
blob: e71d5aae5820744ce06f923ea9afd089c0b8f4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * This file is part of LibNSLayout
 * Licensed under the ISC License, http://opensource.org/licenses/ISC
 * Copyright 2015 Michael Drake <tlsa@netsurf-browser.org>
 */

/** \file src/layout.h
 * Layout object handling
 */

#ifndef nslayout_layout_h_
#define nslayout_layout_h_

#include <libnslayout/nslayout.h>

struct nslayout_layout {
	dom_document *doc;
	css_select_ctx *css_ctx;
	css_media_type *media;
	nslayout_callback cb;
	void *pw;

	dom_event_listener *listener;
};

#endif