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

Unified Diff: sky/engine/core/dom/Document.h

Issue 928393003: Remove the concept of document.documentElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/core/dom/ContainerNode.cpp ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.h
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
index ba99a2cf2df9b7d4a8568f1819e03b875355f95d..4f951c8dc546036b22518ad6238aba4bc793839f 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -165,11 +165,6 @@ public:
String outgoingReferrer();
- Element* documentElement() const
- {
- return m_documentElement.get();
- }
-
Location* location() const;
PassRefPtr<Element> createElement(const AtomicString& name, ExceptionState&);
@@ -393,9 +388,6 @@ public:
DocumentMarkerController& markers() const { return *m_markers; }
- bool directionSetOnDocumentElement() const { return m_directionSetOnDocumentElement; }
- void setDirectionSetOnDocumentElement(bool b) { m_directionSetOnDocumentElement = b; }
-
KURL openSearchDescriptionURL();
Document& topDocument() const;
@@ -550,8 +542,6 @@ private:
virtual bool isDocument() const override final { return true; }
- virtual void childrenChanged(const ChildrenChange&) override;
-
virtual String nodeName() const override final;
virtual NodeType nodeType() const override final;
virtual PassRefPtr<Node> cloneNode(bool deep = true) override final;
@@ -622,7 +612,6 @@ private:
RefPtr<Element> m_focusedElement;
RefPtr<Node> m_hoverNode;
RefPtr<Element> m_activeHoverElement;
- RefPtr<Element> m_documentElement;
UserActionElementSet m_userActionElements;
typedef HashSet<RawPtr<Range> > AttachedRangeSet;
@@ -672,8 +661,6 @@ private:
bool m_didSetReferrerPolicy;
ReferrerPolicy m_referrerPolicy;
- bool m_directionSetOnDocumentElement;
-
RefPtr<MediaQueryMatcher> m_mediaQueryMatcher;
RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
@@ -728,8 +715,6 @@ inline bool Node::isDocumentNode() const
return this == document();
}
-Node* eventTargetNodeForDocument(Document*);
-
} // namespace blink
#ifndef NDEBUG
« no previous file with comments | « sky/engine/core/dom/ContainerNode.cpp ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698