Commit 69e537ce authored by eseidel's avatar eseidel

2006-02-28 Eric Seidel <eseidel@apple.com>

        Reviewed by mjs.

        Fix spacing/style on several of the stubs.
        Reorganize stubs, separating empty stubs.
        Remove the abort from certain stubs blocking DRT.
        Add a virtual setView call to Frame baseclass.

        * bridge/mac/MacFrame.h: mark setView virtual
        * dom/DocumentImpl.cpp:
        (WebCore::DocumentImpl::attach): remove no-renderer hack
        * page/Frame.cpp:
        (WebCore::Frame::view): fix spacing
        (WebCore::Frame::setView): added.
        * page/Frame.h:
        * platform/win/TemporaryLinkStubs.cpp:
        (notImplemented): make break directly into debugger.
        Moved, modified several other stubs not mentioned here.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4d89331e
2006-02-28 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Fix spacing/style on several of the stubs.
Reorganize stubs, separating empty stubs.
Remove the abort from certain stubs blocking DRT.
Add a virtual setView call to Frame baseclass.
* bridge/mac/MacFrame.h: mark setView virtual
* dom/DocumentImpl.cpp:
(WebCore::DocumentImpl::attach): remove no-renderer hack
* page/Frame.cpp:
(WebCore::Frame::view): fix spacing
(WebCore::Frame::setView): added.
* page/Frame.h:
* platform/win/TemporaryLinkStubs.cpp:
(notImplemented): make break directly into debugger.
Moved, modified several other stubs not mentioned here.
2006-02-28 Justin Garcia <justin.garcia@apple.com>
Reviewed by mjs
......
......@@ -124,7 +124,7 @@ public:
void setBridge(WebCoreFrameBridge *p);
WebCoreFrameBridge *bridge() const { return _bridge; }
void setView(FrameView *view);
virtual void setView(FrameView*);
virtual void frameDetached();
virtual bool openURL(const KURL &);
......
......@@ -904,10 +904,7 @@ void DocumentImpl::attach()
m_renderArena = new RenderArena();
// Create the rendering tree
#ifndef WIN32
// FIXME: don't build renderers on Windows yet
setRenderer(new (m_renderArena) RenderCanvas(this, m_view));
#endif
recalcStyle(Force);
......
......@@ -323,9 +323,14 @@ BrowserExtension *Frame::browserExtension() const
return d->m_extension;
}
FrameView *Frame::view() const
FrameView* Frame::view() const
{
return d->m_view.get();
return d->m_view.get();
}
void Frame::setView(FrameView* view)
{
d->m_view = view;
}
bool Frame::jScriptEnabled() const
......
......@@ -121,6 +121,8 @@ public:
*/
FrameView *view() const;
virtual void setView(FrameView*);
/**
* Returns @p true if Javascript is enabled, @p false otherwise.
*/
......
This diff is collapsed.
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