Patch is available for review here: http://codereview.chromium.org/99283
Thanks, Marshall On Fri, May 1, 2009 at 12:38 PM, Aaron Boodman <[email protected]> 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 <[email protected]> wrote: > > Perhaps WebViewDelegate::WindowObjectCleared works? > > -Darin > > > > > > On Fri, May 1, 2009 at 9:10 AM, Marshall Greenblatt < > [email protected]> > > 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: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
