Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(870)

Unified Diff: Source/core/frame/LocalFrame.h

Issue 219903002: Revert 170347 "Convert HTMLFrameOwnerElement and FocusController..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1917/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalFrame.h
===================================================================
--- Source/core/frame/LocalFrame.h (revision 170478)
+++ Source/core/frame/LocalFrame.h (working copy)
@@ -72,7 +72,10 @@
virtual void willDetachFrameHost() OVERRIDE;
virtual void detachFromFrameHost() OVERRIDE;
+ void disconnectOwnerElement();
+ HTMLFrameOwnerElement* ownerElement() const;
+
virtual void setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow>) OVERRIDE;
FrameView* view() const;
@@ -209,6 +212,11 @@
return *m_inputMethodController;
}
+ inline HTMLFrameOwnerElement* LocalFrame::ownerElement() const
+ {
+ return m_ownerElement;
+ }
+
inline bool LocalFrame::inViewSourceMode() const
{
return m_inViewSourceMode;
@@ -234,9 +242,4 @@
} // namespace WebCore
-// During refactoring, there are some places where we need to do type conversions that
-// will not be needed once all instances of LocalFrame and RemoteFrame are sorted out.
-// At that time this #define will be removed and all the uses of it will need to be corrected.
-#define toLocalFrameTemporary toLocalFrame
-
#endif // LocalFrame_h
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698