~dhananjaysathe/nuvola-player/TelepathyExt

« back to all changes in this revision

Viewing changes to vapi/webkitgtk-3.0.vapi

  • Committer: Jiří Janoušek
  • Date: 2011-08-23 23:07:29 UTC
  • Revision ID: janousek.jiri@gmail.com-20110823230729-0lfuuttyps70qd58
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* webkit-1.0.vapi generated by vapigen, do not modify. */
 
2
 
 
3
[CCode (cprefix = "WebKit", lower_case_cprefix = "webkit_")]
 
4
namespace WebKit {
 
5
        [CCode (cheader_filename = "webkit/webkit.h")]
 
6
        public class Download : GLib.Object {
 
7
                [CCode (has_construct_function = false)]
 
8
                public Download (WebKit.NetworkRequest request);
 
9
                public void cancel ();
 
10
                public uint64 get_current_size ();
 
11
                public unowned string get_destination_uri ();
 
12
                public double get_elapsed_time ();
 
13
                public unowned WebKit.NetworkRequest get_network_request ();
 
14
                public unowned WebKit.NetworkResponse get_network_response ();
 
15
                public double get_progress ();
 
16
                public WebKit.DownloadStatus get_status ();
 
17
                public unowned string get_suggested_filename ();
 
18
                public uint64 get_total_size ();
 
19
                public unowned string get_uri ();
 
20
                public void set_destination_uri (string destination_uri);
 
21
                public void start ();
 
22
                public uint64 current_size { get; }
 
23
                public string destination_uri { get; set; }
 
24
                public WebKit.NetworkRequest network_request { get; construct; }
 
25
                public WebKit.NetworkResponse network_response { get; construct; }
 
26
                public double progress { get; }
 
27
                public WebKit.DownloadStatus status { get; }
 
28
                public string suggested_filename { get; }
 
29
                public uint64 total_size { get; }
 
30
                public virtual signal bool error (int p0, int p1, string p2);
 
31
        }
 
32
        [CCode (cheader_filename = "webkit/webkit.h")]
 
33
        public class GeolocationPolicyDecision : GLib.Object {
 
34
                [CCode (has_construct_function = false)]
 
35
                protected GeolocationPolicyDecision ();
 
36
        }
 
37
        [CCode (cheader_filename = "webkit/webkit.h")]
 
38
        public class HitTestResult : GLib.Object {
 
39
                [CCode (has_construct_function = false)]
 
40
                protected HitTestResult ();
 
41
                [NoAccessorMethod]
 
42
                public WebKit.HitTestResultContext context { get; construct; }
 
43
                [NoAccessorMethod]
 
44
                public string image_uri { owned get; construct; }
 
45
                [NoAccessorMethod]
 
46
                public string link_uri { owned get; construct; }
 
47
                [NoAccessorMethod]
 
48
                public string media_uri { owned get; construct; }
 
49
        }
 
50
        [CCode (cheader_filename = "webkit/webkit.h")]
 
51
        public class NetworkRequest : GLib.Object {
 
52
                [CCode (has_construct_function = false)]
 
53
                public NetworkRequest (string uri);
 
54
                public unowned Soup.Message get_message ();
 
55
                public unowned string get_uri ();
 
56
                public void set_uri (string uri);
 
57
                public Soup.Message message { get; construct; }
 
58
                public string uri { get; set; }
 
59
        }
 
60
        [CCode (cheader_filename = "webkit/webkit.h")]
 
61
        public class NetworkResponse : GLib.Object {
 
62
                [CCode (has_construct_function = false)]
 
63
                public NetworkResponse (string uri);
 
64
                public unowned Soup.Message get_message ();
 
65
                public unowned string get_uri ();
 
66
                public void set_uri (string uri);
 
67
                public Soup.Message message { get; construct; }
 
68
                public string uri { get; set; }
 
69
        }
 
70
        [CCode (cheader_filename = "webkit/webkit.h")]
 
71
        public class SecurityOrigin : GLib.Object {
 
72
                [CCode (has_construct_function = false)]
 
73
                protected SecurityOrigin ();
 
74
                public unowned GLib.List<WebKit.WebDatabase> get_all_web_databases ();
 
75
                public unowned string get_host ();
 
76
                public uint get_port ();
 
77
                public unowned string get_protocol ();
 
78
                public uint64 get_web_database_quota ();
 
79
                public uint64 get_web_database_usage ();
 
80
                public void set_web_database_quota (uint64 quota);
 
81
                public string host { get; }
 
82
                public uint port { get; }
 
83
                public string protocol { get; }
 
84
                public uint64 web_database_quota { get; set; }
 
85
                public uint64 web_database_usage { get; }
 
86
        }
 
87
        [CCode (cheader_filename = "webkit/webkit.h")]
 
88
        public class SoupAuthDialog : GLib.Object, Soup.SessionFeature {
 
89
                [CCode (has_construct_function = false)]
 
90
                protected SoupAuthDialog ();
 
91
                public virtual signal unowned Gtk.Widget current_toplevel (Soup.Message message);
 
92
        }
 
93
        [CCode (cheader_filename = "webkit/webkit.h")]
 
94
        public class WebBackForwardList : GLib.Object {
 
95
                [CCode (has_construct_function = false)]
 
96
                protected WebBackForwardList ();
 
97
                public void add_item (WebKit.WebHistoryItem history_item);
 
98
                public void clear ();
 
99
                public bool contains_item (WebKit.WebHistoryItem history_item);
 
100
                public unowned WebKit.WebHistoryItem get_back_item ();
 
101
                public int get_back_length ();
 
102
                public unowned GLib.List<WebKit.WebHistoryItem> get_back_list_with_limit (int limit);
 
103
                public unowned WebKit.WebHistoryItem get_current_item ();
 
104
                public unowned WebKit.WebHistoryItem get_forward_item ();
 
105
                public int get_forward_length ();
 
106
                public unowned GLib.List<WebKit.WebHistoryItem> get_forward_list_with_limit (int limit);
 
107
                public int get_limit ();
 
108
                public unowned WebKit.WebHistoryItem get_nth_item (int index);
 
109
                public void go_back ();
 
110
                public void go_forward ();
 
111
                public void go_to_item (WebKit.WebHistoryItem history_item);
 
112
                public void set_limit (int limit);
 
113
                [CCode (has_construct_function = false)]
 
114
                public WebBackForwardList.with_web_view (WebKit.WebView web_view);
 
115
        }
 
116
        [CCode (cheader_filename = "webkit/webkit.h")]
 
117
        public class WebDataSource : GLib.Object {
 
118
                [CCode (has_construct_function = false)]
 
119
                public WebDataSource ();
 
120
                public unowned GLib.StringBuilder get_data ();
 
121
                public unowned string get_encoding ();
 
122
                public unowned WebKit.NetworkRequest get_initial_request ();
 
123
                public unowned WebKit.WebResource get_main_resource ();
 
124
                public unowned WebKit.NetworkRequest get_request ();
 
125
                public unowned GLib.List<WebKit.WebResource> get_subresources ();
 
126
                public unowned string get_unreachable_uri ();
 
127
                public unowned WebKit.WebFrame get_web_frame ();
 
128
                public bool is_loading ();
 
129
                [CCode (has_construct_function = false)]
 
130
                public WebDataSource.with_request (WebKit.NetworkRequest request);
 
131
        }
 
132
        [CCode (cheader_filename = "webkit/webkit.h")]
 
133
        public class WebDatabase : GLib.Object {
 
134
                [CCode (has_construct_function = false)]
 
135
                protected WebDatabase ();
 
136
                public unowned string get_display_name ();
 
137
                public uint64 get_expected_size ();
 
138
                public unowned string get_filename ();
 
139
                public unowned string get_name ();
 
140
                public unowned WebKit.SecurityOrigin get_security_origin ();
 
141
                public uint64 get_size ();
 
142
                public void remove ();
 
143
                public string display_name { get; }
 
144
                public uint64 expected_size { get; }
 
145
                public string filename { get; }
 
146
                public string name { get; construct; }
 
147
                public WebKit.SecurityOrigin security_origin { get; construct; }
 
148
                public uint64 size { get; }
 
149
        }
 
150
        [CCode (cheader_filename = "webkit/webkit.h")]
 
151
        public class WebFrame : GLib.Object {
 
152
                [CCode (has_construct_function = false)]
 
153
                public WebFrame (WebKit.WebView web_view);
 
154
                public unowned WebKit.WebFrame find_frame (string name);
 
155
                public unowned WebKit.WebDataSource get_data_source ();
 
156
                public Gtk.PolicyType get_horizontal_scrollbar_policy ();
 
157
                public WebKit.LoadStatus get_load_status ();
 
158
                public unowned string get_name ();
 
159
                public unowned WebKit.NetworkResponse get_network_response ();
 
160
                public unowned WebKit.WebFrame get_parent ();
 
161
                public unowned WebKit.WebDataSource get_provisional_data_source ();
 
162
                public unowned WebKit.SecurityOrigin get_security_origin ();
 
163
                public unowned string get_title ();
 
164
                public unowned string get_uri ();
 
165
                public Gtk.PolicyType get_vertical_scrollbar_policy ();
 
166
                public unowned WebKit.WebView get_web_view ();
 
167
                public void load_alternate_string (string content, string base_url, string unreachable_url);
 
168
                public void load_request (WebKit.NetworkRequest request);
 
169
                public void load_string (string content, string mime_type, string encoding, string base_uri);
 
170
                public void load_uri (string uri);
 
171
                public void print ();
 
172
                public Gtk.PrintOperationResult print_full (Gtk.PrintOperation operation, Gtk.PrintOperationAction action) throws GLib.Error;
 
173
                public void reload ();
 
174
                public void stop_loading ();
 
175
                public Gtk.PolicyType horizontal_scrollbar_policy { get; }
 
176
                public WebKit.LoadStatus load_status { get; }
 
177
                public string name { get; }
 
178
                public string title { get; }
 
179
                public string uri { get; }
 
180
                public Gtk.PolicyType vertical_scrollbar_policy { get; }
 
181
                public virtual signal void cleared ();
 
182
                public virtual signal void hovering_over_link (string p0, string p1);
 
183
                public virtual signal void load_committed ();
 
184
                public virtual signal void load_done (bool p0);
 
185
                public virtual signal bool scrollbars_policy_changed ();
 
186
                public virtual signal void title_changed (string p0);
 
187
        }
 
188
        [CCode (cheader_filename = "webkit/webkit.h")]
 
189
        public class WebHistoryItem : GLib.Object {
 
190
                [CCode (has_construct_function = false)]
 
191
                public WebHistoryItem ();
 
192
                public unowned WebKit.WebHistoryItem copy ();
 
193
                public unowned string get_alternate_title ();
 
194
                public double get_last_visited_time ();
 
195
                public unowned string get_original_uri ();
 
196
                public unowned string get_title ();
 
197
                public unowned string get_uri ();
 
198
                public void set_alternate_title (string title);
 
199
                [CCode (has_construct_function = false)]
 
200
                public WebHistoryItem.with_data (string uri, string title);
 
201
                public string alternate_title { get; set; }
 
202
                public double last_visited_time { get; }
 
203
                public string original_uri { get; }
 
204
                public string title { get; }
 
205
                public string uri { get; }
 
206
        }
 
207
        [CCode (cheader_filename = "webkit/webkit.h")]
 
208
        public class WebInspector : GLib.Object {
 
209
                [CCode (has_construct_function = false)]
 
210
                protected WebInspector ();
 
211
                public void close ();
 
212
                public unowned string get_inspected_uri ();
 
213
                public unowned WebKit.WebView get_web_view ();
 
214
                public void inspect_coordinates (double x, double y);
 
215
                public void show ();
 
216
                public string inspected_uri { get; }
 
217
                [NoAccessorMethod]
 
218
                public bool javascript_profiling_enabled { get; set; }
 
219
                [NoAccessorMethod]
 
220
                public bool timeline_profiling_enabled { get; set; }
 
221
                public WebKit.WebView web_view { get; }
 
222
                public virtual signal bool attach_window ();
 
223
                public virtual signal bool close_window ();
 
224
                public virtual signal bool detach_window ();
 
225
                public virtual signal void finished ();
 
226
                public virtual signal unowned WebKit.WebView inspect_web_view (WebKit.WebView p0);
 
227
                public virtual signal bool show_window ();
 
228
        }
 
229
        [CCode (cheader_filename = "webkit/webkit.h")]
 
230
        public class WebNavigationAction : GLib.Object {
 
231
                [CCode (has_construct_function = false)]
 
232
                protected WebNavigationAction ();
 
233
                public int get_button ();
 
234
                public int get_modifier_state ();
 
235
                public unowned string get_original_uri ();
 
236
                public WebKit.WebNavigationReason get_reason ();
 
237
                public unowned string get_target_frame ();
 
238
                public void set_original_uri (string originalUri);
 
239
                public void set_reason (WebKit.WebNavigationReason reason);
 
240
                public int button { get; construct; }
 
241
                public int modifier_state { get; construct; }
 
242
                public string original_uri { get; set construct; }
 
243
                public WebKit.WebNavigationReason reason { get; set construct; }
 
244
                public string target_frame { get; construct; }
 
245
        }
 
246
        [CCode (cheader_filename = "webkit/webkit.h")]
 
247
        public class WebPolicyDecision : GLib.Object {
 
248
                [CCode (has_construct_function = false)]
 
249
                protected WebPolicyDecision ();
 
250
                public void download ();
 
251
                public void ignore ();
 
252
                public void use ();
 
253
        }
 
254
        [CCode (cheader_filename = "webkit/webkit.h")]
 
255
        public class WebResource : GLib.Object {
 
256
                [CCode (has_construct_function = false)]
 
257
                public WebResource (string data, ssize_t size, string uri, string mime_type, string encoding, string frame_name);
 
258
                public unowned GLib.StringBuilder get_data ();
 
259
                public unowned string get_encoding ();
 
260
                public unowned string get_frame_name ();
 
261
                public unowned string get_mime_type ();
 
262
                public unowned string get_uri ();
 
263
                public string encoding { get; }
 
264
                public string frame_name { get; }
 
265
                public string mime_type { get; }
 
266
                public string uri { get; construct; }
 
267
        }
 
268
        [CCode (cheader_filename = "webkit/webkit.h")]
 
269
        public class WebSettings : GLib.Object {
 
270
                [CCode (has_construct_function = false)]
 
271
                public WebSettings ();
 
272
                public WebKit.WebSettings copy ();
 
273
                public unowned string get_user_agent ();
 
274
                [NoAccessorMethod]
 
275
                public bool auto_load_images { get; set construct; }
 
276
                [NoAccessorMethod]
 
277
                public bool auto_resize_window { get; set construct; }
 
278
                [NoAccessorMethod]
 
279
                public bool auto_shrink_images { get; set construct; }
 
280
                [NoAccessorMethod]
 
281
                public string cursive_font_family { owned get; set construct; }
 
282
                [NoAccessorMethod]
 
283
                public string default_encoding { owned get; set construct; }
 
284
                [NoAccessorMethod]
 
285
                public string default_font_family { owned get; set construct; }
 
286
                [NoAccessorMethod]
 
287
                public int default_font_size { get; set construct; }
 
288
                [NoAccessorMethod]
 
289
                public int default_monospace_font_size { get; set construct; }
 
290
                [NoAccessorMethod]
 
291
                public WebKit.EditingBehavior editing_behavior { get; set construct; }
 
292
                [NoAccessorMethod]
 
293
                public bool enable_caret_browsing { get; set construct; }
 
294
                [NoAccessorMethod]
 
295
                public bool enable_default_context_menu { get; set construct; }
 
296
                [NoAccessorMethod]
 
297
                public bool enable_developer_extras { get; set construct; }
 
298
                [NoAccessorMethod]
 
299
                public bool enable_dom_paste { get; set construct; }
 
300
                [NoAccessorMethod]
 
301
                public bool enable_file_access_from_file_uris { get; set construct; }
 
302
                [NoAccessorMethod]
 
303
                public bool enable_html5_database { get; set construct; }
 
304
                [NoAccessorMethod]
 
305
                public bool enable_html5_local_storage { get; set construct; }
 
306
                [NoAccessorMethod]
 
307
                public bool enable_java_applet { get; set construct; }
 
308
                [NoAccessorMethod]
 
309
                public bool enable_offline_web_application_cache { get; set construct; }
 
310
                [NoAccessorMethod]
 
311
                public bool enable_page_cache { get; set construct; }
 
312
                [NoAccessorMethod]
 
313
                public bool enable_plugins { get; set construct; }
 
314
                [NoAccessorMethod]
 
315
                public bool enable_private_browsing { get; set construct; }
 
316
                [NoAccessorMethod]
 
317
                public bool enable_scripts { get; set construct; }
 
318
                [NoAccessorMethod]
 
319
                public bool enable_site_specific_quirks { get; set construct; }
 
320
                [NoAccessorMethod]
 
321
                public bool enable_spatial_navigation { get; set construct; }
 
322
                [NoAccessorMethod]
 
323
                public bool enable_spell_checking { get; set construct; }
 
324
                [NoAccessorMethod]
 
325
                public bool enable_universal_access_from_file_uris { get; set construct; }
 
326
                [NoAccessorMethod]
 
327
                public bool enable_xss_auditor { get; set construct; }
 
328
                [NoAccessorMethod]
 
329
                public bool enforce_96_dpi { get; set construct; }
 
330
                [NoAccessorMethod]
 
331
                public string fantasy_font_family { owned get; set construct; }
 
332
                [NoAccessorMethod]
 
333
                public bool javascript_can_access_clipboard { get; set construct; }
 
334
                [NoAccessorMethod]
 
335
                public bool javascript_can_open_windows_automatically { get; set construct; }
 
336
                [NoAccessorMethod]
 
337
                public int minimum_font_size { get; set construct; }
 
338
                [NoAccessorMethod]
 
339
                public int minimum_logical_font_size { get; set construct; }
 
340
                [NoAccessorMethod]
 
341
                public string monospace_font_family { owned get; set construct; }
 
342
                [NoAccessorMethod]
 
343
                public bool print_backgrounds { get; set construct; }
 
344
                [NoAccessorMethod]
 
345
                public bool resizable_text_areas { get; set construct; }
 
346
                [NoAccessorMethod]
 
347
                public string sans_serif_font_family { owned get; set construct; }
 
348
                [NoAccessorMethod]
 
349
                public string serif_font_family { owned get; set construct; }
 
350
                [NoAccessorMethod]
 
351
                public string spell_checking_languages { owned get; set construct; }
 
352
                [NoAccessorMethod]
 
353
                public bool tab_key_cycles_through_elements { get; set construct; }
 
354
                [NoAccessorMethod]
 
355
                public string user_agent { owned get; set construct; }
 
356
                [NoAccessorMethod]
 
357
                public string user_stylesheet_uri { owned get; set construct; }
 
358
                [NoAccessorMethod]
 
359
                public float zoom_step { get; set construct; }
 
360
        }
 
361
        [CCode (cheader_filename = "webkit/webkit.h")]
 
362
        public class WebView : Gtk.Container, Atk.Implementor, Gtk.Buildable {
 
363
                [CCode (type = "GtkWidget*", has_construct_function = false)]
 
364
                public WebView ();
 
365
                public bool can_copy_clipboard ();
 
366
                public bool can_cut_clipboard ();
 
367
                public bool can_go_back ();
 
368
                public bool can_go_back_or_forward (int steps);
 
369
                public bool can_go_forward ();
 
370
                public bool can_paste_clipboard ();
 
371
                public bool can_redo ();
 
372
                public bool can_show_mime_type (string mime_type);
 
373
                public bool can_undo ();
 
374
                [NoWrapper]
 
375
                public virtual unowned string choose_file (WebKit.WebFrame frame, string old_file);
 
376
                public void delete_selection ();
 
377
                public void execute_script (string script);
 
378
                public unowned WebKit.WebBackForwardList get_back_forward_list ();
 
379
                public unowned Gtk.TargetList get_copy_target_list ();
 
380
                public unowned string get_custom_encoding ();
 
381
                public bool get_editable ();
 
382
                public unowned string get_encoding ();
 
383
                public unowned WebKit.WebFrame get_focused_frame ();
 
384
                public bool get_full_content_zoom ();
 
385
                public unowned WebKit.HitTestResult get_hit_test_result (Gdk.EventButton event);
 
386
                public unowned string get_icon_uri ();
 
387
                public unowned WebKit.WebInspector get_inspector ();
 
388
                public WebKit.LoadStatus get_load_status ();
 
389
                public unowned WebKit.WebFrame get_main_frame ();
 
390
                public unowned Gtk.TargetList get_paste_target_list ();
 
391
                public double get_progress ();
 
392
                public unowned WebKit.WebSettings get_settings ();
 
393
                public unowned string get_title ();
 
394
                public bool get_transparent ();
 
395
                public unowned string get_uri ();
 
396
                public bool get_view_source_mode ();
 
397
                public unowned WebKit.WebWindowFeatures get_window_features ();
 
398
                public float get_zoom_level ();
 
399
                public void go_back ();
 
400
                public void go_back_or_forward (int steps);
 
401
                public void go_forward ();
 
402
                public bool go_to_back_forward_item (WebKit.WebHistoryItem item);
 
403
                public bool has_selection ();
 
404
                public void load_html_string (string content, string base_uri);
 
405
                public void load_request (WebKit.NetworkRequest request);
 
406
                public void load_string (string content, string mime_type, string encoding, string base_uri);
 
407
                public void load_uri (string uri);
 
408
                public uint mark_text_matches (string str, bool case_sensitive, uint limit);
 
409
                public void open (string uri);
 
410
                public void reload ();
 
411
                public void reload_bypass_cache ();
 
412
                public bool search_text (string text, bool case_sensitive, bool forward, bool wrap);
 
413
                public void set_custom_encoding (string encoding);
 
414
                public void set_editable (bool flag);
 
415
                public void set_full_content_zoom (bool full_content_zoom);
 
416
                public void set_highlight_text_matches (bool highlight);
 
417
                public void set_maintains_back_forward_list (bool flag);
 
418
                public void set_settings (WebKit.WebSettings settings);
 
419
                public void set_transparent (bool flag);
 
420
                public void set_view_source_mode (bool view_source_mode);
 
421
                public void set_zoom_level (float zoom_level);
 
422
                public void stop_loading ();
 
423
                public void unmark_text_matches ();
 
424
                public void zoom_in ();
 
425
                public void zoom_out ();
 
426
                public Gtk.TargetList copy_target_list { get; }
 
427
                public string custom_encoding { get; set; }
 
428
                public bool editable { get; set; }
 
429
                public string encoding { get; }
 
430
                public bool full_content_zoom { get; set; }
 
431
                public string icon_uri { get; }
 
432
                [NoAccessorMethod]
 
433
                public Gtk.IMContext im_context { owned get; }
 
434
                public WebKit.LoadStatus load_status { get; }
 
435
                public Gtk.TargetList paste_target_list { get; }
 
436
                public double progress { get; }
 
437
                public WebKit.WebSettings settings { get; set; }
 
438
                public string title { get; }
 
439
                public bool transparent { get; set; }
 
440
                public string uri { get; }
 
441
                [NoAccessorMethod]
 
442
                public WebKit.WebInspector web_inspector { owned get; }
 
443
                [NoAccessorMethod]
 
444
                public WebKit.WebWindowFeatures window_features { owned get; set; }
 
445
                public float zoom_level { get; set; }
 
446
                public virtual signal bool close_web_view ();
 
447
                public virtual signal bool console_message (string message, int line_number, string source_id);
 
448
                [HasEmitter]
 
449
                public virtual signal void copy_clipboard ();
 
450
                public virtual signal unowned Gtk.Widget create_plugin_widget (string p0, string p1, GLib.HashTable p2);
 
451
                public virtual signal WebKit.WebView create_web_view (WebKit.WebFrame web_frame);
 
452
                [HasEmitter]
 
453
                public virtual signal void cut_clipboard ();
 
454
                public virtual signal void database_quota_exceeded (GLib.Object p0, GLib.Object p1);
 
455
                public virtual signal void document_load_finished (WebKit.WebFrame p0);
 
456
                public virtual signal bool download_requested (GLib.Object p0);
 
457
                public virtual signal void geolocation_policy_decision_cancelled (WebKit.WebFrame p0);
 
458
                public virtual signal bool geolocation_policy_decision_requested (WebKit.WebFrame p0, WebKit.GeolocationPolicyDecision p1);
 
459
                public virtual signal void hovering_over_link (string? p0, string p1);
 
460
                public virtual signal void icon_loaded (string p0);
 
461
                public virtual signal void load_committed (WebKit.WebFrame p0);
 
462
                public virtual signal bool load_error (WebKit.WebFrame p0, string p1, GLib.Error p2);
 
463
                public virtual signal void load_finished (WebKit.WebFrame p0);
 
464
                public virtual signal void load_progress_changed (int p0);
 
465
                public virtual signal void load_started (WebKit.WebFrame p0);
 
466
                public virtual signal bool mime_type_policy_decision_requested (WebKit.WebFrame p0, WebKit.NetworkRequest p1, string p2, WebKit.WebPolicyDecision p3);
 
467
                [HasEmitter]
 
468
                public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
 
469
                public virtual signal bool navigation_policy_decision_requested (WebKit.WebFrame p0, WebKit.NetworkRequest p1, WebKit.WebNavigationAction p2, WebKit.WebPolicyDecision p3);
 
470
                public virtual signal WebKit.NavigationResponse navigation_requested (WebKit.WebFrame frame, WebKit.NetworkRequest request);
 
471
                public virtual signal bool new_window_policy_decision_requested (WebKit.WebFrame p0, WebKit.NetworkRequest p1, WebKit.WebNavigationAction p2, WebKit.WebPolicyDecision p3);
 
472
                [HasEmitter]
 
473
                public virtual signal void paste_clipboard ();
 
474
                public virtual signal void populate_popup (Gtk.Menu p0);
 
475
                public virtual signal bool print_requested (WebKit.WebFrame p0);
 
476
                [HasEmitter]
 
477
                public virtual signal void redo ();
 
478
                public virtual signal void resource_request_starting (WebKit.WebFrame p0, WebKit.WebResource p1, WebKit.NetworkRequest p2, WebKit.NetworkResponse p3);
 
479
                public virtual signal bool script_alert (WebKit.WebFrame frame, string alert_message);
 
480
                public virtual signal bool script_confirm (WebKit.WebFrame frame, string confirm_message, void* did_confirm);
 
481
                public virtual signal bool script_prompt (WebKit.WebFrame frame, string message, string default_value, void* value);
 
482
                [HasEmitter]
 
483
                public virtual signal void select_all ();
 
484
                public virtual signal void selection_changed ();
 
485
                public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
 
486
                public virtual signal void status_bar_text_changed (string p0);
 
487
                public virtual signal void title_changed (WebKit.WebFrame p0, string p1);
 
488
                [HasEmitter]
 
489
                public virtual signal void undo ();
 
490
                public virtual signal bool web_view_ready ();
 
491
                public virtual signal void window_object_cleared (WebKit.WebFrame frame, void* context, void* window_object);
 
492
        }
 
493
        [CCode (cheader_filename = "webkit/webkit.h")]
 
494
        public class WebWindowFeatures : GLib.Object {
 
495
                [CCode (has_construct_function = false)]
 
496
                public WebWindowFeatures ();
 
497
                public bool equal (WebKit.WebWindowFeatures features2);
 
498
                [NoAccessorMethod]
 
499
                public bool fullscreen { get; set construct; }
 
500
                [NoAccessorMethod]
 
501
                public int height { get; set construct; }
 
502
                [NoAccessorMethod]
 
503
                public bool locationbar_visible { get; set construct; }
 
504
                [NoAccessorMethod]
 
505
                public bool menubar_visible { get; set construct; }
 
506
                [NoAccessorMethod]
 
507
                public bool scrollbar_visible { get; set construct; }
 
508
                [NoAccessorMethod]
 
509
                public bool statusbar_visible { get; set construct; }
 
510
                [NoAccessorMethod]
 
511
                public bool toolbar_visible { get; set construct; }
 
512
                [NoAccessorMethod]
 
513
                public int width { get; set construct; }
 
514
                [NoAccessorMethod]
 
515
                public int x { get; set construct; }
 
516
                [NoAccessorMethod]
 
517
                public int y { get; set construct; }
 
518
        }
 
519
        [CCode (cprefix = "WEBKIT_CACHE_MODEL_", cheader_filename = "webkit/webkit.h")]
 
520
        public enum CacheModel {
 
521
                DOCUMENT_VIEWER,
 
522
                WEB_BROWSER
 
523
        }
 
524
        [CCode (cprefix = "WEBKIT_DOWNLOAD_ERROR_", cheader_filename = "webkit/webkit.h")]
 
525
        public enum DownloadError {
 
526
                CANCELLED_BY_USER,
 
527
                DESTINATION,
 
528
                NETWORK
 
529
        }
 
530
        [CCode (cprefix = "WEBKIT_DOWNLOAD_STATUS_", cheader_filename = "webkit/webkit.h")]
 
531
        public enum DownloadStatus {
 
532
                ERROR,
 
533
                CREATED,
 
534
                STARTED,
 
535
                CANCELLED,
 
536
                FINISHED
 
537
        }
 
538
        [CCode (cprefix = "WEBKIT_EDITING_BEHAVIOR_", cheader_filename = "webkit/webkit.h")]
 
539
        public enum EditingBehavior {
 
540
                MAC,
 
541
                WINDOWS
 
542
        }
 
543
        [CCode (cprefix = "WEBKIT_HIT_TEST_RESULT_CONTEXT_", cheader_filename = "webkit/webkit.h")]
 
544
        [Flags]
 
545
        public enum HitTestResultContext {
 
546
                DOCUMENT,
 
547
                LINK,
 
548
                IMAGE,
 
549
                MEDIA,
 
550
                SELECTION,
 
551
                EDITABLE
 
552
        }
 
553
        [CCode (cprefix = "WEBKIT_LOAD_", cheader_filename = "webkit/webkit.h")]
 
554
        public enum LoadStatus {
 
555
                PROVISIONAL,
 
556
                COMMITTED,
 
557
                FINISHED,
 
558
                FIRST_VISUALLY_NON_EMPTY_LAYOUT,
 
559
                FAILED
 
560
        }
 
561
        [CCode (cprefix = "WEBKIT_NAVIGATION_RESPONSE_", cheader_filename = "webkit/webkit.h")]
 
562
        public enum NavigationResponse {
 
563
                ACCEPT,
 
564
                IGNORE,
 
565
                DOWNLOAD
 
566
        }
 
567
        [CCode (cprefix = "WEBKIT_NETWORK_ERROR_", cheader_filename = "webkit/webkit.h")]
 
568
        public enum NetworkError {
 
569
                FAILED,
 
570
                TRANSPORT,
 
571
                UNKNOWN_PROTOCOL,
 
572
                CANCELLED,
 
573
                FILE_DOES_NOT_EXIST
 
574
        }
 
575
        [CCode (cprefix = "WEBKIT_PLUGIN_ERROR_", cheader_filename = "webkit/webkit.h")]
 
576
        public enum PluginError {
 
577
                FAILED,
 
578
                CANNOT_FIND_PLUGIN,
 
579
                CANNOT_LOAD_PLUGIN,
 
580
                JAVA_UNAVAILABLE,
 
581
                CONNECTION_CANCELLED,
 
582
                WILL_HANDLE_LOAD
 
583
        }
 
584
        [CCode (cprefix = "WEBKIT_POLICY_ERROR_", cheader_filename = "webkit/webkit.h")]
 
585
        public enum PolicyError {
 
586
                FAILED,
 
587
                CANNOT_SHOW_MIME_TYPE,
 
588
                CANNOT_SHOW_URL,
 
589
                FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE,
 
590
                CANNOT_USE_RESTRICTED_PORT
 
591
        }
 
592
        [CCode (cprefix = "WEBKIT_WEB_NAVIGATION_REASON_", cheader_filename = "webkit/webkit.h")]
 
593
        public enum WebNavigationReason {
 
594
                LINK_CLICKED,
 
595
                FORM_SUBMITTED,
 
596
                BACK_FORWARD,
 
597
                RELOAD,
 
598
                FORM_RESUBMITTED,
 
599
                OTHER
 
600
        }
 
601
        [CCode (cprefix = "WEBKIT_WEB_VIEW_TARGET_INFO_", cheader_filename = "webkit/webkit.h")]
 
602
        public enum WebViewTargetInfo {
 
603
                HTML,
 
604
                TEXT,
 
605
                IMAGE,
 
606
                URI_LIST,
 
607
                NETSCAPE_URL
 
608
        }
 
609
        [CCode (cheader_filename = "webkit/webkit.h")]
 
610
        public const int MAJOR_VERSION;
 
611
        [CCode (cheader_filename = "webkit/webkit.h")]
 
612
        public const int MICRO_VERSION;
 
613
        [CCode (cheader_filename = "webkit/webkit.h")]
 
614
        public const int MINOR_VERSION;
 
615
        [CCode (cheader_filename = "webkit/webkit.h")]
 
616
        public const int USER_AGENT_MAJOR_VERSION;
 
617
        [CCode (cheader_filename = "webkit/webkit.h")]
 
618
        public const int USER_AGENT_MINOR_VERSION;
 
619
        [CCode (cheader_filename = "webkit/webkit.h")]
 
620
        public static bool check_version (uint major, uint minor, uint micro);
 
621
        [CCode (cheader_filename = "webkit/webkit.h")]
 
622
        public static void geolocation_policy_allow (WebKit.GeolocationPolicyDecision decision);
 
623
        [CCode (cheader_filename = "webkit/webkit.h")]
 
624
        public static void geolocation_policy_deny (WebKit.GeolocationPolicyDecision decision);
 
625
        [CCode (cheader_filename = "webkit/webkit.h")]
 
626
        public static WebKit.CacheModel get_cache_model ();
 
627
        [CCode (cheader_filename = "webkit/webkit.h")]
 
628
        public static unowned Soup.Session get_default_session ();
 
629
        [CCode (cheader_filename = "webkit/webkit.h")]
 
630
        public static uint64 get_default_web_database_quota ();
 
631
        [CCode (cheader_filename = "webkit/webkit.h")]
 
632
        public static unowned string get_web_database_directory_path ();
 
633
        [CCode (cheader_filename = "webkit/webkit.h")]
 
634
        public static uint major_version ();
 
635
        [CCode (cheader_filename = "webkit/webkit.h")]
 
636
        public static uint micro_version ();
 
637
        [CCode (cheader_filename = "webkit/webkit.h")]
 
638
        public static uint minor_version ();
 
639
        [CCode (cheader_filename = "webkit/webkit.h")]
 
640
        public static GLib.Quark network_error_quark ();
 
641
        [CCode (cheader_filename = "webkit/webkit.h")]
 
642
        public static GLib.Quark plugin_error_quark ();
 
643
        [CCode (cheader_filename = "webkit/webkit.h")]
 
644
        public static GLib.Quark policy_error_quark ();
 
645
        [CCode (cheader_filename = "webkit/webkit.h")]
 
646
        public static void remove_all_web_databases ();
 
647
        [CCode (cheader_filename = "webkit/webkit.h")]
 
648
        public static void set_cache_model (WebKit.CacheModel cache_model);
 
649
        [CCode (cheader_filename = "webkit/webkit.h")]
 
650
        public static void set_default_web_database_quota (uint64 defaultQuota);
 
651
        [CCode (cheader_filename = "webkit/webkit.h")]
 
652
        public static void set_web_database_directory_path (string path);
 
653
}