| Index: Source/core/frame/Frame.h
|
| diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h
|
| index a4b404a632819c5db58264c470b03bd5b141a138..8077284f772990821c125e292c2e89fbc94579b0 100644
|
| --- a/Source/core/frame/Frame.h
|
| +++ b/Source/core/frame/Frame.h
|
| @@ -70,6 +70,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(PassRefPtrWillBeRawPtr<DOMWindow>);
|
| @@ -110,6 +114,12 @@ inline DOMWindow* Frame::domWindow() const
|
| {
|
| return m_domWindow.get();
|
| }
|
| +
|
| +inline HTMLFrameOwnerElement* Frame::ownerElement() const
|
| +{
|
| + return m_ownerElement;
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|
| #endif // Frame_h
|
|
|