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

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

Issue 871383002: Merge HTMLDocument into Document (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/css/parser/CSSPropertyParser.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 6653e17ab86dd8e6afd09eae021bbb2ff9d2c438..a383f49f7661467073a5058f9faa83060e78decb 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -123,14 +123,6 @@ struct AnnotatedRegionValue;
typedef int ExceptionCode;
-enum DocumentClass {
- DefaultDocumentClass = 0,
- HTMLDocumentClass = 1,
- MediaDocumentClass = 1 << 4,
-};
-
-typedef unsigned char DocumentClassFlags;
-
class Document;
class Document : public ContainerNode, public TreeScope, public ExecutionContext, public ExecutionContextClient
@@ -213,8 +205,6 @@ public:
PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionState&);
- bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; }
-
struct TransitionElementData {
String scope;
String selector;
@@ -540,7 +530,7 @@ public:
virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) override;
protected:
- Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
+ explicit Document(const DocumentInit&);
#if !ENABLE(OILPAN)
virtual void dispose() override;
@@ -691,8 +681,6 @@ private:
OwnPtr<SelectorQueryCache> m_selectorQueryCache;
- DocumentClassFlags m_documentClasses;
-
RenderView* m_renderView;
#if !ENABLE(OILPAN)
« no previous file with comments | « sky/engine/core/css/parser/CSSPropertyParser.cpp ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698