initial import
[vuplus_webkit] / Source / WebKit / win / Interfaces / WebKit.idl
1 /*
2  * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  * 1. Redistributions of source code must retain the above copyright
8  *    notice, this list of conditions and the following disclaimer.
9  * 2. Redistributions in binary form must reproduce the above copyright
10  *    notice, this list of conditions and the following disclaimer in the
11  *    documentation and/or other materials provided with the distribution.
12  *
13  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
14  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
17  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
24  */
25
26 cpp_quote("/*")
27 cpp_quote(" * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.")
28 cpp_quote(" *")
29 cpp_quote(" * Redistribution and use in source and binary forms, with or without")
30 cpp_quote(" * modification, are permitted provided that the following conditions")
31 cpp_quote(" * are met:")
32 cpp_quote(" * 1. Redistributions of source code must retain the above copyright")
33 cpp_quote(" *    notice, this list of conditions and the following disclaimer.")
34 cpp_quote(" * 2. Redistributions in binary form must reproduce the above copyright")
35 cpp_quote(" *    notice, this list of conditions and the following disclaimer in the")
36 cpp_quote(" *    documentation and/or other materials provided with the distribution.")
37 cpp_quote(" *")
38 cpp_quote(" * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY")
39 cpp_quote(" * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE")
40 cpp_quote(" * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR")
41 cpp_quote(" * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR")
42 cpp_quote(" * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,")
43 cpp_quote(" * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,")
44 cpp_quote(" * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR")
45 cpp_quote(" * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY")
46 cpp_quote(" * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT")
47 cpp_quote(" * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE")
48 cpp_quote(" * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.")
49 cpp_quote(" */")
50
51 #include "autoversion.h"
52
53 #define DO_NO_IMPORTS
54
55 import "oaidl.idl";
56 import "ocidl.idl";
57
58 #include "AccessibleComparable.idl"
59 #include "WebScrollbarTypes.idl"
60 #include "JavaScriptCoreAPITypes.idl"
61 #include "IWebScriptObject.idl"
62 #include "DOMCSS.idl"
63 #include "DOMCore.idl"
64 #include "DOMEvents.idl"
65 #include "DOMExtensions.idl"
66 #include "DOMHTML.idl"
67 #include "DOMPrivate.idl"
68 #include "DOMRange.idl"
69 #include "DOMWindow.idl"
70 #include "IWebArchive.idl"
71 #include "IWebBackForwardList.idl"
72 #include "IWebBackForwardListPrivate.idl"
73 #include "IWebCache.idl"
74 #include "IWebCookieManager.idl"
75 #include "IWebCoreStatistics.idl"
76 #include "IWebDataSource.idl"
77 #include "IWebDatabaseManager.idl"
78 #include "IWebDesktopNotificationsDelegate.idl"
79 #include "IWebDocument.idl"
80 #include "IWebDownload.idl"
81 #include "IWebEditingDelegate.idl"
82 #include "IWebEmbeddedView.idl"
83 #include "IWebError.idl"
84 #include "IWebErrorPrivate.idl"
85 #include "IWebFormDelegate.idl"
86 #include "IWebFrame.idl"
87 #include "IWebFrameLoadDelegate.idl"
88 #include "IWebFrameLoadDelegatePrivate.idl"
89 #include "IWebFrameLoadDelegatePrivate2.idl"
90 #include "IWebFramePrivate.idl"
91 #include "IWebFrameView.idl"
92 #include "IWebGeolocationPolicyListener.idl"
93 #include "IWebGeolocationPosition.idl"
94 #include "IWebGeolocationProvider.idl"
95 #include "IWebHTMLRepresentation.idl"
96 #include "IWebHTTPURLResponse.idl"
97 #include "IWebHistory.idl"
98 #include "IWebHistoryDelegate.idl"
99 #include "IWebHistoryItem.idl"
100 #include "IWebHistoryItemPrivate.idl"
101 #include "IWebHistoryPrivate.idl"
102 #include "IWebIconDatabase.idl"
103 #include "IWebInspector.idl"
104 #include "IWebInspectorPrivate.idl"
105 #include "IWebJavaScriptCollector.idl"
106 #include "IWebKitStatistics.idl"
107 #include "IWebMutableURLRequestPrivate.idl"
108 #include "IWebNavigationData.idl"
109 #include "IWebNotification.idl"
110 #include "IWebNotificationCenter.idl"
111 #include "IWebNotificationObserver.idl"
112 #include "IWebPolicyDelegate.idl"
113 #include "IWebPolicyDelegatePrivate.idl"
114 #include "IWebPreferences.idl"
115 #include "IWebPreferencesPrivate.idl"
116 #include "IWebResource.idl"
117 #include "IWebResourceLoadDelegate.idl"
118 #include "IWebResourceLoadDelegatePrivate.idl"
119 #include "IWebResourceLoadDelegatePrivate2.idl"
120 #include "IWebScriptWorld.idl"
121 #include "IWebScrollBarDelegatePrivate.idl"
122 #include "IWebScrollBarPrivate.idl"
123 #include "IWebSecurityOrigin.idl"
124 #include "IWebSerializedJSValue.idl"
125 #include "IWebSerializedJSValuePrivate.idl"
126 #include "IWebTextRenderer.idl"
127 #include "IWebUIDelegate.idl"
128 #include "IWebUIDelegate2.idl"
129 #include "IWebUIDelegatePrivate.idl"
130 #include "IWebURLAuthenticationChallenge.idl"
131 #include "IWebURLRequest.idl"
132 #include "IWebMutableURLRequest.idl"
133 #include "IWebURLResponse.idl"
134 #include "IWebURLResponsePrivate.idl"
135 #include "IWebUndoManager.idl"
136 #include "IWebUndoTarget.idl"
137 #include "IWebUserContentURLPattern.idl"
138 #include "IWebView.idl"
139 #include "IWebViewPrivate.idl"
140 #include "IWebWorkersPrivate.idl"
141
142 #define __TYPELIB_VERSION__ __BUILD_NUMBER_MAJOR__##.##__BUILD_NUMBER_MINOR__
143
144 cpp_quote("void shutDownWebKit();")
145
146 [
147     uuid(2a748656-625d-4207-b29f-40c95bfeb3a9),
148     helpstring("WebKit " __BUILD_NUMBER_SHORT__ " Type Library"),
149     version(__TYPELIB_VERSION__)
150 ]
151 library WebKit
152 {
153     // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
154     importlib("STDOLE2.TLB");
155
156     [uuid(d6bca079-f61c-4e1e-b453-32a0477d02e3)]
157     coclass WebView {
158         [default] interface IWebView;
159         interface IWebIBActions;
160         interface IWebViewCSS;
161         interface IWebViewEditing;
162         interface IWebViewUndoableEditing;
163         interface IWebViewEditingActions;
164         interface IWebNotificationObserver;
165         interface IWebViewPrivate;
166     }
167
168     [uuid(66827ec1-3aef-4241-bac5-f776b44f030f)]
169     coclass WebIconDatabase {
170         [default] interface IWebIconDatabase;
171     }
172
173     [uuid(a062ecc3-bb1b-4694-a569-f59e0ad6be0c)]
174     coclass WebMutableURLRequest {
175         [default] interface IWebMutableURLRequest;
176     }
177
178     [uuid(ba590766-0a6f-46c7-b96e-743490d94cb7)]
179     coclass WebNotificationCenter {
180         [default] interface IWebNotificationCenter;
181     }
182
183     [uuid(a4b9b45d-949f-4c8c-9b92-6fbfcc1caaa2)]
184     coclass WebHistory {
185         [default] interface IWebHistory;
186     }
187
188     [uuid(dd653964-4d37-4fb2-9cb6-6a9a97719332)]
189     coclass CFDictionaryPropertyBag {
190         [default] interface IPropertyBag;
191     }
192
193     [uuid(6be190e9-1725-4e4a-88db-6a9fe242c9e5)]
194     coclass WebHistoryItem {
195         [default] interface IWebHistoryItem;
196     }
197
198     [uuid(f71071fd-a51b-4b69-9eb6-44374405e80c)]
199     coclass WebCache {
200         [default] interface IWebCache;
201     }
202
203     [uuid(1820D883-42FE-4b78-88C8-5456BB19D224)]
204     coclass WebJavaScriptCollector {
205         [default] interface IWebJavaScriptCollector;
206     }
207
208     [uuid(67B89F90-F778-438b-ABBF-34D1ACBF8651)]
209     coclass WebPreferences {
210         [default] interface IWebPreferences;
211     }
212
213     [uuid(E93AA8D7-F362-4a4a-A95D-325906BEB5F0)]
214     coclass WebKitStatistics {
215         [default] interface IWebKitStatistics;
216     }
217
218     [uuid(6C6AF3F9-36B4-4bf7-8BDE-74DCD4AD75A4)]
219     coclass WebError {
220         [default] interface IWebError;
221     }
222
223     [uuid(7433F53B-7FE9-484a-9432-72909457A646)]
224     coclass WebURLCredential {
225         [default] interface IWebURLCredential;
226     }
227
228     [uuid(C0F98BD9-3B1C-413d-904A-E2D1453EAF1F)]
229     coclass WebDownload {
230         [default] interface IWebDownload;
231     }
232
233     [uuid(2FB5499A-BB5D-4469-8517-789FEC8FD9BA)]
234     coclass WebURLRequest {
235         [default] interface IWebURLRequest;
236     }
237
238     [uuid(F366A6E8-E43C-4fd4-AAB0-8E6E79C73E6E)]
239     coclass WebURLProtectionSpace {
240         [default] interface IWebURLProtectionSpace;
241     }
242
243     [uuid(24A53AD5-AA9F-44e6-AA22-2C7C250B661A)]
244     coclass WebScrollBar {
245         [default] interface IWebScrollBarPrivate;
246     }
247
248     [uuid(AB201196-8DD2-4d45-AEBD-029B6A37AA27)]
249     coclass WebURLResponse {
250         [default] interface IWebURLResponse;
251     }
252
253     [uuid(24040cd6-aff4-4a51-9c8b-71539580ee76)]
254     coclass WebTextRenderer {
255         [default] interface IWebTextRenderer;
256     }
257
258     [uuid(C2A1BFC2-1E7C-49fe-8592-D0C7FB440BC0)]
259     coclass WebDatabaseManager {
260         [default] interface IWebDatabaseManager;
261     }
262
263     [uuid(1B63D781-9BC4-4a04-899F-C4B05BBD3BE5)]
264     coclass WebArchive{
265         [default] interface IWebArchive;
266     }
267
268     [uuid(96B93356-9D61-4b3f-A6CF-A78283AC9649)]
269     coclass WebCoreStatistics{
270         [default] interface IWebCoreStatistics;
271     }
272
273     [uuid(3F35F332-BB2B-49b3-AEDD-27B317687E07)]
274     coclass WebCookieManager{
275         [default] interface IWebCookieManager;
276     }
277
278     [uuid(0967AAFF-2FFE-4fcc-81F3-3FF2A9C6DCE2)]
279     coclass WebWorkersPrivate{
280         [default] interface IWebWorkersPrivate;
281     }
282
283     [uuid(D3C301EE-D59A-49c0-A43A-9EA01CDB1590)]
284     coclass WebScriptWorld {
285         [default] interface IWebScriptWorld;
286     }
287
288     [uuid(13C45703-A3B3-8797-276B-75632F6165C3)]
289     coclass WebSerializedJSValue {
290         [default] interface IWebSerializedJSValue;
291     }
292
293     [uuid(67712611-83CF-4703-89FC-07A0E2A19C0D)]
294     coclass WebGeolocationPosition {
295         [default] interface IWebGeolocationPosition;
296     }
297
298     [uuid(2D62AE25-DEAA-4945-A76E-CCE05E899664)]
299     coclass WebUserContentURLPattern {
300         [default] interface IWebUserContentURLPattern;
301     }
302 }