- fixed "Stop and reload don't work on the WebView"
http://bugs.webkit.org/show_bug.cgi?id=11285
* COM/WebFrame.cpp:
(WebFrame::stopLoading): Implement.
* COM/WebView.cpp:
(WebView::stopLoading): ditto
(WebView::reload): ditto
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17482
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
HRESULT STDMETHODCALLTYPE WebFrame::stopLoading( void)
{
-// DebugBreak();
+ d->frame->stopLoading(false);
return E_NOTIMPL;
}
HRESULT STDMETHODCALLTYPE WebView::stopLoading(
/* [in] */ IUnknown* /*sender*/)
{
- DebugBreak();
+ if (m_mainFrame)
+ m_mainFrame->stopLoading();
return E_NOTIMPL;
}
HRESULT STDMETHODCALLTYPE WebView::reload(
/* [in] */ IUnknown* /*sender*/)
{
- DebugBreak();
+ if (m_mainFrame)
+ m_mainFrame->reload();
return E_NOTIMPL;
}
+2006-10-31 Marvin Decker <marv.decker@gmail.com>
+
+ Reviewed by Maciej.
+
+ - fixed "Stop and reload don't work on the WebView"
+ http://bugs.webkit.org/show_bug.cgi?id=11285
+
+ * COM/WebFrame.cpp:
+ (WebFrame::stopLoading): Implement.
+ * COM/WebView.cpp:
+ (WebView::stopLoading): ditto
+ (WebView::reload): ditto
+
2006-10-30 Darin Adler <darin@apple.com>
* Plugins/WebBaseNetscapePluginView.mm: