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 -~----------~----~----~----~------~----~------~--~---