-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebkit3.pas
16703 lines (14354 loc) · 778 KB
/
webkit3.pas
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit WebKit3;
{$MODE OBJFPC}{$H+}
{$PACKRECORDS C}
{$MODESWITCH DUPLICATELOCALS+}
{$LINKLIB libwebkitgtk-3.0.so.0}
{$LINKLIB libjavascriptcoregtk-3.0.so.0}
interface
uses
CTypes, GObject2, Gtk3, JSCore3, Soup2_4, GLib2, Gio2, GdkPixbuf2, Atk1, Gdk3, cairo1;
const
WebKit3_library = 'libwebkitgtk-3.0.so.0';
MAJOR_VERSION = 2;
MICRO_VERSION = 4;
MINOR_VERSION = 0;
USER_AGENT_MAJOR_VERSION = 537;
USER_AGENT_MINOR_VERSION = 32;
type
TWebKitCacheModel = Integer;
const
{ WebKitCacheModel }
WEBKIT_CACHE_MODEL_DEFAULT: TWebKitCacheModel = 0;
WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER: TWebKitCacheModel = 1;
WEBKIT_CACHE_MODEL_WEB_BROWSER: TWebKitCacheModel = 2;
WEBKIT_CACHE_MODEL_DOCUMENT_BROWSER: TWebKitCacheModel = 3;
type
TWebKitContextMenuAction = Integer;
const
{ WebKitContextMenuAction }
WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION: TWebKitContextMenuAction = 0;
WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK: TWebKitContextMenuAction = 1;
WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW: TWebKitContextMenuAction = 2;
WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK: TWebKitContextMenuAction = 3;
WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD: TWebKitContextMenuAction = 4;
WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW: TWebKitContextMenuAction = 5;
WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK: TWebKitContextMenuAction = 6;
WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD: TWebKitContextMenuAction = 7;
WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD: TWebKitContextMenuAction = 8;
WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW: TWebKitContextMenuAction = 9;
WEBKIT_CONTEXT_MENU_ACTION_GO_BACK: TWebKitContextMenuAction = 10;
WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD: TWebKitContextMenuAction = 11;
WEBKIT_CONTEXT_MENU_ACTION_STOP: TWebKitContextMenuAction = 12;
WEBKIT_CONTEXT_MENU_ACTION_RELOAD: TWebKitContextMenuAction = 13;
WEBKIT_CONTEXT_MENU_ACTION_COPY: TWebKitContextMenuAction = 14;
WEBKIT_CONTEXT_MENU_ACTION_CUT: TWebKitContextMenuAction = 15;
WEBKIT_CONTEXT_MENU_ACTION_PASTE: TWebKitContextMenuAction = 16;
WEBKIT_CONTEXT_MENU_ACTION_DELETE: TWebKitContextMenuAction = 17;
WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL: TWebKitContextMenuAction = 18;
WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS: TWebKitContextMenuAction = 19;
WEBKIT_CONTEXT_MENU_ACTION_UNICODE: TWebKitContextMenuAction = 20;
WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS: TWebKitContextMenuAction = 21;
WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND: TWebKitContextMenuAction = 22;
WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING: TWebKitContextMenuAction = 23;
WEBKIT_CONTEXT_MENU_ACTION_LEARN_SPELLING: TWebKitContextMenuAction = 24;
WEBKIT_CONTEXT_MENU_ACTION_IGNORE_GRAMMAR: TWebKitContextMenuAction = 25;
WEBKIT_CONTEXT_MENU_ACTION_FONT_MENU: TWebKitContextMenuAction = 26;
WEBKIT_CONTEXT_MENU_ACTION_BOLD: TWebKitContextMenuAction = 27;
WEBKIT_CONTEXT_MENU_ACTION_ITALIC: TWebKitContextMenuAction = 28;
WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE: TWebKitContextMenuAction = 29;
WEBKIT_CONTEXT_MENU_ACTION_OUTLINE: TWebKitContextMenuAction = 30;
WEBKIT_CONTEXT_MENU_ACTION_INSPECT_ELEMENT: TWebKitContextMenuAction = 31;
WEBKIT_CONTEXT_MENU_ACTION_OPEN_MEDIA_IN_NEW_WINDOW: TWebKitContextMenuAction = 32;
WEBKIT_CONTEXT_MENU_ACTION_COPY_MEDIA_LINK_TO_CLIPBOARD: TWebKitContextMenuAction = 33;
WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_CONTROLS: TWebKitContextMenuAction = 34;
WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_LOOP: TWebKitContextMenuAction = 35;
WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN: TWebKitContextMenuAction = 36;
WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PLAY_PAUSE: TWebKitContextMenuAction = 37;
WEBKIT_CONTEXT_MENU_ACTION_MEDIA_MUTE: TWebKitContextMenuAction = 38;
type
TWebKitDownloadStatus = Integer;
const
{ WebKitDownloadStatus }
WEBKIT_DOWNLOAD_STATUS_ERROR: TWebKitDownloadStatus = -1;
WEBKIT_DOWNLOAD_STATUS_CREATED: TWebKitDownloadStatus = 0;
WEBKIT_DOWNLOAD_STATUS_STARTED: TWebKitDownloadStatus = 1;
WEBKIT_DOWNLOAD_STATUS_CANCELLED: TWebKitDownloadStatus = 2;
WEBKIT_DOWNLOAD_STATUS_FINISHED: TWebKitDownloadStatus = 3;
type
TWebKitDownloadError = Integer;
const
{ WebKitDownloadError }
WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER: TWebKitDownloadError = 0;
WEBKIT_DOWNLOAD_ERROR_DESTINATION: TWebKitDownloadError = 1;
WEBKIT_DOWNLOAD_ERROR_NETWORK: TWebKitDownloadError = 2;
type
TWebKitEditingBehavior = Integer;
const
{ WebKitEditingBehavior }
WEBKIT_EDITING_BEHAVIOR_MAC: TWebKitEditingBehavior = 0;
WEBKIT_EDITING_BEHAVIOR_WINDOWS: TWebKitEditingBehavior = 1;
WEBKIT_EDITING_BEHAVIOR_UNIX: TWebKitEditingBehavior = 2;
type
TWebKitHitTestResultContext = Integer;
const
{ WebKitHitTestResultContext }
WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT: TWebKitHitTestResultContext = 2;
WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK: TWebKitHitTestResultContext = 4;
WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE: TWebKitHitTestResultContext = 8;
WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA: TWebKitHitTestResultContext = 16;
WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION: TWebKitHitTestResultContext = 32;
WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE: TWebKitHitTestResultContext = 64;
type
TWebKitInsertAction = Integer;
const
{ WebKitInsertAction }
WEBKIT_INSERT_ACTION_TYPED: TWebKitInsertAction = 0;
WEBKIT_INSERT_ACTION_PASTED: TWebKitInsertAction = 1;
WEBKIT_INSERT_ACTION_DROPPED: TWebKitInsertAction = 2;
type
TWebKitLoadStatus = Integer;
const
{ WebKitLoadStatus }
WEBKIT_LOAD_PROVISIONAL: TWebKitLoadStatus = 0;
WEBKIT_LOAD_COMMITTED: TWebKitLoadStatus = 1;
WEBKIT_LOAD_FINISHED: TWebKitLoadStatus = 2;
WEBKIT_LOAD_FIRST_VISUALLY_NON_EMPTY_LAYOUT: TWebKitLoadStatus = 3;
WEBKIT_LOAD_FAILED: TWebKitLoadStatus = 4;
type
TWebKitNavigationResponse = Integer;
const
{ WebKitNavigationResponse }
WEBKIT_NAVIGATION_RESPONSE_ACCEPT: TWebKitNavigationResponse = 0;
WEBKIT_NAVIGATION_RESPONSE_IGNORE: TWebKitNavigationResponse = 1;
WEBKIT_NAVIGATION_RESPONSE_DOWNLOAD: TWebKitNavigationResponse = 2;
type
TWebKitNetworkError = Integer;
const
{ WebKitNetworkError }
WEBKIT_NETWORK_ERROR_FAILED: TWebKitNetworkError = 399;
WEBKIT_NETWORK_ERROR_TRANSPORT: TWebKitNetworkError = 300;
WEBKIT_NETWORK_ERROR_UNKNOWN_PROTOCOL: TWebKitNetworkError = 301;
WEBKIT_NETWORK_ERROR_CANCELLED: TWebKitNetworkError = 302;
WEBKIT_NETWORK_ERROR_FILE_DOES_NOT_EXIST: TWebKitNetworkError = 303;
type
TWebKitPluginError = Integer;
const
{ WebKitPluginError }
WEBKIT_PLUGIN_ERROR_FAILED: TWebKitPluginError = 299;
WEBKIT_PLUGIN_ERROR_CANNOT_FIND_PLUGIN: TWebKitPluginError = 200;
WEBKIT_PLUGIN_ERROR_CANNOT_LOAD_PLUGIN: TWebKitPluginError = 201;
WEBKIT_PLUGIN_ERROR_JAVA_UNAVAILABLE: TWebKitPluginError = 202;
WEBKIT_PLUGIN_ERROR_CONNECTION_CANCELLED: TWebKitPluginError = 203;
WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD: TWebKitPluginError = 204;
type
TWebKitPolicyError = Integer;
const
{ WebKitPolicyError }
WEBKIT_POLICY_ERROR_FAILED: TWebKitPolicyError = 199;
WEBKIT_POLICY_ERROR_CANNOT_SHOW_MIME_TYPE: TWebKitPolicyError = 100;
WEBKIT_POLICY_ERROR_CANNOT_SHOW_URL: TWebKitPolicyError = 101;
WEBKIT_POLICY_ERROR_FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE: TWebKitPolicyError = 102;
WEBKIT_POLICY_ERROR_CANNOT_USE_RESTRICTED_PORT: TWebKitPolicyError = 103;
type
TWebKitSecurityPolicy = Integer;
const
{ WebKitSecurityPolicy }
WEBKIT_SECURITY_POLICY_LOCAL: TWebKitSecurityPolicy = 2;
WEBKIT_SECURITY_POLICY_NO_ACCESS_TO_OTHER_SCHEME: TWebKitSecurityPolicy = 4;
WEBKIT_SECURITY_POLICY_DISPLAY_ISOLATED: TWebKitSecurityPolicy = 8;
WEBKIT_SECURITY_POLICY_SECURE: TWebKitSecurityPolicy = 16;
WEBKIT_SECURITY_POLICY_CORS_ENABLED: TWebKitSecurityPolicy = 32;
WEBKIT_SECURITY_POLICY_EMPTY_DOCUMENT: TWebKitSecurityPolicy = 64;
type
TWebKitSelectionAffinity = Integer;
const
{ WebKitSelectionAffinity }
WEBKIT_SELECTION_AFFINITY_UPSTREAM: TWebKitSelectionAffinity = 0;
WEBKIT_SELECTION_AFFINITY_DOWNSTREAM: TWebKitSelectionAffinity = 1;
type
TWebKitWebViewViewMode = Integer;
const
{ WebKitWebViewViewMode }
WEBKIT_WEB_VIEW_VIEW_MODE_WINDOWED: TWebKitWebViewViewMode = 0;
WEBKIT_WEB_VIEW_VIEW_MODE_FLOATING: TWebKitWebViewViewMode = 1;
WEBKIT_WEB_VIEW_VIEW_MODE_FULLSCREEN: TWebKitWebViewViewMode = 2;
WEBKIT_WEB_VIEW_VIEW_MODE_MAXIMIZED: TWebKitWebViewViewMode = 3;
WEBKIT_WEB_VIEW_VIEW_MODE_MINIMIZED: TWebKitWebViewViewMode = 4;
type
TWebKitWebNavigationReason = Integer;
const
{ WebKitWebNavigationReason }
WEBKIT_WEB_NAVIGATION_REASON_LINK_CLICKED: TWebKitWebNavigationReason = 0;
WEBKIT_WEB_NAVIGATION_REASON_FORM_SUBMITTED: TWebKitWebNavigationReason = 1;
WEBKIT_WEB_NAVIGATION_REASON_BACK_FORWARD: TWebKitWebNavigationReason = 2;
WEBKIT_WEB_NAVIGATION_REASON_RELOAD: TWebKitWebNavigationReason = 3;
WEBKIT_WEB_NAVIGATION_REASON_FORM_RESUBMITTED: TWebKitWebNavigationReason = 4;
WEBKIT_WEB_NAVIGATION_REASON_OTHER: TWebKitWebNavigationReason = 5;
type
TWebKitWebViewTargetInfo = Integer;
const
{ WebKitWebViewTargetInfo }
WEBKIT_WEB_VIEW_TARGET_INFO_HTML: TWebKitWebViewTargetInfo = 0;
WEBKIT_WEB_VIEW_TARGET_INFO_TEXT: TWebKitWebViewTargetInfo = 1;
WEBKIT_WEB_VIEW_TARGET_INFO_IMAGE: TWebKitWebViewTargetInfo = 2;
WEBKIT_WEB_VIEW_TARGET_INFO_URI_LIST: TWebKitWebViewTargetInfo = 3;
WEBKIT_WEB_VIEW_TARGET_INFO_NETSCAPE_URL: TWebKitWebViewTargetInfo = 4;
type
PPWebKitCacheModel = ^PWebKitCacheModel;
PWebKitCacheModel = ^TWebKitCacheModel;
PPWebKitContextMenuAction = ^PWebKitContextMenuAction;
PWebKitContextMenuAction = ^TWebKitContextMenuAction;
PPWebKitDOMEventTarget = ^PWebKitDOMEventTarget;
PWebKitDOMEventTarget = ^TWebKitDOMEventTarget;
PPWebKitDOMEvent = ^PWebKitDOMEvent;
PWebKitDOMEvent = ^TWebKitDOMEvent;
TWebKitDOMEventTarget = object
function add_event_listener(eventName: Pgchar; handler: TGCallback; bubble: gboolean; userData: gpointer): gboolean; cdecl; inline;
procedure dispatch_event(event: PWebKitDOMEvent; error: PPGError); cdecl; inline;
function remove_event_listener(eventName: Pgchar; handler: TGCallback; bubble: gboolean): gboolean; cdecl; inline;
end;
PPWebKitDOMAttr = ^PWebKitDOMAttr;
PWebKitDOMAttr = ^TWebKitDOMAttr;
PPWebKitDOMNode = ^PWebKitDOMNode;
PWebKitDOMNode = ^TWebKitDOMNode;
PPWebKitDOMObject = ^PWebKitDOMObject;
PWebKitDOMObject = ^TWebKitDOMObject;
TWebKitDOMObject = object(TGObject)
coreObject: gpointer;
//property core_object: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_core_object { property is writeable but setter not declared } ;
end;
PPWebKitDOMNamedNodeMap = ^PWebKitDOMNamedNodeMap;
PWebKitDOMNamedNodeMap = ^TWebKitDOMNamedNodeMap;
PPWebKitDOMNodeList = ^PWebKitDOMNodeList;
PWebKitDOMNodeList = ^TWebKitDOMNodeList;
PPWebKitDOMDocument = ^PWebKitDOMDocument;
PWebKitDOMDocument = ^TWebKitDOMDocument;
PPWebKitDOMElement = ^PWebKitDOMElement;
PWebKitDOMElement = ^TWebKitDOMElement;
TWebKitDOMNode = object(TWebKitDOMObject)
function append_child(newChild: PWebKitDOMNode; error: PPGError): PWebKitDOMNode; cdecl; inline;
function clone_node(deep: gboolean): PWebKitDOMNode; cdecl; inline;
function compare_document_position(other: PWebKitDOMNode): gushort; cdecl; inline;
function contains(other: PWebKitDOMNode): gboolean; cdecl; inline;
function dispatch_event(event: PWebKitDOMEvent; error: PPGError): gboolean; cdecl; inline;
function get_attributes: PWebKitDOMNamedNodeMap; cdecl; inline;
function get_base_uri: Pgchar; cdecl; inline;
function get_child_nodes: PWebKitDOMNodeList; cdecl; inline;
function get_first_child: PWebKitDOMNode; cdecl; inline;
function get_last_child: PWebKitDOMNode; cdecl; inline;
function get_local_name: Pgchar; cdecl; inline;
function get_namespace_uri: Pgchar; cdecl; inline;
function get_next_sibling: PWebKitDOMNode; cdecl; inline;
function get_node_name: Pgchar; cdecl; inline;
function get_node_type: gushort; cdecl; inline;
function get_node_value: Pgchar; cdecl; inline;
function get_owner_document: PWebKitDOMDocument; cdecl; inline;
function get_parent_element: PWebKitDOMElement; cdecl; inline;
function get_parent_node: PWebKitDOMNode; cdecl; inline;
function get_prefix: Pgchar; cdecl; inline;
function get_previous_sibling: PWebKitDOMNode; cdecl; inline;
function get_text_content: Pgchar; cdecl; inline;
function has_attributes: gboolean; cdecl; inline;
function has_child_nodes: gboolean; cdecl; inline;
function insert_before(newChild: PWebKitDOMNode; refChild: PWebKitDOMNode; error: PPGError): PWebKitDOMNode; cdecl; inline;
function is_default_namespace(namespaceURI: Pgchar): gboolean; cdecl; inline;
function is_equal_node(other: PWebKitDOMNode): gboolean; cdecl; inline;
function is_same_node(other: PWebKitDOMNode): gboolean; cdecl; inline;
function is_supported(feature: Pgchar; version: Pgchar): gboolean; cdecl; inline;
function lookup_namespace_uri(prefix: Pgchar): Pgchar; cdecl; inline;
function lookup_prefix(namespaceURI: Pgchar): Pgchar; cdecl; inline;
procedure normalize; cdecl; inline;
function remove_child(oldChild: PWebKitDOMNode; error: PPGError): PWebKitDOMNode; cdecl; inline;
function replace_child(newChild: PWebKitDOMNode; oldChild: PWebKitDOMNode; error: PPGError): PWebKitDOMNode; cdecl; inline;
procedure set_node_value(value: Pgchar; error: PPGError); cdecl; inline;
procedure set_prefix(value: Pgchar; error: PPGError); cdecl; inline;
procedure set_text_content(value: Pgchar; error: PPGError); cdecl; inline;
property attributes: PWebKitDOMNamedNodeMap read get_attributes ;
property base_uri: Pgchar read get_base_uri ;
property child_nodes: PWebKitDOMNodeList read get_child_nodes ;
property first_child: PWebKitDOMNode read get_first_child ;
property last_child: PWebKitDOMNode read get_last_child ;
property local_name: Pgchar read get_local_name ;
property namespace_uri: Pgchar read get_namespace_uri ;
property next_sibling: PWebKitDOMNode read get_next_sibling ;
property node_name: Pgchar read get_node_name ;
property node_type: gushort read get_node_type ;
property node_value: Pgchar read get_node_value { property is writeable but setter not declared } ;
property owner_document: PWebKitDOMDocument read get_owner_document ;
property parent_element: PWebKitDOMElement read get_parent_element ;
property parent_node: PWebKitDOMNode read get_parent_node ;
property prefix: Pgchar read get_prefix { property is writeable but setter not declared } ;
property previous_sibling: PWebKitDOMNode read get_previous_sibling ;
property text_content: Pgchar read get_text_content { property is writeable but setter not declared } ;
end;
TWebKitDOMAttr = object(TWebKitDOMNode)
function get_is_id: gboolean; cdecl; inline;
function get_name: Pgchar; cdecl; inline;
function get_owner_element: PWebKitDOMElement; cdecl; inline;
function get_specified: gboolean; cdecl; inline;
function get_value: Pgchar; cdecl; inline;
procedure set_value(value: Pgchar; error: PPGError); cdecl; inline;
property is_id: gboolean read get_is_id ;
property name: Pgchar read get_name ;
property owner_element: PWebKitDOMElement read get_owner_element ;
property specified: gboolean read get_specified ;
property value: Pgchar read get_value { property is writeable but setter not declared } ;
end;
PPWebKitDOMDOMTokenList = ^PWebKitDOMDOMTokenList;
PWebKitDOMDOMTokenList = ^TWebKitDOMDOMTokenList;
PPWebKitDOMCSSStyleDeclaration = ^PWebKitDOMCSSStyleDeclaration;
PWebKitDOMCSSStyleDeclaration = ^TWebKitDOMCSSStyleDeclaration;
TWebKitDOMElement = object(TWebKitDOMNode)
procedure blur; cdecl; inline;
procedure focus; cdecl; inline;
function get_attribute(name: Pgchar): Pgchar; cdecl; inline;
function get_attribute_node(name: Pgchar): PWebKitDOMAttr; cdecl; inline;
function get_attribute_node_ns(namespaceURI: Pgchar; localName: Pgchar): PWebKitDOMAttr; cdecl; inline;
function get_attribute_ns(namespaceURI: Pgchar; localName: Pgchar): Pgchar; cdecl; inline;
function get_child_element_count: gulong; cdecl; inline;
function get_class_list: PWebKitDOMDOMTokenList; cdecl; inline;
function get_class_name: Pgchar; cdecl; inline;
function get_client_height: glong; cdecl; inline;
function get_client_left: glong; cdecl; inline;
function get_client_top: glong; cdecl; inline;
function get_client_width: glong; cdecl; inline;
function get_elements_by_class_name(name: Pgchar): PWebKitDOMNodeList; cdecl; inline;
function get_elements_by_tag_name(name: Pgchar): PWebKitDOMNodeList; cdecl; inline;
function get_elements_by_tag_name_ns(namespaceURI: Pgchar; localName: Pgchar): PWebKitDOMNodeList; cdecl; inline;
function get_first_element_child: PWebKitDOMElement; cdecl; inline;
function get_last_element_child: PWebKitDOMElement; cdecl; inline;
function get_next_element_sibling: PWebKitDOMElement; cdecl; inline;
function get_offset_height: glong; cdecl; inline;
function get_offset_left: glong; cdecl; inline;
function get_offset_parent: PWebKitDOMElement; cdecl; inline;
function get_offset_top: glong; cdecl; inline;
function get_offset_width: glong; cdecl; inline;
function get_previous_element_sibling: PWebKitDOMElement; cdecl; inline;
function get_scroll_height: glong; cdecl; inline;
function get_scroll_left: glong; cdecl; inline;
function get_scroll_top: glong; cdecl; inline;
function get_scroll_width: glong; cdecl; inline;
function get_style: PWebKitDOMCSSStyleDeclaration; cdecl; inline;
function get_tag_name: Pgchar; cdecl; inline;
function get_webkit_region_overflow: Pgchar; cdecl; inline;
function get_webkit_region_overset: Pgchar; cdecl; inline;
function has_attribute(name: Pgchar): gboolean; cdecl; inline;
function has_attribute_ns(namespaceURI: Pgchar; localName: Pgchar): gboolean; cdecl; inline;
function query_selector(selectors: Pgchar; error: PPGError): PWebKitDOMElement; cdecl; inline;
function query_selector_all(selectors: Pgchar; error: PPGError): PWebKitDOMNodeList; cdecl; inline;
procedure remove(error: PPGError); cdecl; inline;
procedure remove_attribute(name: Pgchar); cdecl; inline;
function remove_attribute_node(oldAttr: PWebKitDOMAttr; error: PPGError): PWebKitDOMAttr; cdecl; inline;
procedure remove_attribute_ns(namespaceURI: Pgchar; localName: Pgchar); cdecl; inline;
procedure scroll_by_lines(lines: glong); cdecl; inline;
procedure scroll_by_pages(pages: glong); cdecl; inline;
procedure scroll_into_view(alignWithTop: gboolean); cdecl; inline;
procedure scroll_into_view_if_needed(centerIfNeeded: gboolean); cdecl; inline;
procedure set_attribute(name: Pgchar; value: Pgchar; error: PPGError); cdecl; inline;
function set_attribute_node(newAttr: PWebKitDOMAttr; error: PPGError): PWebKitDOMAttr; cdecl; inline;
function set_attribute_node_ns(newAttr: PWebKitDOMAttr; error: PPGError): PWebKitDOMAttr; cdecl; inline;
procedure set_attribute_ns(namespaceURI: Pgchar; qualifiedName: Pgchar; value: Pgchar; error: PPGError); cdecl; inline;
procedure set_class_name(value: Pgchar); cdecl; inline;
procedure set_scroll_left(value: glong); cdecl; inline;
procedure set_scroll_top(value: glong); cdecl; inline;
function webkit_matches_selector(selectors: Pgchar; error: PPGError): gboolean; cdecl; inline;
procedure webkit_request_full_screen(flags: gushort); cdecl; inline;
procedure webkit_request_fullscreen; cdecl; inline;
procedure webkit_request_pointer_lock; cdecl; inline;
property child_element_count: gulong read get_child_element_count ;
property class_list: PWebKitDOMDOMTokenList read get_class_list ;
property class_name: Pgchar read get_class_name write set_class_name;
property client_height: glong read get_client_height ;
property client_left: glong read get_client_left ;
property client_top: glong read get_client_top ;
property client_width: glong read get_client_width ;
property first_element_child: PWebKitDOMElement read get_first_element_child ;
property last_element_child: PWebKitDOMElement read get_last_element_child ;
property next_element_sibling: PWebKitDOMElement read get_next_element_sibling ;
property offset_height: glong read get_offset_height ;
property offset_left: glong read get_offset_left ;
property offset_parent: PWebKitDOMElement read get_offset_parent ;
property offset_top: glong read get_offset_top ;
property offset_width: glong read get_offset_width ;
property previous_element_sibling: PWebKitDOMElement read get_previous_element_sibling ;
property scroll_height: glong read get_scroll_height ;
property scroll_left: glong read get_scroll_left write set_scroll_left;
property scroll_top: glong read get_scroll_top write set_scroll_top;
property scroll_width: glong read get_scroll_width ;
property style: PWebKitDOMCSSStyleDeclaration read get_style ;
property tag_name: Pgchar read get_tag_name ;
property webkit_region_overset: Pgchar read get_webkit_region_overset ;
end;
PPWebKitDOMNodeClass = ^PWebKitDOMNodeClass;
PWebKitDOMNodeClass = ^TWebKitDOMNodeClass;
PPWebKitDOMObjectClass = ^PWebKitDOMObjectClass;
PWebKitDOMObjectClass = ^TWebKitDOMObjectClass;
TWebKitDOMObjectClass = object
parentClass: TGObjectClass;
end;
TWebKitDOMNodeClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMAttrClass = ^PWebKitDOMAttrClass;
PWebKitDOMAttrClass = ^TWebKitDOMAttrClass;
TWebKitDOMAttrClass = object
parent_class: TWebKitDOMNodeClass;
end;
PPWebKitDOMBarInfo = ^PWebKitDOMBarInfo;
PWebKitDOMBarInfo = ^TWebKitDOMBarInfo;
TWebKitDOMBarInfo = object(TWebKitDOMObject)
function get_visible: gboolean; cdecl; inline;
property visible: gboolean read get_visible ;
end;
PPWebKitDOMBarInfoClass = ^PWebKitDOMBarInfoClass;
PWebKitDOMBarInfoClass = ^TWebKitDOMBarInfoClass;
TWebKitDOMBarInfoClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMBlob = ^PWebKitDOMBlob;
PWebKitDOMBlob = ^TWebKitDOMBlob;
TWebKitDOMBlob = object(TWebKitDOMObject)
function get_size: guint64; cdecl; inline;
function slice(start: gint64; end_: gint64; contentType: Pgchar): PWebKitDOMBlob; cdecl; inline;
function webkit_slice(start: gint64; end_: gint64; content_type: Pgchar): PWebKitDOMBlob; cdecl; inline;
property size: guint64 read get_size ;
//property type_: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_type ;
end;
PPWebKitDOMBlobClass = ^PWebKitDOMBlobClass;
PWebKitDOMBlobClass = ^TWebKitDOMBlobClass;
TWebKitDOMBlobClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMText = ^PWebKitDOMText;
PWebKitDOMText = ^TWebKitDOMText;
PPWebKitDOMCharacterData = ^PWebKitDOMCharacterData;
PWebKitDOMCharacterData = ^TWebKitDOMCharacterData;
TWebKitDOMCharacterData = object(TWebKitDOMNode)
procedure append_data(data: Pgchar; error: PPGError); cdecl; inline;
procedure delete_data(offset: gulong; length: gulong; error: PPGError); cdecl; inline;
function get_data: Pgchar; cdecl; inline;
function get_length: gulong; cdecl; inline;
procedure insert_data(offset: gulong; data: Pgchar; error: PPGError); cdecl; inline;
procedure remove(error: PPGError); cdecl; inline;
procedure replace_data(offset: gulong; length: gulong; data: Pgchar; error: PPGError); cdecl; inline;
procedure set_data(value: Pgchar; error: PPGError); cdecl; inline;
function substring_data(offset: gulong; length: gulong; error: PPGError): Pgchar; cdecl; inline;
property data: Pgchar read get_data { property is writeable but setter not declared } ;
property length: gulong read get_length ;
end;
TWebKitDOMText = object(TWebKitDOMCharacterData)
function get_whole_text: Pgchar; cdecl; inline;
function replace_whole_text(content: Pgchar; error: PPGError): PWebKitDOMText; cdecl; inline;
function split_text(offset: gulong; error: PPGError): PWebKitDOMText; cdecl; inline;
property whole_text: Pgchar read get_whole_text ;
end;
PPWebKitDOMCDATASection = ^PWebKitDOMCDATASection;
PWebKitDOMCDATASection = ^TWebKitDOMCDATASection;
TWebKitDOMCDATASection = object(TWebKitDOMText)
end;
PPWebKitDOMTextClass = ^PWebKitDOMTextClass;
PWebKitDOMTextClass = ^TWebKitDOMTextClass;
PPWebKitDOMCharacterDataClass = ^PWebKitDOMCharacterDataClass;
PWebKitDOMCharacterDataClass = ^TWebKitDOMCharacterDataClass;
TWebKitDOMCharacterDataClass = object
parent_class: TWebKitDOMNodeClass;
end;
TWebKitDOMTextClass = object
parent_class: TWebKitDOMCharacterDataClass;
end;
PPWebKitDOMCDATASectionClass = ^PWebKitDOMCDATASectionClass;
PWebKitDOMCDATASectionClass = ^TWebKitDOMCDATASectionClass;
TWebKitDOMCDATASectionClass = object
parent_class: TWebKitDOMTextClass;
end;
PPWebKitDOMCSSRule = ^PWebKitDOMCSSRule;
PWebKitDOMCSSRule = ^TWebKitDOMCSSRule;
PPWebKitDOMCSSStyleSheet = ^PWebKitDOMCSSStyleSheet;
PWebKitDOMCSSStyleSheet = ^TWebKitDOMCSSStyleSheet;
TWebKitDOMCSSRule = object(TWebKitDOMObject)
function get_css_text: Pgchar; cdecl; inline;
function get_parent_rule: PWebKitDOMCSSRule; cdecl; inline;
function get_parent_style_sheet: PWebKitDOMCSSStyleSheet; cdecl; inline;
procedure set_css_text(value: Pgchar; error: PPGError); cdecl; inline;
property css_text: Pgchar read get_css_text { property is writeable but setter not declared } ;
property parent_rule: PWebKitDOMCSSRule read get_parent_rule ;
property parent_style_sheet: PWebKitDOMCSSStyleSheet read get_parent_style_sheet ;
//property type_: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_type ;
end;
PPWebKitDOMStyleSheet = ^PWebKitDOMStyleSheet;
PWebKitDOMStyleSheet = ^TWebKitDOMStyleSheet;
PPWebKitDOMMediaList = ^PWebKitDOMMediaList;
PWebKitDOMMediaList = ^TWebKitDOMMediaList;
TWebKitDOMStyleSheet = object(TWebKitDOMObject)
function get_disabled: gboolean; cdecl; inline;
function get_href: Pgchar; cdecl; inline;
function get_media: PWebKitDOMMediaList; cdecl; inline;
function get_owner_node: PWebKitDOMNode; cdecl; inline;
function get_parent_style_sheet: PWebKitDOMStyleSheet; cdecl; inline;
function get_title: Pgchar; cdecl; inline;
procedure set_disabled(value: gboolean); cdecl; inline;
property disabled: gboolean read get_disabled write set_disabled;
property href: Pgchar read get_href ;
property media: PWebKitDOMMediaList read get_media ;
property owner_node: PWebKitDOMNode read get_owner_node ;
property parent_style_sheet: PWebKitDOMStyleSheet read get_parent_style_sheet ;
property title: Pgchar read get_title ;
//property type_: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_type ;
end;
PPWebKitDOMCSSRuleList = ^PWebKitDOMCSSRuleList;
PWebKitDOMCSSRuleList = ^TWebKitDOMCSSRuleList;
TWebKitDOMCSSStyleSheet = object(TWebKitDOMStyleSheet)
function add_rule(selector: Pgchar; style: Pgchar; index: gulong; error: PPGError): glong; cdecl; inline;
procedure delete_rule(index: gulong; error: PPGError); cdecl; inline;
function get_css_rules: PWebKitDOMCSSRuleList; cdecl; inline;
function get_owner_rule: PWebKitDOMCSSRule; cdecl; inline;
function get_rules: PWebKitDOMCSSRuleList; cdecl; inline;
function insert_rule(rule: Pgchar; index: gulong; error: PPGError): gulong; cdecl; inline;
procedure remove_rule(index: gulong; error: PPGError); cdecl; inline;
property css_rules: PWebKitDOMCSSRuleList read get_css_rules ;
property owner_rule: PWebKitDOMCSSRule read get_owner_rule ;
property rules: PWebKitDOMCSSRuleList read get_rules ;
end;
PPWebKitDOMCSSRuleClass = ^PWebKitDOMCSSRuleClass;
PWebKitDOMCSSRuleClass = ^TWebKitDOMCSSRuleClass;
TWebKitDOMCSSRuleClass = object
parent_class: TWebKitDOMObjectClass;
end;
TWebKitDOMCSSRuleList = object(TWebKitDOMObject)
function get_length: gulong; cdecl; inline;
function item(index: gulong): PWebKitDOMCSSRule; cdecl; inline;
property length: gulong read get_length ;
end;
PPWebKitDOMCSSRuleListClass = ^PWebKitDOMCSSRuleListClass;
PWebKitDOMCSSRuleListClass = ^TWebKitDOMCSSRuleListClass;
TWebKitDOMCSSRuleListClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMCSSValue = ^PWebKitDOMCSSValue;
PWebKitDOMCSSValue = ^TWebKitDOMCSSValue;
TWebKitDOMCSSStyleDeclaration = object(TWebKitDOMObject)
function get_css_text: Pgchar; cdecl; inline;
function get_length: gulong; cdecl; inline;
function get_parent_rule: PWebKitDOMCSSRule; cdecl; inline;
function get_property_css_value(propertyName: Pgchar): PWebKitDOMCSSValue; cdecl; inline;
function get_property_priority(propertyName: Pgchar): Pgchar; cdecl; inline;
function get_property_shorthand(propertyName: Pgchar): Pgchar; cdecl; inline;
function get_property_value(propertyName: Pgchar): Pgchar; cdecl; inline;
function is_property_implicit(propertyName: Pgchar): gboolean; cdecl; inline;
function item(index: gulong): Pgchar; cdecl; inline;
function remove_property(propertyName: Pgchar; error: PPGError): Pgchar; cdecl; inline;
procedure set_css_text(value: Pgchar; error: PPGError); cdecl; inline;
procedure set_property(propertyName: Pgchar; value: Pgchar; priority: Pgchar; error: PPGError); cdecl; inline;
property css_text: Pgchar read get_css_text { property is writeable but setter not declared } ;
property length: gulong read get_length ;
property parent_rule: PWebKitDOMCSSRule read get_parent_rule ;
end;
TWebKitDOMCSSValue = object(TWebKitDOMObject)
function get_css_text: Pgchar; cdecl; inline;
function get_css_value_type: gushort; cdecl; inline;
procedure set_css_text(value: Pgchar; error: PPGError); cdecl; inline;
property css_text: Pgchar read get_css_text { property is writeable but setter not declared } ;
property css_value_type: gushort read get_css_value_type ;
end;
PPWebKitDOMCSSStyleDeclarationClass = ^PWebKitDOMCSSStyleDeclarationClass;
PWebKitDOMCSSStyleDeclarationClass = ^TWebKitDOMCSSStyleDeclarationClass;
TWebKitDOMCSSStyleDeclarationClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMStyleSheetClass = ^PWebKitDOMStyleSheetClass;
PWebKitDOMStyleSheetClass = ^TWebKitDOMStyleSheetClass;
TWebKitDOMStyleSheetClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMCSSStyleSheetClass = ^PWebKitDOMCSSStyleSheetClass;
PWebKitDOMCSSStyleSheetClass = ^TWebKitDOMCSSStyleSheetClass;
TWebKitDOMCSSStyleSheetClass = object
parent_class: TWebKitDOMStyleSheetClass;
end;
PPWebKitDOMCSSValueClass = ^PWebKitDOMCSSValueClass;
PWebKitDOMCSSValueClass = ^TWebKitDOMCSSValueClass;
TWebKitDOMCSSValueClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMComment = ^PWebKitDOMComment;
PWebKitDOMComment = ^TWebKitDOMComment;
TWebKitDOMComment = object(TWebKitDOMCharacterData)
end;
PPWebKitDOMCommentClass = ^PWebKitDOMCommentClass;
PWebKitDOMCommentClass = ^TWebKitDOMCommentClass;
TWebKitDOMCommentClass = object
parent_class: TWebKitDOMCharacterDataClass;
end;
PPWebKitDOMMemoryInfo = ^PWebKitDOMMemoryInfo;
PWebKitDOMMemoryInfo = ^TWebKitDOMMemoryInfo;
TWebKitDOMMemoryInfo = object(TWebKitDOMObject)
function get_js_heap_size_limit: gulong; cdecl; inline;
function get_total_js_heap_size: gulong; cdecl; inline;
function get_used_js_heap_size: gulong; cdecl; inline;
property js_heap_size_limit: gulong read get_js_heap_size_limit ;
property total_js_heap_size: gulong read get_total_js_heap_size ;
property used_js_heap_size: gulong read get_used_js_heap_size ;
end;
PPWebKitDOMConsole = ^PWebKitDOMConsole;
PWebKitDOMConsole = ^TWebKitDOMConsole;
TWebKitDOMConsole = object(TWebKitDOMObject)
function get_memory: PWebKitDOMMemoryInfo; cdecl; inline;
procedure group_end; cdecl; inline;
procedure time(title: Pgchar); cdecl; inline;
property memory: PWebKitDOMMemoryInfo read get_memory ;
end;
PPWebKitDOMConsoleClass = ^PWebKitDOMConsoleClass;
PWebKitDOMConsoleClass = ^TWebKitDOMConsoleClass;
TWebKitDOMConsoleClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMCustom = ^PWebKitDOMCustom;
PWebKitDOMCustom = ^TWebKitDOMCustom;
TWebKitDOMCustom = record
end;
PPWebKitDOMCustomClass = ^PWebKitDOMCustomClass;
PWebKitDOMCustomClass = ^TWebKitDOMCustomClass;
TWebKitDOMCustomClass = record
end;
PPWebKitDOMDOMApplicationCache = ^PWebKitDOMDOMApplicationCache;
PWebKitDOMDOMApplicationCache = ^TWebKitDOMDOMApplicationCache;
TWebKitDOMDOMApplicationCache = object(TWebKitDOMObject)
procedure abort; cdecl; inline;
function dispatch_event(evt: PWebKitDOMEvent; error: PPGError): gboolean; cdecl; inline;
function get_status: gushort; cdecl; inline;
procedure swap_cache(error: PPGError); cdecl; inline;
procedure update(error: PPGError); cdecl; inline;
property status: gushort read get_status ;
end;
TWebKitDOMEvent = object(TWebKitDOMObject)
function get_bubbles: gboolean; cdecl; inline;
function get_cancel_bubble: gboolean; cdecl; inline;
function get_cancelable: gboolean; cdecl; inline;
function get_current_target: PWebKitDOMEventTarget; cdecl; inline;
function get_default_prevented: gboolean; cdecl; inline;
function get_event_phase: gushort; cdecl; inline;
function get_return_value: gboolean; cdecl; inline;
function get_src_element: PWebKitDOMEventTarget; cdecl; inline;
function get_target: PWebKitDOMEventTarget; cdecl; inline;
function get_time_stamp: guint32; cdecl; inline;
procedure init_event(eventTypeArg: Pgchar; canBubbleArg: gboolean; cancelableArg: gboolean); cdecl; inline;
procedure prevent_default; cdecl; inline;
procedure set_cancel_bubble(value: gboolean); cdecl; inline;
procedure set_return_value(value: gboolean); cdecl; inline;
procedure stop_immediate_propagation; cdecl; inline;
procedure stop_propagation; cdecl; inline;
property bubbles: gboolean read get_bubbles ;
property cancel_bubble: gboolean read get_cancel_bubble write set_cancel_bubble;
property cancelable: gboolean read get_cancelable ;
property current_target: PWebKitDOMEventTarget read get_current_target ;
property default_prevented: gboolean read get_default_prevented ;
property event_phase: gushort read get_event_phase ;
property return_value: gboolean read get_return_value write set_return_value;
property src_element: PWebKitDOMEventTarget read get_src_element ;
property target: PWebKitDOMEventTarget read get_target ;
property time_stamp: guint32 read get_time_stamp ;
//property type_: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_type ;
end;
PPWebKitDOMDOMApplicationCacheClass = ^PWebKitDOMDOMApplicationCacheClass;
PWebKitDOMDOMApplicationCacheClass = ^TWebKitDOMDOMApplicationCacheClass;
TWebKitDOMDOMApplicationCacheClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMDOMImplementation = ^PWebKitDOMDOMImplementation;
PWebKitDOMDOMImplementation = ^TWebKitDOMDOMImplementation;
PPWebKitDOMDocumentType = ^PWebKitDOMDocumentType;
PWebKitDOMDocumentType = ^TWebKitDOMDocumentType;
PPWebKitDOMHTMLDocument = ^PWebKitDOMHTMLDocument;
PWebKitDOMHTMLDocument = ^TWebKitDOMHTMLDocument;
TWebKitDOMDOMImplementation = object(TWebKitDOMObject)
function create_css_style_sheet(title: Pgchar; media: Pgchar; error: PPGError): PWebKitDOMCSSStyleSheet; cdecl; inline;
function create_document(namespaceURI: Pgchar; qualifiedName: Pgchar; doctype: PWebKitDOMDocumentType; error: PPGError): PWebKitDOMDocument; cdecl; inline;
function create_document_type(qualifiedName: Pgchar; publicId: Pgchar; systemId: Pgchar; error: PPGError): PWebKitDOMDocumentType; cdecl; inline;
function create_html_document(title: Pgchar): PWebKitDOMHTMLDocument; cdecl; inline;
function has_feature(feature: Pgchar; version: Pgchar): gboolean; cdecl; inline;
end;
PPWebKitDOMRange = ^PWebKitDOMRange;
PWebKitDOMRange = ^TWebKitDOMRange;
PPWebKitDOMDocumentFragment = ^PWebKitDOMDocumentFragment;
PWebKitDOMDocumentFragment = ^TWebKitDOMDocumentFragment;
PPWebKitDOMEntityReference = ^PWebKitDOMEntityReference;
PWebKitDOMEntityReference = ^TWebKitDOMEntityReference;
PPWebKitDOMXPathExpression = ^PWebKitDOMXPathExpression;
PWebKitDOMXPathExpression = ^TWebKitDOMXPathExpression;
PPWebKitDOMXPathNSResolver = ^PWebKitDOMXPathNSResolver;
PWebKitDOMXPathNSResolver = ^TWebKitDOMXPathNSResolver;
PPWebKitDOMNodeIterator = ^PWebKitDOMNodeIterator;
PWebKitDOMNodeIterator = ^TWebKitDOMNodeIterator;
PPWebKitDOMNodeFilter = ^PWebKitDOMNodeFilter;
PWebKitDOMNodeFilter = ^TWebKitDOMNodeFilter;
PPWebKitDOMProcessingInstruction = ^PWebKitDOMProcessingInstruction;
PWebKitDOMProcessingInstruction = ^TWebKitDOMProcessingInstruction;
PPWebKitDOMTreeWalker = ^PWebKitDOMTreeWalker;
PWebKitDOMTreeWalker = ^TWebKitDOMTreeWalker;
PPWebKitDOMXPathResult = ^PWebKitDOMXPathResult;
PWebKitDOMXPathResult = ^TWebKitDOMXPathResult;
PPWebKitDOMHTMLCollection = ^PWebKitDOMHTMLCollection;
PWebKitDOMHTMLCollection = ^TWebKitDOMHTMLCollection;
PPWebKitDOMHTMLElement = ^PWebKitDOMHTMLElement;
PWebKitDOMHTMLElement = ^TWebKitDOMHTMLElement;
PPWebKitDOMDOMWindow = ^PWebKitDOMDOMWindow;
PWebKitDOMDOMWindow = ^TWebKitDOMDOMWindow;
PPWebKitDOMHTMLHeadElement = ^PWebKitDOMHTMLHeadElement;
PWebKitDOMHTMLHeadElement = ^TWebKitDOMHTMLHeadElement;
PPWebKitDOMDOMSecurityPolicy = ^PWebKitDOMDOMSecurityPolicy;
PWebKitDOMDOMSecurityPolicy = ^TWebKitDOMDOMSecurityPolicy;
PPWebKitDOMStyleSheetList = ^PWebKitDOMStyleSheetList;
PWebKitDOMStyleSheetList = ^TWebKitDOMStyleSheetList;
PPWebKitDOMDOMNamedFlowCollection = ^PWebKitDOMDOMNamedFlowCollection;
PWebKitDOMDOMNamedFlowCollection = ^TWebKitDOMDOMNamedFlowCollection;
TWebKitDOMDocument = object(TWebKitDOMNode)
function adopt_node(source: PWebKitDOMNode; error: PPGError): PWebKitDOMNode; cdecl; inline;
function caret_range_from_point(x: glong; y: glong): PWebKitDOMRange; cdecl; inline;
function create_attribute(name: Pgchar; error: PPGError): PWebKitDOMAttr; cdecl; inline;
function create_attribute_ns(namespaceURI: Pgchar; qualifiedName: Pgchar; error: PPGError): PWebKitDOMAttr; cdecl; inline;
function create_cdata_section(data: Pgchar; error: PPGError): PWebKitDOMCDATASection; cdecl; inline;
function create_comment(data: Pgchar): PWebKitDOMComment; cdecl; inline;
function create_css_style_declaration: PWebKitDOMCSSStyleDeclaration; cdecl; inline;
function create_document_fragment: PWebKitDOMDocumentFragment; cdecl; inline;
function create_element(tagName: Pgchar; error: PPGError): PWebKitDOMElement; cdecl; inline;
function create_element_ns(namespaceURI: Pgchar; qualifiedName: Pgchar; error: PPGError): PWebKitDOMElement; cdecl; inline;
function create_entity_reference(name: Pgchar; error: PPGError): PWebKitDOMEntityReference; cdecl; inline;
function create_event(eventType: Pgchar; error: PPGError): PWebKitDOMEvent; cdecl; inline;
function create_expression(expression: Pgchar; resolver: PWebKitDOMXPathNSResolver; error: PPGError): PWebKitDOMXPathExpression; cdecl; inline;
function create_node_iterator(root: PWebKitDOMNode; whatToShow: gulong; filter: PWebKitDOMNodeFilter; expandEntityReferences: gboolean; error: PPGError): PWebKitDOMNodeIterator; cdecl; inline;
function create_ns_resolver(nodeResolver: PWebKitDOMNode): PWebKitDOMXPathNSResolver; cdecl; inline;
function create_processing_instruction(target: Pgchar; data: Pgchar; error: PPGError): PWebKitDOMProcessingInstruction; cdecl; inline;
function create_range: PWebKitDOMRange; cdecl; inline;
function create_text_node(data: Pgchar): PWebKitDOMText; cdecl; inline;
function create_tree_walker(root: PWebKitDOMNode; whatToShow: gulong; filter: PWebKitDOMNodeFilter; expandEntityReferences: gboolean; error: PPGError): PWebKitDOMTreeWalker; cdecl; inline;
function element_from_point(x: glong; y: glong): PWebKitDOMElement; cdecl; inline;
function evaluate(expression: Pgchar; contextNode: PWebKitDOMNode; resolver: PWebKitDOMXPathNSResolver; type_: gushort; inResult: PWebKitDOMXPathResult; error: PPGError): PWebKitDOMXPathResult; cdecl; inline;
function exec_command(command: Pgchar; userInterface: gboolean; value: Pgchar): gboolean; cdecl; inline;
function get_anchors: PWebKitDOMHTMLCollection; cdecl; inline;
function get_applets: PWebKitDOMHTMLCollection; cdecl; inline;
function get_body: PWebKitDOMHTMLElement; cdecl; inline;
function get_character_set: Pgchar; cdecl; inline;
function get_charset: Pgchar; cdecl; inline;
function get_compat_mode: Pgchar; cdecl; inline;
function get_cookie(error: PPGError): Pgchar; cdecl; inline;
function get_default_charset: Pgchar; cdecl; inline;
function get_default_view: PWebKitDOMDOMWindow; cdecl; inline;
function get_doctype: PWebKitDOMDocumentType; cdecl; inline;
function get_document_element: PWebKitDOMElement; cdecl; inline;
function get_document_uri: Pgchar; cdecl; inline;
function get_domain: Pgchar; cdecl; inline;
function get_element_by_id(elementId: Pgchar): PWebKitDOMElement; cdecl; inline;
function get_elements_by_class_name(tagname: Pgchar): PWebKitDOMNodeList; cdecl; inline;
function get_elements_by_name(elementName: Pgchar): PWebKitDOMNodeList; cdecl; inline;
function get_elements_by_tag_name(tagname: Pgchar): PWebKitDOMNodeList; cdecl; inline;
function get_elements_by_tag_name_ns(namespaceURI: Pgchar; localName: Pgchar): PWebKitDOMNodeList; cdecl; inline;
function get_forms: PWebKitDOMHTMLCollection; cdecl; inline;
function get_head: PWebKitDOMHTMLHeadElement; cdecl; inline;
function get_images: PWebKitDOMHTMLCollection; cdecl; inline;
function get_implementation: PWebKitDOMDOMImplementation; cdecl; inline;
function get_input_encoding: Pgchar; cdecl; inline;
function get_last_modified: Pgchar; cdecl; inline;
function get_links: PWebKitDOMHTMLCollection; cdecl; inline;
function get_override_style(element: PWebKitDOMElement; pseudoElement: Pgchar): PWebKitDOMCSSStyleDeclaration; cdecl; inline;
function get_preferred_stylesheet_set: Pgchar; cdecl; inline;
function get_ready_state: Pgchar; cdecl; inline;
function get_referrer: Pgchar; cdecl; inline;
function get_security_policy: PWebKitDOMDOMSecurityPolicy; cdecl; inline;
function get_selected_stylesheet_set: Pgchar; cdecl; inline;
function get_style_sheets: PWebKitDOMStyleSheetList; cdecl; inline;
function get_title: Pgchar; cdecl; inline;
function get_webkit_current_full_screen_element: PWebKitDOMElement; cdecl; inline;
function get_webkit_full_screen_keyboard_input_allowed: gboolean; cdecl; inline;
function get_webkit_fullscreen_element: PWebKitDOMElement; cdecl; inline;
function get_webkit_fullscreen_enabled: gboolean; cdecl; inline;
function get_webkit_hidden: gboolean; cdecl; inline;
function get_webkit_is_full_screen: gboolean; cdecl; inline;
function get_webkit_pointer_lock_element: PWebKitDOMElement; cdecl; inline;
function get_webkit_visibility_state: Pgchar; cdecl; inline;
function get_xml_encoding: Pgchar; cdecl; inline;
function get_xml_standalone: gboolean; cdecl; inline;
function get_xml_version: Pgchar; cdecl; inline;
function import_node(importedNode: PWebKitDOMNode; deep: gboolean; error: PPGError): PWebKitDOMNode; cdecl; inline;
function query_command_enabled(command: Pgchar): gboolean; cdecl; inline;
function query_command_indeterm(command: Pgchar): gboolean; cdecl; inline;
function query_command_state(command: Pgchar): gboolean; cdecl; inline;
function query_command_supported(command: Pgchar): gboolean; cdecl; inline;
function query_command_value(command: Pgchar): Pgchar; cdecl; inline;
function query_selector(selectors: Pgchar; error: PPGError): PWebKitDOMElement; cdecl; inline;
function query_selector_all(selectors: Pgchar; error: PPGError): PWebKitDOMNodeList; cdecl; inline;
procedure set_body(value: PWebKitDOMHTMLElement; error: PPGError); cdecl; inline;
procedure set_charset(value: Pgchar); cdecl; inline;
procedure set_cookie(value: Pgchar; error: PPGError); cdecl; inline;
procedure set_document_uri(value: Pgchar); cdecl; inline;
procedure set_selected_stylesheet_set(value: Pgchar); cdecl; inline;
procedure set_title(value: Pgchar); cdecl; inline;
procedure set_xml_standalone(value: gboolean; error: PPGError); cdecl; inline;
procedure set_xml_version(value: Pgchar; error: PPGError); cdecl; inline;
procedure webkit_cancel_full_screen; cdecl; inline;
procedure webkit_exit_fullscreen; cdecl; inline;
procedure webkit_exit_pointer_lock; cdecl; inline;
function webkit_get_named_flows: PWebKitDOMDOMNamedFlowCollection; cdecl; inline;
property anchors: PWebKitDOMHTMLCollection read get_anchors ;
property applets: PWebKitDOMHTMLCollection read get_applets ;
property body: PWebKitDOMHTMLElement read get_body { property is writeable but setter not declared } ;
property character_set: Pgchar read get_character_set ;
property charset: Pgchar read get_charset write set_charset;
property compat_mode: Pgchar read get_compat_mode ;
//property cookie: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_cookie { property is writeable but setter not declared } ;
property default_charset: Pgchar read get_default_charset ;
property default_view: PWebKitDOMDOMWindow read get_default_view ;
property doctype: PWebKitDOMDocumentType read get_doctype ;
property document_element: PWebKitDOMElement read get_document_element ;
property document_uri: Pgchar read get_document_uri write set_document_uri;
property domain: Pgchar read get_domain ;
property forms: PWebKitDOMHTMLCollection read get_forms ;
property head: PWebKitDOMHTMLHeadElement read get_head ;
property images: PWebKitDOMHTMLCollection read get_images ;
property implementation_: PWebKitDOMDOMImplementation read get_implementation ;
property input_encoding: Pgchar read get_input_encoding ;
property last_modified: Pgchar read get_last_modified ;
property links: PWebKitDOMHTMLCollection read get_links ;
property preferred_stylesheet_set: Pgchar read get_preferred_stylesheet_set ;
property ready_state: Pgchar read get_ready_state ;
property referrer: Pgchar read get_referrer ;
property security_policy: PWebKitDOMDOMSecurityPolicy read get_security_policy ;
property selected_stylesheet_set: Pgchar read get_selected_stylesheet_set write set_selected_stylesheet_set;
property style_sheets: PWebKitDOMStyleSheetList read get_style_sheets ;
property title: Pgchar read get_title write set_title;
//property url: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_url ;
property webkit_current_full_screen_element: PWebKitDOMElement read get_webkit_current_full_screen_element ;
property webkit_full_screen_keyboard_input_allowed: gboolean read get_webkit_full_screen_keyboard_input_allowed ;
property webkit_fullscreen_element: PWebKitDOMElement read get_webkit_fullscreen_element ;
property webkit_fullscreen_enabled: gboolean read get_webkit_fullscreen_enabled ;
property webkit_hidden: gboolean read get_webkit_hidden ;
property webkit_is_full_screen: gboolean read get_webkit_is_full_screen ;
property webkit_pointer_lock_element: PWebKitDOMElement read get_webkit_pointer_lock_element ;
property webkit_visibility_state: Pgchar read get_webkit_visibility_state ;
property xml_encoding: Pgchar read get_xml_encoding ;
property xml_standalone: gboolean read get_xml_standalone { property is writeable but setter not declared } ;
property xml_version: Pgchar read get_xml_version { property is writeable but setter not declared } ;
end;
TWebKitDOMDocumentType = object(TWebKitDOMNode)
function get_entities: PWebKitDOMNamedNodeMap; cdecl; inline;
function get_internal_subset: Pgchar; cdecl; inline;
function get_name: Pgchar; cdecl; inline;
function get_notations: PWebKitDOMNamedNodeMap; cdecl; inline;
function get_public_id: Pgchar; cdecl; inline;
function get_system_id: Pgchar; cdecl; inline;
procedure remove(error: PPGError); cdecl; inline;
property entities: PWebKitDOMNamedNodeMap read get_entities ;
property internal_subset: Pgchar read get_internal_subset ;
property name: Pgchar read get_name ;
property notations: PWebKitDOMNamedNodeMap read get_notations ;
property public_id: Pgchar read get_public_id ;
property system_id: Pgchar read get_system_id ;
end;
TWebKitDOMHTMLDocument = object(TWebKitDOMDocument)
procedure capture_events; cdecl; inline;
procedure clear; cdecl; inline;
procedure close; cdecl; inline;
function get_active_element: PWebKitDOMElement; cdecl; inline;
function get_alink_color: Pgchar; cdecl; inline;
function get_bg_color: Pgchar; cdecl; inline;
function get_compat_mode: Pgchar; cdecl; inline;
function get_design_mode: Pgchar; cdecl; inline;
function get_dir: Pgchar; cdecl; inline;
function get_embeds: PWebKitDOMHTMLCollection; cdecl; inline;
function get_fg_color: Pgchar; cdecl; inline;
function get_height: glong; cdecl; inline;
function get_link_color: Pgchar; cdecl; inline;
function get_plugins: PWebKitDOMHTMLCollection; cdecl; inline;
function get_scripts: PWebKitDOMHTMLCollection; cdecl; inline;
function get_vlink_color: Pgchar; cdecl; inline;
function get_width: glong; cdecl; inline;
function has_focus: gboolean; cdecl; inline;
procedure open; cdecl; inline;
procedure release_events; cdecl; inline;
procedure set_alink_color(value: Pgchar); cdecl; inline;
procedure set_bg_color(value: Pgchar); cdecl; inline;
procedure set_design_mode(value: Pgchar); cdecl; inline;
procedure set_dir(value: Pgchar); cdecl; inline;
procedure set_fg_color(value: Pgchar); cdecl; inline;
procedure set_link_color(value: Pgchar); cdecl; inline;
procedure set_vlink_color(value: Pgchar); cdecl; inline;
property active_element: PWebKitDOMElement read get_active_element ;
property alink_color: Pgchar read get_alink_color write set_alink_color;
property bg_color: Pgchar read get_bg_color write set_bg_color;
property compat_mode1: Pgchar read get_compat_mode ;
property design_mode: Pgchar read get_design_mode write set_design_mode;
property dir: Pgchar read get_dir write set_dir;
property embeds: PWebKitDOMHTMLCollection read get_embeds ;
property fg_color: Pgchar read get_fg_color write set_fg_color;
property height: glong read get_height ;
property link_color: Pgchar read get_link_color write set_link_color;
property plugins: PWebKitDOMHTMLCollection read get_plugins ;
property scripts: PWebKitDOMHTMLCollection read get_scripts ;
property vlink_color: Pgchar read get_vlink_color write set_vlink_color;
property width: glong read get_width ;
end;
PPWebKitDOMDOMImplementationClass = ^PWebKitDOMDOMImplementationClass;
PWebKitDOMDOMImplementationClass = ^TWebKitDOMDOMImplementationClass;
TWebKitDOMDOMImplementationClass = object
parent_class: TWebKitDOMObjectClass;
end;
PPWebKitDOMDOMMimeType = ^PWebKitDOMDOMMimeType;
PWebKitDOMDOMMimeType = ^TWebKitDOMDOMMimeType;
PPWebKitDOMDOMPlugin = ^PWebKitDOMDOMPlugin;
PWebKitDOMDOMPlugin = ^TWebKitDOMDOMPlugin;
TWebKitDOMDOMMimeType = object(TWebKitDOMObject)
function get_description: Pgchar; cdecl; inline;
function get_enabled_plugin: PWebKitDOMDOMPlugin; cdecl; inline;
function get_suffixes: Pgchar; cdecl; inline;