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

Unified Diff: Source/core/frame/LocalFrame.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/LocalFrame.h
diff --git a/Source/core/frame/LocalFrame.h b/Source/core/frame/LocalFrame.h
index 030ac7529a194a8bc01b6249462ed53574199f87..22fd1b3e6067640808e78c812fae368c714c7f20 100644
--- a/Source/core/frame/LocalFrame.h
+++ b/Source/core/frame/LocalFrame.h
@@ -38,6 +38,7 @@
namespace WebCore {
class Color;
+ class Document;
class DragImage;
class Editor;
class EventHandler;
@@ -51,6 +52,7 @@ namespace WebCore {
class IntSize;
class Node;
class Range;
+ class RenderView;
class TreeScope;
class ScriptController;
class SpellChecker;
@@ -74,8 +76,13 @@ namespace WebCore {
virtual void willDetachFrameHost() OVERRIDE;
virtual void detachFromFrameHost() OVERRIDE;
+ virtual void disconnectOwnerElement() OVERRIDE;
+
virtual void setDOMWindow(PassRefPtrWillBeRawPtr<DOMWindow>) OVERRIDE;
FrameView* view() const;
+ Document* document() const;
+
+ RenderView* contentRenderer() const; // Root of the render tree for the document contained in this frame.
Editor& editor() const;
EventHandler& eventHandler() const;

Powered by Google App Engine
This is Rietveld 408576698