Commit c7b85c89 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

exdisp.idl: Added new DWebBrowserEvents2 members declarations.

parent f611fcaf
...@@ -114,7 +114,7 @@ DEFINE_EXPECT(Invoke_NAVIGATECOMPLETE2); ...@@ -114,7 +114,7 @@ DEFINE_EXPECT(Invoke_NAVIGATECOMPLETE2);
DEFINE_EXPECT(Invoke_PROGRESSCHANGE); DEFINE_EXPECT(Invoke_PROGRESSCHANGE);
DEFINE_EXPECT(Invoke_DOCUMENTCOMPLETE); DEFINE_EXPECT(Invoke_DOCUMENTCOMPLETE);
DEFINE_EXPECT(Invoke_WINDOWCLOSING); DEFINE_EXPECT(Invoke_WINDOWCLOSING);
DEFINE_EXPECT(Invoke_282); DEFINE_EXPECT(Invoke_SETPHISHINGFILTERSTATUS);
DEFINE_EXPECT(EnableModeless_TRUE); DEFINE_EXPECT(EnableModeless_TRUE);
DEFINE_EXPECT(EnableModeless_FALSE); DEFINE_EXPECT(EnableModeless_FALSE);
DEFINE_EXPECT(GetHostInfo); DEFINE_EXPECT(GetHostInfo);
...@@ -1017,11 +1017,11 @@ static HRESULT WINAPI WebBrowserEvents2_Invoke(IDispatch *iface, DISPID dispIdMe ...@@ -1017,11 +1017,11 @@ static HRESULT WINAPI WebBrowserEvents2_Invoke(IDispatch *iface, DISPID dispIdMe
return S_OK; return S_OK;
} }
case 282: /* FIXME */ case DISPID_SETPHISHINGFILTERSTATUS: /* FIXME */
CHECK_EXPECT2(Invoke_282); CHECK_EXPECT2(Invoke_SETPHISHINGFILTERSTATUS);
break; break;
case 290: /* FIXME: IE10 */ case DISPID_BEFORESCRIPTEXECUTE: /* FIXME: IE10 */
break; break;
default: default:
...@@ -2891,7 +2891,7 @@ static void test_download(DWORD flags) ...@@ -2891,7 +2891,7 @@ static void test_download(DWORD flags)
SET_EXPECT(DocHost_EnableModeless_FALSE); SET_EXPECT(DocHost_EnableModeless_FALSE);
SET_EXPECT(DocHost_EnableModeless_TRUE); SET_EXPECT(DocHost_EnableModeless_TRUE);
SET_EXPECT(Invoke_SETSECURELOCKICON); SET_EXPECT(Invoke_SETSECURELOCKICON);
SET_EXPECT(Invoke_282); SET_EXPECT(Invoke_SETPHISHINGFILTERSTATUS);
SET_EXPECT(EnableModeless_FALSE); SET_EXPECT(EnableModeless_FALSE);
if(!(flags & DWL_REFRESH)) { if(!(flags & DWL_REFRESH)) {
...@@ -2960,7 +2960,7 @@ static void test_download(DWORD flags) ...@@ -2960,7 +2960,7 @@ static void test_download(DWORD flags)
CLEAR_CALLED(DocHost_EnableModeless_FALSE); /* IE 7 */ CLEAR_CALLED(DocHost_EnableModeless_FALSE); /* IE 7 */
CLEAR_CALLED(DocHost_EnableModeless_TRUE); /* IE 7 */ CLEAR_CALLED(DocHost_EnableModeless_TRUE); /* IE 7 */
todo_wine CHECK_CALLED(Invoke_SETSECURELOCKICON); todo_wine CHECK_CALLED(Invoke_SETSECURELOCKICON);
CLEAR_CALLED(Invoke_282); /* IE 7 */ CLEAR_CALLED(Invoke_SETPHISHINGFILTERSTATUS); /* IE 7 */
if(is_first_load) if(is_first_load)
todo_wine CHECK_CALLED(EnableModeless_FALSE); todo_wine CHECK_CALLED(EnableModeless_FALSE);
else else
......
...@@ -476,6 +476,17 @@ dispinterface DWebBrowserEvents2 ...@@ -476,6 +476,17 @@ dispinterface DWebBrowserEvents2
[in] VARIANT *RedirectURL, [in] VARIANT *RedirectURL,
[in] VARIANT *Frame, [in] VARIANT *Frame,
[in] VARIANT *StatusCode); [in] VARIANT *StatusCode);
[id(DISPID_BEFORESCRIPTEXECUTE)]
void BeforeScriptExecute([in] IDispatch *pDispWindow);
[id(DISPID_WEBWORKERSTARTED)]
void WebWorkerStarted(
[in] DWORD dwUniqueID,
[in] BSTR bstrWorkerLabel);
[id(DISPID_WEBWORKERFINISHED)]
void WebWorkerFinsihed([in] DWORD dwUniqueID);
} }
[ [
......
...@@ -70,6 +70,9 @@ ...@@ -70,6 +70,9 @@
#define DISPID_NEWPROCESS 284 #define DISPID_NEWPROCESS 284
#define DISPID_THIRDPARTYURLBLOCKED 285 #define DISPID_THIRDPARTYURLBLOCKED 285
#define DISPID_REDIRECTXDOMAINBLOCKED 286 #define DISPID_REDIRECTXDOMAINBLOCKED 286
#define DISPID_WEBWORKERSTARTED 288
#define DISPID_WEBWORKERFINISHED 289
#define DISPID_BEFORESCRIPTEXECUTE 290
#define DISPID_PRINTTEMPLATEINSTANTIATION 225 #define DISPID_PRINTTEMPLATEINSTANTIATION 225
#define DISPID_PRINTTEMPLATETEARDOWN 226 #define DISPID_PRINTTEMPLATETEARDOWN 226
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment