1/*
2 * This file is part of the WebKit open source project.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
21#error "Only <webkitdom/webkitdom.h> can be included directly."
22#endif
23
24#ifndef WebKitDOMHTMLDocument_h
25#define WebKitDOMHTMLDocument_h
26
27#include <glib-object.h>
28#include <webkitdom/WebKitDOMDocument.h>
29#include <webkitdom/webkitdomdefines.h>
30
31G_BEGIN_DECLS
32
33#define WEBKIT_DOM_TYPE_HTML_DOCUMENT (webkit_dom_html_document_get_type())
34#define WEBKIT_DOM_HTML_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_HTML_DOCUMENT, WebKitDOMHTMLDocument))
35#define WEBKIT_DOM_HTML_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_DOM_TYPE_HTML_DOCUMENT, WebKitDOMHTMLDocumentClass)
36#define WEBKIT_DOM_IS_HTML_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_HTML_DOCUMENT))
37#define WEBKIT_DOM_IS_HTML_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_DOM_TYPE_HTML_DOCUMENT))
38#define WEBKIT_DOM_HTML_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_DOM_TYPE_HTML_DOCUMENT, WebKitDOMHTMLDocumentClass))
39
40struct _WebKitDOMHTMLDocument {
41 WebKitDOMDocument parent_instance;
42};
43
44struct _WebKitDOMHTMLDocumentClass {
45 WebKitDOMDocumentClass parent_class;
46};
47
48WEBKIT_DEPRECATED GType
49webkit_dom_html_document_get_type(void);
50
51/**
52 * webkit_dom_html_document_close:
53 * @self: A #WebKitDOMHTMLDocument
54 *
55 *
56 * Deprecated: 2.22: Use JavaScriptCore API instead
57**/
58WEBKIT_DEPRECATED void
59webkit_dom_html_document_close(WebKitDOMHTMLDocument* self);
60
61/**
62 * webkit_dom_html_document_clear:
63 * @self: A #WebKitDOMHTMLDocument
64 *
65 *
66 * Deprecated: 2.22: Use JavaScriptCore API instead
67**/
68WEBKIT_DEPRECATED void
69webkit_dom_html_document_clear(WebKitDOMHTMLDocument* self);
70
71/**
72 * webkit_dom_html_document_capture_events:
73 * @self: A #WebKitDOMHTMLDocument
74 *
75 *
76 * Deprecated: 2.22: Use JavaScriptCore API instead
77**/
78WEBKIT_DEPRECATED void
79webkit_dom_html_document_capture_events(WebKitDOMHTMLDocument* self);
80
81/**
82 * webkit_dom_html_document_release_events:
83 * @self: A #WebKitDOMHTMLDocument
84 *
85 *
86 * Deprecated: 2.22: Use JavaScriptCore API instead
87**/
88WEBKIT_DEPRECATED void
89webkit_dom_html_document_release_events(WebKitDOMHTMLDocument* self);
90
91/**
92 * webkit_dom_html_document_get_width:
93 * @self: A #WebKitDOMHTMLDocument
94 *
95 * Returns: A #glong
96 *
97 * Deprecated: 2.22: Use JavaScriptCore API instead
98**/
99WEBKIT_DEPRECATED glong
100webkit_dom_html_document_get_width(WebKitDOMHTMLDocument* self);
101
102/**
103 * webkit_dom_html_document_get_height:
104 * @self: A #WebKitDOMHTMLDocument
105 *
106 * Returns: A #glong
107 *
108 * Deprecated: 2.22: Use JavaScriptCore API instead
109**/
110WEBKIT_DEPRECATED glong
111webkit_dom_html_document_get_height(WebKitDOMHTMLDocument* self);
112
113/**
114 * webkit_dom_html_document_get_dir:
115 * @self: A #WebKitDOMHTMLDocument
116 *
117 * Returns: A #gchar
118 *
119 * Deprecated: 2.22: Use JavaScriptCore API instead
120**/
121WEBKIT_DEPRECATED gchar*
122webkit_dom_html_document_get_dir(WebKitDOMHTMLDocument* self);
123
124/**
125 * webkit_dom_html_document_set_dir:
126 * @self: A #WebKitDOMHTMLDocument
127 * @value: A #gchar
128 *
129 *
130 * Deprecated: 2.22: Use JavaScriptCore API instead
131**/
132WEBKIT_DEPRECATED void
133webkit_dom_html_document_set_dir(WebKitDOMHTMLDocument* self, const gchar* value);
134
135/**
136 * webkit_dom_html_document_get_bg_color:
137 * @self: A #WebKitDOMHTMLDocument
138 *
139 * Returns: A #gchar
140 *
141 * Deprecated: 2.22: Use JavaScriptCore API instead
142**/
143WEBKIT_DEPRECATED gchar*
144webkit_dom_html_document_get_bg_color(WebKitDOMHTMLDocument* self);
145
146/**
147 * webkit_dom_html_document_set_bg_color:
148 * @self: A #WebKitDOMHTMLDocument
149 * @value: A #gchar
150 *
151 *
152 * Deprecated: 2.22: Use JavaScriptCore API instead
153**/
154WEBKIT_DEPRECATED void
155webkit_dom_html_document_set_bg_color(WebKitDOMHTMLDocument* self, const gchar* value);
156
157/**
158 * webkit_dom_html_document_get_fg_color:
159 * @self: A #WebKitDOMHTMLDocument
160 *
161 * Returns: A #gchar
162 *
163 * Deprecated: 2.22: Use JavaScriptCore API instead
164**/
165WEBKIT_DEPRECATED gchar*
166webkit_dom_html_document_get_fg_color(WebKitDOMHTMLDocument* self);
167
168/**
169 * webkit_dom_html_document_set_fg_color:
170 * @self: A #WebKitDOMHTMLDocument
171 * @value: A #gchar
172 *
173 *
174 * Deprecated: 2.22: Use JavaScriptCore API instead
175**/
176WEBKIT_DEPRECATED void
177webkit_dom_html_document_set_fg_color(WebKitDOMHTMLDocument* self, const gchar* value);
178
179/**
180 * webkit_dom_html_document_get_alink_color:
181 * @self: A #WebKitDOMHTMLDocument
182 *
183 * Returns: A #gchar
184 *
185 * Deprecated: 2.22: Use JavaScriptCore API instead
186**/
187WEBKIT_DEPRECATED gchar*
188webkit_dom_html_document_get_alink_color(WebKitDOMHTMLDocument* self);
189
190/**
191 * webkit_dom_html_document_set_alink_color:
192 * @self: A #WebKitDOMHTMLDocument
193 * @value: A #gchar
194 *
195 *
196 * Deprecated: 2.22: Use JavaScriptCore API instead
197**/
198WEBKIT_DEPRECATED void
199webkit_dom_html_document_set_alink_color(WebKitDOMHTMLDocument* self, const gchar* value);
200
201/**
202 * webkit_dom_html_document_get_link_color:
203 * @self: A #WebKitDOMHTMLDocument
204 *
205 * Returns: A #gchar
206 *
207 * Deprecated: 2.22: Use JavaScriptCore API instead
208**/
209WEBKIT_DEPRECATED gchar*
210webkit_dom_html_document_get_link_color(WebKitDOMHTMLDocument* self);
211
212/**
213 * webkit_dom_html_document_set_link_color:
214 * @self: A #WebKitDOMHTMLDocument
215 * @value: A #gchar
216 *
217 *
218 * Deprecated: 2.22: Use JavaScriptCore API instead
219**/
220WEBKIT_DEPRECATED void
221webkit_dom_html_document_set_link_color(WebKitDOMHTMLDocument* self, const gchar* value);
222
223/**
224 * webkit_dom_html_document_get_vlink_color:
225 * @self: A #WebKitDOMHTMLDocument
226 *
227 * Returns: A #gchar
228 *
229 * Deprecated: 2.22: Use JavaScriptCore API instead
230**/
231WEBKIT_DEPRECATED gchar*
232webkit_dom_html_document_get_vlink_color(WebKitDOMHTMLDocument* self);
233
234/**
235 * webkit_dom_html_document_set_vlink_color:
236 * @self: A #WebKitDOMHTMLDocument
237 * @value: A #gchar
238 *
239 *
240 * Deprecated: 2.22: Use JavaScriptCore API instead
241**/
242WEBKIT_DEPRECATED void
243webkit_dom_html_document_set_vlink_color(WebKitDOMHTMLDocument* self, const gchar* value);
244
245G_END_DECLS
246
247#endif /* WebKitDOMHTMLDocument_h */
248