diff options
Diffstat (limited to 'WebKit/win/Interfaces/IWebUIDelegatePrivate.idl')
| -rwxr-xr-x | WebKit/win/Interfaces/IWebUIDelegatePrivate.idl | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/WebKit/win/Interfaces/IWebUIDelegatePrivate.idl b/WebKit/win/Interfaces/IWebUIDelegatePrivate.idl index da8269b..e09aac4 100755 --- a/WebKit/win/Interfaces/IWebUIDelegatePrivate.idl +++ b/WebKit/win/Interfaces/IWebUIDelegatePrivate.idl @@ -48,8 +48,8 @@ interface IWebView; ] interface IWebUIDelegatePrivate : IUnknown { - HRESULT webViewResizerRect([in] IWebView* sender, [out, retval] RECT* rect); - HRESULT webViewDrawResizer([in] IWebView* sender, [in] HDC dc, [in] BOOL overlapsContent, [in] RECT* rect); + HRESULT unused1(); + HRESULT unused2(); HRESULT webViewScrolled([in] IWebView* sender); HRESULT webViewAddMessageToConsole([in] IWebView* sender, [in] BSTR message, [in] int lineNumber, [in] BSTR url, [in] BOOL isError); HRESULT webViewShouldInterruptJavaScript([in] IWebView* sender, [out, retval] BOOL* result); @@ -60,8 +60,38 @@ interface IWebUIDelegatePrivate : IUnknown HRESULT webViewPainted([in] IWebView* sender); HRESULT exceededDatabaseQuota([in] IWebView* sender, [in] IWebFrame* frame, [in] IWebSecurityOrigin* origin, [in] BSTR databaseIdentifier); HRESULT embeddedViewWithArguments([in] IWebView* sender, [in] IWebFrame* frame, [in] IPropertyBag* arguments, [out, retval] IWebEmbeddedView** view); - HRESULT webViewSendResizeMessage([in] UINT uMsg, [in] WPARAM wParam, [in] LPARAM lParam); + HRESULT unused3(); HRESULT webViewClosing([in] IWebView* sender); HRESULT webViewSetCursor([in] IWebView* sender, [in] OLE_HANDLE cursor); HRESULT webViewDidInvalidate([in] IWebView* sender); } + +cpp_quote("#define WebWindowFeaturesXKey L\"x\"") +cpp_quote("#define WebWindowFeaturesYKey L\"y\"") +cpp_quote("#define WebWindowFeaturesWidthKey L\"width\"") +cpp_quote("#define WebWindowFeaturesHeightKey L\"height\"") +cpp_quote("#define WebWindowFeaturesMenuBarVisibleKey L\"menuBarVisible\"") +cpp_quote("#define WebWindowFeaturesStatusBarVisibleKey L\"statusBarVisible\"") +cpp_quote("#define WebWindowFeaturesToolBarVisibleKey L\"toolBarVisible\"") +cpp_quote("#define WebWindowFeaturesScrollbarsVisibleKey L\"scrollbarsVisible\"") +cpp_quote("#define WebWindowFeaturesResizableKey L\"resizable\"") +cpp_quote("#define WebWindowFeaturesFullscreenKey L\"fullscreen\"") +cpp_quote("#define WebWindowFeaturesDialogKey L\"dialog\"") + +[ + object, + oleautomation, + uuid(b7d6a98e-9c4f-43f2-b6a7-0975a0b18421), + pointer_default(unique) +] +interface IWebUIDelegatePrivate2 : IWebUIDelegatePrivate +{ + // This function obsoletes IWebUIDelegate::createWebViewWithRequest and + // IWebUIDelegate::createModalDialog. Clients should determine whether to create a modal dialog + // based on whether WebWindowFeaturesDialogKey returns a TRUE value from the windowFeatures + // IPropertyBag. The keys of the windowFeatures IPropertyBag are the WebWindowFeatures*Key + // strings above. + HRESULT createWebViewWithRequest([in] IWebView* sender, [in] IWebURLRequest* request, [in] IPropertyBag* windowFeatures, [out, retval] IWebView** newWebView); + + HRESULT drawBackground([in] IWebView* sender, [in] OLE_HANDLE hdc, [in] const RECT* dirtyRect); +} |
