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

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

Issue 235553006: Move Document pointer from Frame to LocalFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
Index: Source/core/frame/Frame.h
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h
index 2a79502aef34a30d2c2cd0b51ac7685ac1c73823..9021c4a015d33afbee6ec2797ee47f9c134b038d 100644
--- a/Source/core/frame/Frame.h
+++ b/Source/core/frame/Frame.h
@@ -39,7 +39,6 @@ class WebLayer;
namespace WebCore {
-class Document;
class DOMWindow;
class ChromeClient;
class FrameDestructionObserver;
@@ -47,7 +46,6 @@ class FrameHost;
class HTMLFrameOwnerElement;
class Page;
class RenderPart;
-class RenderView;
class Settings;
class Frame : public RefCounted<Frame> {
@@ -71,7 +69,7 @@ public:
bool isMainFrame() const;
- void disconnectOwnerElement();
+ virtual void disconnectOwnerElement();
HTMLFrameOwnerElement* ownerElement() const;
@@ -79,11 +77,9 @@ public:
// after RemoteFrame is complete enough to exist without them.
virtual void setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow>);
DOMWindow* domWindow() const;
- Document* document() const;
ChromeClient& chromeClient() const;
- RenderView* contentRenderer() const; // Root of the render tree for the document contained in this frame.
RenderPart* ownerRenderer() const; // Renderer for the element that contains this frame.
int64_t frameID() const { return m_frameID; }

Powered by Google App Engine
This is Rietveld 408576698