mirror of
https://github.com/reactos/wine.git
synced 2025-02-17 19:39:00 +00:00
shdocvw: Added WebBrowser::Resizable property implementation.
This commit is contained in:
parent
2fe9af5507
commit
75eb61cdc6
@ -1117,6 +1117,23 @@ static void test_ie_funcs(IUnknown *unk)
|
||||
hres = IWebBrowser2_put_FullScreen(wb, VARIANT_FALSE);
|
||||
ok(hres == S_OK, "put_FullScreen failed: %08x\n", hres);
|
||||
|
||||
/* Resizable */
|
||||
|
||||
b = 0x100;
|
||||
hres = IWebBrowser2_get_Resizable(wb, &b);
|
||||
ok(hres == E_NOTIMPL, "get_Resizable failed: %08x\n", hres);
|
||||
ok(b == 0x100, "b=%x\n", b);
|
||||
|
||||
hres = IWebBrowser2_put_Resizable(wb, VARIANT_TRUE);
|
||||
ok(hres == S_OK, "put_Resizable failed: %08x\n", hres);
|
||||
|
||||
hres = IWebBrowser2_put_Resizable(wb, VARIANT_FALSE);
|
||||
ok(hres == S_OK, "put_Resizable failed: %08x\n", hres);
|
||||
|
||||
hres = IWebBrowser2_get_Resizable(wb, &b);
|
||||
ok(hres == E_NOTIMPL, "get_Resizable failed: %08x\n", hres);
|
||||
ok(b == 0x100, "b=%x\n", b);
|
||||
|
||||
IWebBrowser2_Release(wb);
|
||||
}
|
||||
|
||||
|
@ -825,15 +825,21 @@ static HRESULT WINAPI WebBrowser_put_AddressBar(IWebBrowser2 *iface, VARIANT_BOO
|
||||
static HRESULT WINAPI WebBrowser_get_Resizable(IWebBrowser2 *iface, VARIANT_BOOL *Value)
|
||||
{
|
||||
WebBrowser *This = WEBBROWSER_THIS(iface);
|
||||
FIXME("(%p)->(%p)\n", This, Value);
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, Value);
|
||||
|
||||
/* It's InternetExplorer object's method. We have nothing to do here. */
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WebBrowser_put_Resizable(IWebBrowser2 *iface, VARIANT_BOOL Value)
|
||||
{
|
||||
WebBrowser *This = WEBBROWSER_THIS(iface);
|
||||
FIXME("(%p)->(%x)\n", This, Value);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("(%p)->(%x)\n", This, Value);
|
||||
|
||||
/* It's InternetExplorer object's method. We have nothing to do here. */
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
#undef WEBBROWSER_THIS
|
||||
|
Loading…
x
Reference in New Issue
Block a user