Home | History | Annotate | Download | only in Interfaces
      1 /*
      2  * Copyright (C) 2006, 2007, 2008, 2009 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 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 "IWebIconFetcher.idl"
    104 #include "IWebInspector.idl"
    105 #include "IWebInspectorPrivate.idl"
    106 #include "IWebJavaScriptCollector.idl"
    107 #include "IWebKitStatistics.idl"
    108 #include "IWebMutableURLRequestPrivate.idl"
    109 #include "IWebNavigationData.idl"
    110 #include "IWebNotification.idl"
    111 #include "IWebNotificationCenter.idl"
    112 #include "IWebNotificationObserver.idl"
    113 #include "IWebPluginHalterDelegate.idl"
    114 #include "IWebPolicyDelegate.idl"
    115 #include "IWebPolicyDelegatePrivate.idl"
    116 #include "IWebPreferences.idl"
    117 #include "IWebPreferencesPrivate.idl"
    118 #include "IWebResource.idl"
    119 #include "IWebResourceLoadDelegate.idl"
    120 #include "IWebResourceLoadDelegatePrivate.idl"
    121 #include "IWebScriptWorld.idl"
    122 #include "IWebScrollBarDelegatePrivate.idl"
    123 #include "IWebScrollBarPrivate.idl"
    124 #include "IWebSecurityOrigin.idl"
    125 #include "IWebSerializedJSValue.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 "IWebView.idl"
    138 #include "IWebViewPrivate.idl"
    139 #include "IWebWorkersPrivate.idl"
    140 
    141 #define __TYPELIB_VERSION__ __BUILD_NUMBER_MAJOR__##.##__BUILD_NUMBER_MINOR__
    142 
    143 cpp_quote("void shutDownWebKit();")
    144 
    145 [
    146     uuid(2a748656-625d-4207-b29f-40c95bfeb3a9),
    147     helpstring("WebKit " __BUILD_NUMBER_SHORT__ " Type Library"),
    148     version(__TYPELIB_VERSION__)
    149 ]
    150 library WebKit
    151 {
    152     // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
    153     importlib("STDOLE2.TLB");
    154 
    155     [uuid(d6bca079-f61c-4e1e-b453-32a0477d02e3)]
    156     coclass WebView {
    157         [default] interface IWebView;
    158         interface IWebIBActions;
    159         interface IWebViewCSS;
    160         interface IWebViewEditing;
    161         interface IWebViewUndoableEditing;
    162         interface IWebViewEditingActions;
    163         interface IWebNotificationObserver;
    164         interface IWebViewPrivate;
    165     }
    166 
    167     [uuid(66827ec1-3aef-4241-bac5-f776b44f030f)]
    168     coclass WebIconDatabase {
    169         [default] interface IWebIconDatabase;
    170     }
    171 
    172     [uuid(a062ecc3-bb1b-4694-a569-f59e0ad6be0c)]
    173     coclass WebMutableURLRequest {
    174         [default] interface IWebMutableURLRequest;
    175     }
    176 
    177     [uuid(ba590766-0a6f-46c7-b96e-743490d94cb7)]
    178     coclass WebNotificationCenter {
    179         [default] interface IWebNotificationCenter;
    180     }
    181 
    182     [uuid(a4b9b45d-949f-4c8c-9b92-6fbfcc1caaa2)]
    183     coclass WebHistory {
    184         [default] interface IWebHistory;
    185     }
    186 
    187     [uuid(dd653964-4d37-4fb2-9cb6-6a9a97719332)]
    188     coclass CFDictionaryPropertyBag {
    189         [default] interface IPropertyBag;
    190     }
    191 
    192     [uuid(6be190e9-1725-4e4a-88db-6a9fe242c9e5)]
    193     coclass WebHistoryItem {
    194         [default] interface IWebHistoryItem;
    195     }
    196 
    197     [uuid(f71071fd-a51b-4b69-9eb6-44374405e80c)]
    198     coclass WebCache {
    199         [default] interface IWebCache;
    200     }
    201 
    202     [uuid(1820D883-42FE-4b78-88C8-5456BB19D224)]
    203     coclass WebJavaScriptCollector {
    204         [default] interface IWebJavaScriptCollector;
    205     }
    206 
    207     [uuid(67B89F90-F778-438b-ABBF-34D1ACBF8651)]
    208     coclass WebPreferences {
    209         [default] interface IWebPreferences;
    210     }
    211 
    212     [uuid(E93AA8D7-F362-4a4a-A95D-325906BEB5F0)]
    213     coclass WebKitStatistics {
    214         [default] interface IWebKitStatistics;
    215     }
    216 
    217     [uuid(6C6AF3F9-36B4-4bf7-8BDE-74DCD4AD75A4)]
    218     coclass WebError {
    219         [default] interface IWebError;
    220     }
    221 
    222     [uuid(7433F53B-7FE9-484a-9432-72909457A646)]
    223     coclass WebURLCredential {
    224         [default] interface IWebURLCredential;
    225     }
    226 
    227     [uuid(C0F98BD9-3B1C-413d-904A-E2D1453EAF1F)]
    228     coclass WebDownload {
    229         [default] interface IWebDownload;
    230     }
    231 
    232     [uuid(2FB5499A-BB5D-4469-8517-789FEC8FD9BA)]
    233     coclass WebURLRequest {
    234         [default] interface IWebURLRequest;
    235     }
    236 
    237     [uuid(F366A6E8-E43C-4fd4-AAB0-8E6E79C73E6E)]
    238     coclass WebURLProtectionSpace {
    239         [default] interface IWebURLProtectionSpace;
    240     }
    241 
    242     [uuid(24A53AD5-AA9F-44e6-AA22-2C7C250B661A)]
    243     coclass WebScrollBar {
    244         [default] interface IWebScrollBarPrivate;
    245     }
    246 
    247     [uuid(AB201196-8DD2-4d45-AEBD-029B6A37AA27)]
    248     coclass WebURLResponse {
    249         [default] interface IWebURLResponse;
    250     }
    251 
    252     [uuid(24040cd6-aff4-4a51-9c8b-71539580ee76)]
    253     coclass WebTextRenderer {
    254         [default] interface IWebTextRenderer;
    255     }
    256 
    257     [uuid(C2A1BFC2-1E7C-49fe-8592-D0C7FB440BC0)]
    258     coclass WebDatabaseManager {
    259         [default] interface IWebDatabaseManager;
    260     }
    261 
    262     [uuid(1B63D781-9BC4-4a04-899F-C4B05BBD3BE5)]
    263     coclass WebArchive{
    264         [default] interface IWebArchive;
    265     }
    266 
    267     [uuid(96B93356-9D61-4b3f-A6CF-A78283AC9649)]
    268     coclass WebCoreStatistics{
    269         [default] interface IWebCoreStatistics;
    270     }
    271 
    272     [uuid(3F35F332-BB2B-49b3-AEDD-27B317687E07)]
    273     coclass WebCookieManager{
    274         [default] interface IWebCookieManager;
    275     }
    276 
    277     [uuid(0967AAFF-2FFE-4fcc-81F3-3FF2A9C6DCE2)]
    278     coclass WebWorkersPrivate{
    279         [default] interface IWebWorkersPrivate;
    280     }
    281 
    282     [uuid(D3C301EE-D59A-49c0-A43A-9EA01CDB1590)]
    283     coclass WebScriptWorld {
    284         [default] interface IWebScriptWorld;
    285     }
    286 
    287     [uuid(13C45703-A3B3-8797-276B-75632F6165C3)]
    288     coclass WebSerializedJSValue {
    289         [default] interface IWebSerializedJSValue;
    290     }
    291 
    292     [uuid(67712611-83CF-4703-89FC-07A0E2A19C0D)]
    293     coclass WebGeolocationPosition {
    294         [default] interface IWebGeolocationPosition;
    295     }
    296 }
    297