[webkit-dev] WebKit modularization

Martin Robinson mrobinson at webkit.org
Thu Feb 23 11:16:02 PST 2012

On Thu, Feb 23, 2012 at 10:24 AM, Adam Barth <abarth at webkit.org> wrote:
> Currently, the plan is that there won't be any direct dependencies
> from WebCore into code in Modules, but code in Modules will be able to
> depend on anything in WebCore it likes.  We've added a couple abstract
> "Observer" interfaces that Modules use to learn about what's happening
> in WebCore.  So far, these have been very basic lifetime-related
> observations (e.g., a Page and/or a Frame being
> destroyed/disconnected):
> http://trac.webkit.org/browser/trunk/Source/WebCore/page/FrameDestructionObserver.h

Is it too ugly to reach across layers and use these interfaces in
WebKit? They might come in handy. I've already looked at one patch
that uses FrameDestructionObserver in WebKit.


More information about the webkit-dev mailing list