Patch is available for review here:  http://codereview.chromium.org/99283

Thanks,
Marshall

On Fri, May 1, 2009 at 12:38 PM, Aaron Boodman <a...@chromium.org> wrote:

> Not the right time. WindowObjectCleared() gets called as the frame is
> coming up and the DOM window is getting setup.
>
> We needed something like this for extensions, but we ended up just
> putting our code in WebFrameImpl instead of adding an interface to the
> delegate.
>
> - a
>
> On Fri, May 1, 2009 at 9:28 AM, Darin Fisher <da...@chromium.org> wrote:
> > Perhaps WebViewDelegate::WindowObjectCleared works?
> > -Darin
> >
> >
> > On Fri, May 1, 2009 at 9:10 AM, Marshall Greenblatt <
> magreenbl...@gmail.com>
> > wrote:
> >>
> >> Hi All,
> >>
> >> Is there currently a way to be notified when a WebFrame instance is
> about
> >> to be destroyed?
> >>
> >> The Chromium Embedded Framework needs this notification to properly
> clean
> >> up memory associated with specific WebFrame instances (for example,
> custom
> >> NPObject types bound to the WebFrame via BindToWindowObject()).  If this
> >> capability doesn't currently exist I propose adding a
> >> BeforeDestroyFrame(WebFrame*) method to WebViewDelegate that will be
> called
> >> from WebFrameLoaderClient::frameLoaderDestroyed().
> >>
> >> Thanks,
> >> Marshall
> >>
> >>
> >
> >
> > > >
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to