WebKit.idl 10 KB

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