| Index: Source/core/frame/Frame.h
|
| diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h
|
| index 82edd69195305712220249d113f3020077587c98..fc2ab2acedab6b3196781caffdec572a9214850a 100644
|
| --- a/Source/core/frame/Frame.h
|
| +++ b/Source/core/frame/Frame.h
|
| @@ -69,6 +69,10 @@ public:
|
|
|
| bool isMainFrame() const;
|
|
|
| + void disconnectOwnerElement();
|
| +
|
| + HTMLFrameOwnerElement* ownerElement() const;
|
| +
|
| // FIXME: DOMWindow and Document should both be moved to LocalFrame
|
| // after RemoteFrame is complete enough to exist without them.
|
| virtual void setDOMWindow(PassRefPtr<DOMWindow>);
|
| @@ -109,6 +113,12 @@ inline DOMWindow* Frame::domWindow() const
|
| {
|
| return m_domWindow.get();
|
| }
|
| +
|
| +inline HTMLFrameOwnerElement* Frame::ownerElement() const
|
| +{
|
| + return m_ownerElement;
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|
| #endif // Frame_h
|
|
|