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