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

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

Issue 1215103007: Remove remaining HTML elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 4b29c3c260fc13ae7bda303851e6cc6e9b3f690b..eb5b5eac22f9b46b6be1764cdcf63f81a3eb07c1 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -84,12 +84,7 @@ class Frame;
class FrameHost;
class FrameView;
class HitTestRequest;
-class HTMLDocumentParser;
class HTMLElement;
-class HTMLImport;
-class HTMLImportLoader;
-class HTMLImportsController;
-class HTMLScriptElement;
class LayoutPoint;
class LocalDOMWindow;
class LocalFrame;
@@ -353,13 +348,6 @@ public:
bool hasMutationObservers() const { return m_mutationObserverTypes; }
void addMutationObserverTypes(MutationObserverOptions types) { m_mutationObserverTypes |= types; }
- String title() const { return m_title; }
- void setTitle(const String&);
-
- Element* titleElement() const { return m_titleElement.get(); }
- void setTitleElement(Element*);
- void removeTitle(Element* titleElement);
-
const AtomicString& dir();
void setDir(const AtomicString&);
@@ -385,10 +373,6 @@ public:
Document& topDocument() const;
WeakPtr<Document> contextDocument();
- HTMLScriptElement* currentScript() const { return !m_currentScriptStack.isEmpty() ? m_currentScriptStack.last().get() : 0; }
- void pushCurrentScript(PassRefPtr<HTMLScriptElement>);
- void popCurrentScript();
-
void finishedParsing();
const WTF::TextEncoding& encoding() const { return WTF::UTF8Encoding(); }
@@ -440,15 +424,6 @@ public:
void registerElement(const AtomicString& name, PassRefPtr<DartValue> type, ExceptionState&);
CustomElementRegistry& elementRegistry() const { return *m_elementRegistry; }
- void setImportsController(HTMLImportsController*);
- HTMLImportsController* importsController() const { return m_importsController; }
- HTMLImportsController& ensureImportsController();
- HTMLImportLoader* importLoader() const;
- HTMLImport* import() const;
-
- bool haveImportsLoaded() const;
- void didLoadAllImports();
-
unsigned activeParserCount() { return m_activeParserCount; }
void incrementActiveParserCount() { ++m_activeParserCount; }
void decrementActiveParserCount();
@@ -555,7 +530,6 @@ private:
virtual double timerAlignmentInterval() const override final;
- void updateTitle(const String&);
void updateBaseURL();
void resumeParserWaitingForResourcesTimerFired(Timer<Document>*);
@@ -585,13 +559,8 @@ private:
LocalFrame* m_frame;
RawPtr<LocalDOMWindow> m_domWindow;
- // FIXME: oilpan: when we get rid of the transition types change the
- // HTMLImportsController to not be a DocumentSupplement since it is
- // redundant with oilpan.
- RawPtr<HTMLImportsController> m_importsController;
RefPtr<ResourceFetcher> m_fetcher;
- RefPtr<DocumentParser> m_parser;
unsigned m_activeParserCount;
// Document URLs.
@@ -627,18 +596,12 @@ private:
bool m_containsValidityStyleRules;
- String m_title;
- String m_rawTitle;
- RefPtr<Element> m_titleElement;
-
OwnPtr<DocumentMarkerController> m_markers;
LoadEventProgress m_loadEventProgress;
double m_startTime;
- Vector<RefPtr<HTMLScriptElement> > m_currentScriptStack;
-
AtomicString m_contentLanguage;
OwnPtr<SelectorQueryCache> m_selectorQueryCache;
« 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