Changeset 65181 in webkit
- Timestamp:
- Aug 11, 2010 1:10:55 PM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r65168 r65181 1 2010-08-11 James Hawkins <jhawkins@chromium.org> 2 3 Reviewed by Dmitry Titov. 4 5 [Chromium] Notify the WebFrameClient when the frame is detached from 6 the view. This is used to clear the cached frame in the FormManager. 7 Eventually this will be removed once handling forms is moved into 8 WebCore. 9 https://bugs.webkit.org/show_bug.cgi?id=43648 10 11 * public/WebFrameClient.h: 12 (WebKit::WebFrameClient::frameDetached): 13 * src/FrameLoaderClientImpl.cpp: 14 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 15 1 16 2010-08-11 Dimitri Glazkov <dglazkov@chromium.org> 2 17 -
trunk/WebKit/chromium/public/WebFrameClient.h
r65060 r65181 91 91 // General notifications ----------------------------------------------- 92 92 93 // This frame has been detached from the view. 94 // 95 // FIXME: Do not use this in new code. Currently this is used by code in 96 // Chromium that errantly caches WebKit objects. 97 virtual void frameDetached(WebFrame*) { } 98 93 99 // This frame is about to be closed. 94 100 virtual void willClose(WebFrame*) { } -
trunk/WebKit/chromium/src/FrameLoaderClientImpl.cpp
r65145 r65181 249 249 // or crashes. 250 250 m_webFrame->frame()->script()->proxy()->clearForClose(); 251 251 252 // Alert the client that the frame is being detached. This is the last 253 // chance we have to communicate with the client. 254 if (m_webFrame->client()) 255 m_webFrame->client()->frameDetached(m_webFrame); 256 252 257 // Stop communicating with the WebFrameClient at this point since we are no 253 258 // longer associated with the Page.
Note: See TracChangeset
for help on using the changeset viewer.