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

Side by Side Diff: Source/WebCore/dom/Document.h

Issue 14113007: Remove the ENABLE_XSLT compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 class SelectorQueryCache; 141 class SelectorQueryCache;
142 class SerializedScriptValue; 142 class SerializedScriptValue;
143 class Settings; 143 class Settings;
144 class StyleResolver; 144 class StyleResolver;
145 class StyleSheet; 145 class StyleSheet;
146 class StyleSheetContents; 146 class StyleSheetContents;
147 class StyleSheetList; 147 class StyleSheetList;
148 class Text; 148 class Text;
149 class TextAutosizer; 149 class TextAutosizer;
150 class TextResourceDecoder; 150 class TextResourceDecoder;
151 class TransformSource;
151 class TreeWalker; 152 class TreeWalker;
152 class VisitedLinkState; 153 class VisitedLinkState;
153 class XMLHttpRequest; 154 class XMLHttpRequest;
154 class XPathEvaluator; 155 class XPathEvaluator;
155 class XPathExpression; 156 class XPathExpression;
156 class XPathNSResolver; 157 class XPathNSResolver;
157 class XPathResult; 158 class XPathResult;
158 159
159 #if ENABLE(SVG) 160 #if ENABLE(SVG)
160 class SVGDocumentExtensions; 161 class SVGDocumentExtensions;
161 #endif 162 #endif
162 163
163 #if ENABLE(XSLT)
164 class TransformSource;
165 #endif
166
167 struct AnnotatedRegionValue; 164 struct AnnotatedRegionValue;
168 165
169 #if ENABLE(TOUCH_EVENTS) 166 #if ENABLE(TOUCH_EVENTS)
170 class Touch; 167 class Touch;
171 class TouchList; 168 class TouchList;
172 #endif 169 #endif
173 170
174 #if ENABLE(LINK_PRERENDER) 171 #if ENABLE(LINK_PRERENDER)
175 class Prerenderer; 172 class Prerenderer;
176 #endif 173 #endif
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 InheritedBool getDesignMode() const; 857 InheritedBool getDesignMode() const;
861 bool inDesignMode() const; 858 bool inDesignMode() const;
862 859
863 Document* parentDocument() const; 860 Document* parentDocument() const;
864 Document* topDocument() const; 861 Document* topDocument() const;
865 862
866 int docID() const { return m_docID; } 863 int docID() const { return m_docID; }
867 864
868 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } 865 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); }
869 866
870 #if ENABLE(XSLT)
871 void applyXSLTransform(ProcessingInstruction* pi); 867 void applyXSLTransform(ProcessingInstruction* pi);
872 PassRefPtr<Document> transformSourceDocument() { return m_transformSourceDoc ument; } 868 PassRefPtr<Document> transformSourceDocument() { return m_transformSourceDoc ument; }
873 void setTransformSourceDocument(Document* doc) { m_transformSourceDocument = doc; } 869 void setTransformSourceDocument(Document* doc) { m_transformSourceDocument = doc; }
874 870
875 void setTransformSource(PassOwnPtr<TransformSource>); 871 void setTransformSource(PassOwnPtr<TransformSource>);
876 TransformSource* transformSource() const { return m_transformSource.get(); } 872 TransformSource* transformSource() const { return m_transformSource.get(); }
877 #endif
878 873
879 void incDOMTreeVersion() { m_domTreeVersion = ++s_globalTreeVersion; } 874 void incDOMTreeVersion() { m_domTreeVersion = ++s_globalTreeVersion; }
880 uint64_t domTreeVersion() const { return m_domTreeVersion; } 875 uint64_t domTreeVersion() const { return m_domTreeVersion; }
881 876
882 void setDocType(PassRefPtr<DocumentType>); 877 void setDocType(PassRefPtr<DocumentType>);
883 878
884 // XPathEvaluator methods 879 // XPathEvaluator methods
885 PassRefPtr<XPathExpression> createExpression(const String& expression, 880 PassRefPtr<XPathExpression> createExpression(const String& expression,
886 XPathNSResolver* resolver, 881 XPathNSResolver* resolver,
887 ExceptionCode& ec); 882 ExceptionCode& ec);
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 // and should be merged. 1362 // and should be merged.
1368 bool m_processingLoadEvent; 1363 bool m_processingLoadEvent;
1369 bool m_loadEventFinished; 1364 bool m_loadEventFinished;
1370 1365
1371 RefPtr<SerializedScriptValue> m_pendingStateObject; 1366 RefPtr<SerializedScriptValue> m_pendingStateObject;
1372 double m_startTime; 1367 double m_startTime;
1373 bool m_overMinimumLayoutThreshold; 1368 bool m_overMinimumLayoutThreshold;
1374 1369
1375 OwnPtr<ScriptRunner> m_scriptRunner; 1370 OwnPtr<ScriptRunner> m_scriptRunner;
1376 1371
1377 #if ENABLE(XSLT)
1378 OwnPtr<TransformSource> m_transformSource; 1372 OwnPtr<TransformSource> m_transformSource;
1379 RefPtr<Document> m_transformSourceDocument; 1373 RefPtr<Document> m_transformSourceDocument;
1380 #endif
1381 1374
1382 int m_docID; // A unique document identifier used for things like document-s pecific mapped attributes. 1375 int m_docID; // A unique document identifier used for things like document-s pecific mapped attributes.
1383 1376
1384 String m_xmlEncoding; 1377 String m_xmlEncoding;
1385 String m_xmlVersion; 1378 String m_xmlVersion;
1386 unsigned m_xmlStandalone : 2; 1379 unsigned m_xmlStandalone : 2;
1387 unsigned m_hasXMLDeclaration : 1; 1380 unsigned m_hasXMLDeclaration : 1;
1388 1381
1389 String m_contentLanguage; 1382 String m_contentLanguage;
1390 1383
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 trackForDebugging(); 1580 trackForDebugging();
1588 #endif 1581 #endif
1589 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1582 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1590 } 1583 }
1591 1584
1592 Node* eventTargetNodeForDocument(Document*); 1585 Node* eventTargetNodeForDocument(Document*);
1593 1586
1594 } // namespace WebCore 1587 } // namespace WebCore
1595 1588
1596 #endif // Document_h 1589 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698