Home | History | Annotate | Download | only in Interfaces
      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 "IWebPluginHalterDelegate.idl"
    113 #include "IWebPolicyDelegate.idl"
    114 #include "IWebPolicyDelegatePrivate.idl"
    115 #include "IWebPreferences.idl"
    116 #include "IWebPreferencesPrivate.idl"
    117 #include "IWebResource.idl"
    118 #include "IWebResourceLoadDelegate.idl"
    119 #include "IWebResourceLoadDelegatePrivate.idl"
    120 #include "IWebResourceLoadDelegatePrivate2.idl"
    121 #include "IWebScriptWorld.idl"
    122 #include "IWebScrollBarDelegatePrivate.idl"
    123 #include "IWebScrollBarPrivate.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 
    145 cpp_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 ]
    152 library 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(24A53AD5-AA9F-44e6-AA22-2C7C250B661A)]
    245     coclass WebScrollBar {
    246         [default] interface IWebScrollBarPrivate;
    247     }
    248 
    249     [uuid(AB201196-8DD2-4d45-AEBD-029B6A37AA27)]
    250     coclass WebURLResponse {
    251         [default] interface IWebURLResponse;
    252     }
    253 
    254     [uuid(24040cd6-aff4-4a51-9c8b-71539580ee76)]
    255     coclass WebTextRenderer {
    256         [default] interface IWebTextRenderer;
    257     }
    258 
    259     [uuid(C2A1BFC2-1E7C-49fe-8592-D0C7FB440BC0)]
    260     coclass WebDatabaseManager {
    261         [default] interface IWebDatabaseManager;
    262     }
    263 
    264     [uuid(1B63D781-9BC4-4a04-899F-C4B05BBD3BE5)]
    265     coclass WebArchive{
    266         [default] interface IWebArchive;
    267     }
    268 
    269     [uuid(96B93356-9D61-4b3f-A6CF-A78283AC9649)]
    270     coclass WebCoreStatistics{
    271         [default] interface IWebCoreStatistics;
    272     }
    273 
    274     [uuid(3F35F332-BB2B-49b3-AEDD-27B317687E07)]
    275     coclass WebCookieManager{
    276         [default] interface IWebCookieManager;
    277     }
    278 
    279     [uuid(0967AAFF-2FFE-4fcc-81F3-3FF2A9C6DCE2)]
    280     coclass WebWorkersPrivate{
    281         [default] interface IWebWorkersPrivate;
    282     }
    283 
    284     [uuid(D3C301EE-D59A-49c0-A43A-9EA01CDB1590)]
    285     coclass WebScriptWorld {
    286         [default] interface IWebScriptWorld;
    287     }
    288 
    289     [uuid(13C45703-A3B3-8797-276B-75632F6165C3)]
    290     coclass WebSerializedJSValue {
    291         [default] interface IWebSerializedJSValue;
    292     }
    293 
    294     [uuid(67712611-83CF-4703-89FC-07A0E2A19C0D)]
    295     coclass WebGeolocationPosition {
    296         [default] interface IWebGeolocationPosition;
    297     }
    298 
    299     [uuid(2D62AE25-DEAA-4945-A76E-CCE05E899664)]
    300     coclass WebUserContentURLPattern {
    301         [default] interface IWebUserContentURLPattern;
    302     }
    303 }
    304