OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // detachFromParent() calls FrameLoaderClient::detachedFromParent(), which calls | 63 // detachFromParent() calls FrameLoaderClient::detachedFromParent(), which calls |
64 // WebFrame::frameDetached(). This triggers WebFrame to clear its reference to | 64 // WebFrame::frameDetached(). This triggers WebFrame to clear its reference to |
65 // LocalFrame, and also notifies the embedder via WebFrameClient that the frame
is | 65 // LocalFrame, and also notifies the embedder via WebFrameClient that the frame
is |
66 // detached. Most embedders will invoke close() on the WebFrame at this point, | 66 // detached. Most embedders will invoke close() on the WebFrame at this point, |
67 // triggering its deletion unless something else is still retaining a reference. | 67 // triggering its deletion unless something else is still retaining a reference. |
68 // | 68 // |
69 // Thie client is expected to be set whenever the WebFrameImpl is attached to | 69 // Thie client is expected to be set whenever the WebFrameImpl is attached to |
70 // the DOM. | 70 // the DOM. |
71 | 71 |
72 #include "config.h" | 72 #include "config.h" |
73 #include "WebFrameImpl.h" | 73 #include "TextFinder.h" |
74 | 74 |
75 #include <algorithm> | 75 #include <algorithm> |
76 #include "AssociatedURLLoader.h" | 76 #include "AssociatedURLLoader.h" |
77 #include "DOMUtilitiesPrivate.h" | 77 #include "DOMUtilitiesPrivate.h" |
78 #include "EventListenerWrapper.h" | 78 #include "EventListenerWrapper.h" |
79 #include "FindInPageCoordinates.h" | 79 #include "FindInPageCoordinates.h" |
80 #include "HTMLNames.h" | 80 #include "HTMLNames.h" |
81 #include "PageOverlay.h" | 81 #include "PageOverlay.h" |
82 #include "SharedWorkerRepositoryClientImpl.h" | 82 #include "SharedWorkerRepositoryClientImpl.h" |
83 #include "V8DOMFileSystem.h" | 83 #include "V8DOMFileSystem.h" |
(...skipping 2428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2512 | 2512 |
2513 // There is a possibility that the frame being detached was the only | 2513 // There is a possibility that the frame being detached was the only |
2514 // pending one. We need to make sure final replies can be sent. | 2514 // pending one. We need to make sure final replies can be sent. |
2515 flushCurrentScopingEffort(m_findRequestIdentifier); | 2515 flushCurrentScopingEffort(m_findRequestIdentifier); |
2516 | 2516 |
2517 cancelPendingScopingEffort(); | 2517 cancelPendingScopingEffort(); |
2518 } | 2518 } |
2519 } | 2519 } |
2520 | 2520 |
2521 } // namespace blink | 2521 } // namespace blink |
OLD | NEW |