diff options
Diffstat (limited to 'WebKit/win/Interfaces')
| -rw-r--r-- | WebKit/win/Interfaces/DOMPrivate.idl | 1 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebEmbeddedView.idl | 5 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebFrameLoadDelegatePrivate.idl | 11 | ||||
| -rwxr-xr-x | WebKit/win/Interfaces/IWebFramePrivate.idl | 2 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebHistoryItemPrivate.idl | 13 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebHistoryPrivate.idl | 38 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebIconDatabase.idl | 18 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebPreferences.idl | 3 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebPreferencesPrivate.idl | 11 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebResourceLoadDelegatePrivate.idl | 11 | ||||
| -rwxr-xr-x | WebKit/win/Interfaces/IWebUIDelegatePrivate.idl | 3 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebView.idl | 10 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/IWebViewPrivate.idl | 13 | ||||
| -rw-r--r-- | WebKit/win/Interfaces/WebKit.idl | 1 |
14 files changed, 135 insertions, 5 deletions
diff --git a/WebKit/win/Interfaces/DOMPrivate.idl b/WebKit/win/Interfaces/DOMPrivate.idl index dcacac2..7210943 100644 --- a/WebKit/win/Interfaces/DOMPrivate.idl +++ b/WebKit/win/Interfaces/DOMPrivate.idl @@ -46,6 +46,7 @@ interface IDOMElementPrivate : IUnknown HRESULT isFocused([out, retval] BOOL* result); HRESULT innerText([out, retval] BSTR* result); [local] HRESULT font(WebFontDescription* webFontDescription); + HRESULT renderedImage([out, retval] HBITMAP* image); } /* diff --git a/WebKit/win/Interfaces/IWebEmbeddedView.idl b/WebKit/win/Interfaces/IWebEmbeddedView.idl index 0a65ff7..bcca2fd 100644 --- a/WebKit/win/Interfaces/IWebEmbeddedView.idl +++ b/WebKit/win/Interfaces/IWebEmbeddedView.idl @@ -38,4 +38,9 @@ import "ocidl.idl"; interface IWebEmbeddedView : IUnknown
{
HRESULT createViewWindow([in] OLE_HANDLE parentWindow, [in] LPSIZE pluginSize, [out, retval] OLE_HANDLE* window);
+
+ HRESULT didReceiveResponse([in] IWebURLResponse* response); + HRESULT didReceiveData([in] IStream* data); + HRESULT didFinishLoading(); + HRESULT didFail([in] IWebError* error);
}
diff --git a/WebKit/win/Interfaces/IWebFrameLoadDelegatePrivate.idl b/WebKit/win/Interfaces/IWebFrameLoadDelegatePrivate.idl index 79707a3..5ae91dd 100644 --- a/WebKit/win/Interfaces/IWebFrameLoadDelegatePrivate.idl +++ b/WebKit/win/Interfaces/IWebFrameLoadDelegatePrivate.idl @@ -51,3 +51,14 @@ interface IWebFrameLoadDelegatePrivate : IUnknown //- (void)webView:(WebView *)sender didHandleOnloadEventsForFrame:(WebFrame *)frame; HRESULT didHandleOnloadEventsForFrame([in] IWebView* sender, [in] IWebFrame* frame); } + +[ + object, + oleautomation, + uuid(5566CB49-6E87-4075-80CE-9BAC374C52DE), + pointer_default(unique) +] +interface IWebFrameLoadDelegatePrivate2 : IWebFrameLoadDelegatePrivate +{ + HRESULT didFirstVisuallyNonEmptyLayoutInFrame([in] IWebView* sender, [in] IWebFrame* frame); +} diff --git a/WebKit/win/Interfaces/IWebFramePrivate.idl b/WebKit/win/Interfaces/IWebFramePrivate.idl index bd7c0b6..d1f6cbf 100755 --- a/WebKit/win/Interfaces/IWebFramePrivate.idl +++ b/WebKit/win/Interfaces/IWebFramePrivate.idl @@ -41,7 +41,7 @@ typedef enum { WebFrameLoadTypeReload, WebFrameLoadTypeReloadAllowingStaleData, WebFrameLoadTypeSame, // user loads same URL again (but not reload button) - WebFrameLoadTypeRedirectWithLockedHistory, + WebFrameLoadTypeRedirectWithLockedBackForwardList, WebFrameLoadTypeReplace } WebFrameLoadType; diff --git a/WebKit/win/Interfaces/IWebHistoryItemPrivate.idl b/WebKit/win/Interfaces/IWebHistoryItemPrivate.idl index aa8c162..4922504 100644 --- a/WebKit/win/Interfaces/IWebHistoryItemPrivate.idl +++ b/WebKit/win/Interfaces/IWebHistoryItemPrivate.idl @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. + * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -55,4 +55,15 @@ interface IWebHistoryItemPrivate : IUnknown HRESULT target([out, retval] BSTR* target); HRESULT isTargetItem([out, retval] BOOL* result); [local] HRESULT children([out] unsigned* childCount, [out, retval] SAFEARRAY** children); + HRESULT lastVisitWasFailure([out, retval] BOOL* wasFailure); + HRESULT setLastVisitWasFailure([in] BOOL wasFailure); + HRESULT lastVisitWasHTTPNonGet([out, retval] BOOL* HTTPNonGet); + HRESULT setLastVisitWasHTTPNonGet([in] BOOL wasHTTPNonGet); + + HRESULT redirectURLs([out, retval] IEnumVARIANT** result); + HRESULT visitedWithTitle([in] BSTR title); + + HRESULT getDailyVisitCounts([out] int* number, [out, retval] int** counts); + HRESULT getWeeklyVisitCounts([out] int* number, [out, retval] int** counts); + HRESULT recordInitialVisit(); } diff --git a/WebKit/win/Interfaces/IWebHistoryPrivate.idl b/WebKit/win/Interfaces/IWebHistoryPrivate.idl new file mode 100644 index 0000000..6e4754e --- /dev/null +++ b/WebKit/win/Interfaces/IWebHistoryPrivate.idl @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2008 Apple Inc. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +interface IWebHistoryItem; + +[ + object, + oleautomation, + hidden, + uuid(B811003B-3475-46ad-9697-91D0D181CC05), + pointer_default(unique) +] +interface IWebHistoryPrivate : IUnknown +{ + HRESULT allItems([in, out] int* count, [out, retval] IWebHistoryItem** items); +} diff --git a/WebKit/win/Interfaces/IWebIconDatabase.idl b/WebKit/win/Interfaces/IWebIconDatabase.idl index 0dfbf1a..57d6683 100644 --- a/WebKit/win/Interfaces/IWebIconDatabase.idl +++ b/WebKit/win/Interfaces/IWebIconDatabase.idl @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. + * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -148,4 +148,20 @@ interface IWebIconDatabase : IUnknown - (NSString *)iconURLForURL:(NSString *)URL; */ HRESULT iconURLForURL([in] BSTR url, [out, retval] BSTR* iconURL); + + /*! + @method isEnabled + @discussion Returns true if the icon database is currently enabled, or false if it + is disabled. + - (BOOL)isEnabled; + */ + HRESULT isEnabled([out, retval] BOOL* result); + + /*! + @method setEnabled: + @discussion Enables or disables the icon database based on the flag passed in. + @param flag Pass true to enable the icon database, or false to disable it. + - (void)setEnabled:(BOOL)flag; + */ + HRESULT setEnabled([in] BOOL flag); } diff --git a/WebKit/win/Interfaces/IWebPreferences.idl b/WebKit/win/Interfaces/IWebPreferences.idl index 16f0d9c..9a52d7c 100644 --- a/WebKit/win/Interfaces/IWebPreferences.idl +++ b/WebKit/win/Interfaces/IWebPreferences.idl @@ -183,4 +183,7 @@ interface IWebPreferences : IUnknown HRESULT setShouldPaintCustomScrollbars(BOOL shouldPaint); HRESULT shouldPaintCustomScrollbars(BOOL *shouldPaint); + + HRESULT setZoomsTextOnly(BOOL zoomsTextOnly); + HRESULT zoomsTextOnly(BOOL *zoomsTextOnly); } diff --git a/WebKit/win/Interfaces/IWebPreferencesPrivate.idl b/WebKit/win/Interfaces/IWebPreferencesPrivate.idl index 4a71dbd..aa1073f 100644 --- a/WebKit/win/Interfaces/IWebPreferencesPrivate.idl +++ b/WebKit/win/Interfaces/IWebPreferencesPrivate.idl @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. + * Copyright (C) 2007, 2008, 2009 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -60,4 +60,13 @@ interface IWebPreferencesPrivate : IUnknown HRESULT setShouldPaintNativeControls([in] BOOL shouldPaint); HRESULT shouldPaintNativeControls([out, retval] BOOL* enabled); + + HRESULT setDatabasesEnabled([in] BOOL enabled); + HRESULT databasesEnabled([out, retval] BOOL *enabled); + + HRESULT setLocalStorageEnabled([in] BOOL enabled); + HRESULT localStorageEnabled([out, retval] BOOL* enabled); + + HRESULT setFontSmoothingContrast([in] float contrast); + HRESULT fontSmoothingContrast([out, retval] float* contrast); } diff --git a/WebKit/win/Interfaces/IWebResourceLoadDelegatePrivate.idl b/WebKit/win/Interfaces/IWebResourceLoadDelegatePrivate.idl index de2bdc0..95040bf 100644 --- a/WebKit/win/Interfaces/IWebResourceLoadDelegatePrivate.idl +++ b/WebKit/win/Interfaces/IWebResourceLoadDelegatePrivate.idl @@ -59,3 +59,14 @@ interface IWebResourceLoadDelegatePrivate : IUnknown */ HRESULT didLoadResourceFromMemoryCache([in] IWebView* webView, [in] IWebURLRequest* request, [in] IWebURLResponse* response, [in] UINT length, [in] IWebDataSource* dataSource); } + +[ + object, + oleautomation, + uuid(E7B724A4-F0E5-4e11-9AC5-5F60AC09301E), + pointer_default(unique) +] +interface IWebResourceLoadDelegatePrivate2 : IWebResourceLoadDelegatePrivate +{ + HRESULT shouldUseCredentialStorage([in] IWebView* webView, [in] unsigned long identifier, [in] IWebDataSource* dataSource, [out, retval] BOOL* shouldUse); +} diff --git a/WebKit/win/Interfaces/IWebUIDelegatePrivate.idl b/WebKit/win/Interfaces/IWebUIDelegatePrivate.idl index 85a72e7..5ef53d9 100755 --- a/WebKit/win/Interfaces/IWebUIDelegatePrivate.idl +++ b/WebKit/win/Interfaces/IWebUIDelegatePrivate.idl @@ -31,6 +31,9 @@ import "IWebView.idl"; #endif cpp_quote("#define WebEmbeddedViewAttributesKey TEXT(\"WebEmbeddedViewAttributesKey\")") +cpp_quote("#define WebEmbeddedViewBaseURLKey TEXT(\"WebEmbeddedViewBaseURLKey\")") +cpp_quote("#define WebEmbeddedViewContainingElementKey TEXT(\"WebEmbeddedViewContainingElementKey\")") +cpp_quote("#define WebEmbeddedViewMIMETypeKey TEXT(\"WebEmbeddedViewMIMETypeKey\")") interface IWebEmbeddedView; interface IWebFrame; diff --git a/WebKit/win/Interfaces/IWebView.idl b/WebKit/win/Interfaces/IWebView.idl index 92fa2b5..e38406b 100644 --- a/WebKit/win/Interfaces/IWebView.idl +++ b/WebKit/win/Interfaces/IWebView.idl @@ -1014,6 +1014,16 @@ interface IWebViewEditing : IUnknown - (void)setGrammarCheckingEnabled:(BOOL)flag */ HRESULT setGrammarCheckingEnabled(BOOL enabled); + + /* + - (void)setSelectTrailingWhitespaceEnabled:(BOOL)flag; + */ + HRESULT setSelectTrailingWhitespaceEnabled([in] BOOL flag); + + /* + - (BOOL)selectTrailingWhitespaceEnabled; + */ + HRESULT isSelectTrailingWhitespaceEnabled([out, retval] BOOL* enabled); } /* diff --git a/WebKit/win/Interfaces/IWebViewPrivate.idl b/WebKit/win/Interfaces/IWebViewPrivate.idl index b49addf..c32a20b 100644 --- a/WebKit/win/Interfaces/IWebViewPrivate.idl +++ b/WebKit/win/Interfaces/IWebViewPrivate.idl @@ -122,7 +122,6 @@ interface IWebViewPrivate : IUnknown // SPI for DumpRenderTree HRESULT executeCoreCommandByName([in] BSTR name, [in] BSTR value); - HRESULT clearMainFrameName(); HRESULT windowAncestryDidChange(); @@ -146,4 +145,16 @@ interface IWebViewPrivate : IUnknown HRESULT setCookieEnabled([in] BOOL enable); HRESULT cookieEnabled([out, retval] BOOL* enabled); + + HRESULT setMediaVolume([in] float volume); + HRESULT mediaVolume([out, retval] float* volume); + + // SPI for DumpRenderTree + HRESULT clearMainFrameName(); + + HRESULT globalHistoryItem([out, retval] IWebHistoryItem**); + + HRESULT registerEmbeddedViewMIMEType([in] BSTR mimeType); + + HRESULT setMemoryCacheDelegateCallsEnabled([in] BOOL enabled); } diff --git a/WebKit/win/Interfaces/WebKit.idl b/WebKit/win/Interfaces/WebKit.idl index fe08792..a78a5d3 100644 --- a/WebKit/win/Interfaces/WebKit.idl +++ b/WebKit/win/Interfaces/WebKit.idl @@ -90,6 +90,7 @@ import "ocidl.idl"; #include "IWebHistory.idl" #include "IWebHistoryItem.idl" #include "IWebHistoryItemPrivate.idl" +#include "IWebHistoryPrivate.idl" #include "IWebIconDatabase.idl" #include "IWebIconFetcher.idl" #include "IWebInspector.idl" |
