OLD | NEW |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "core/frame/HostsUsingFeatures.h" | 48 #include "core/frame/HostsUsingFeatures.h" |
49 #include "core/html/parser/ParserSynchronizationPolicy.h" | 49 #include "core/html/parser/ParserSynchronizationPolicy.h" |
50 #include "core/page/PageVisibilityState.h" | 50 #include "core/page/PageVisibilityState.h" |
51 #include "platform/Length.h" | 51 #include "platform/Length.h" |
52 #include "platform/Timer.h" | 52 #include "platform/Timer.h" |
53 #include "platform/weborigin/KURL.h" | 53 #include "platform/weborigin/KURL.h" |
54 #include "platform/weborigin/ReferrerPolicy.h" | 54 #include "platform/weborigin/ReferrerPolicy.h" |
55 #include "public/platform/WebFocusType.h" | 55 #include "public/platform/WebFocusType.h" |
56 #include "public/platform/WebInsecureRequestPolicy.h" | 56 #include "public/platform/WebInsecureRequestPolicy.h" |
57 #include "wtf/HashSet.h" | 57 #include "wtf/HashSet.h" |
| 58 #include "wtf/OwnPtr.h" |
| 59 #include "wtf/PassOwnPtr.h" |
58 #include "wtf/PassRefPtr.h" | 60 #include "wtf/PassRefPtr.h" |
59 #include <memory> | |
60 | 61 |
61 namespace blink { | 62 namespace blink { |
62 | 63 |
63 class AnimationClock; | 64 class AnimationClock; |
64 class AnimationTimeline; | 65 class AnimationTimeline; |
65 class AXObjectCache; | 66 class AXObjectCache; |
66 class Attr; | 67 class Attr; |
67 class CDATASection; | 68 class CDATASection; |
68 class CSSStyleDeclaration; | 69 class CSSStyleDeclaration; |
69 class CSSStyleSheet; | 70 class CSSStyleSheet; |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 void didMergeTextNodes(Text& oldNode, unsigned offset); | 665 void didMergeTextNodes(Text& oldNode, unsigned offset); |
665 void didSplitTextNode(Text& oldNode); | 666 void didSplitTextNode(Text& oldNode); |
666 | 667 |
667 void clearDOMWindow() { m_domWindow = nullptr; } | 668 void clearDOMWindow() { m_domWindow = nullptr; } |
668 LocalDOMWindow* domWindow() const { return m_domWindow; } | 669 LocalDOMWindow* domWindow() const { return m_domWindow; } |
669 | 670 |
670 // Helper functions for forwarding LocalDOMWindow event related tasks to the
LocalDOMWindow if it exists. | 671 // Helper functions for forwarding LocalDOMWindow event related tasks to the
LocalDOMWindow if it exists. |
671 void setWindowAttributeEventListener(const AtomicString& eventType, EventLis
tener*); | 672 void setWindowAttributeEventListener(const AtomicString& eventType, EventLis
tener*); |
672 EventListener* getWindowAttributeEventListener(const AtomicString& eventType
); | 673 EventListener* getWindowAttributeEventListener(const AtomicString& eventType
); |
673 | 674 |
674 static void registerEventFactory(std::unique_ptr<EventFactoryBase>); | 675 static void registerEventFactory(PassOwnPtr<EventFactoryBase>); |
675 static Event* createEvent(ExecutionContext*, const String& eventType, Except
ionState&); | 676 static Event* createEvent(ExecutionContext*, const String& eventType, Except
ionState&); |
676 | 677 |
677 // keep track of what types of event listeners are registered, so we don't | 678 // keep track of what types of event listeners are registered, so we don't |
678 // dispatch events unnecessarily | 679 // dispatch events unnecessarily |
679 enum ListenerType { | 680 enum ListenerType { |
680 DOMSUBTREEMODIFIED_LISTENER = 1, | 681 DOMSUBTREEMODIFIED_LISTENER = 1, |
681 DOMNODEINSERTED_LISTENER = 1 << 1, | 682 DOMNODEINSERTED_LISTENER = 1 << 1, |
682 DOMNODEREMOVED_LISTENER = 1 << 2, | 683 DOMNODEREMOVED_LISTENER = 1 << 2, |
683 DOMNODEREMOVEDFROMDOCUMENT_LISTENER = 1 << 3, | 684 DOMNODEREMOVEDFROMDOCUMENT_LISTENER = 1 << 3, |
684 DOMNODEINSERTEDINTODOCUMENT_LISTENER = 1 << 4, | 685 DOMNODEINSERTEDINTODOCUMENT_LISTENER = 1 << 4, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 Document& topDocument() const; | 806 Document& topDocument() const; |
806 Document* contextDocument(); | 807 Document* contextDocument(); |
807 | 808 |
808 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } | 809 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } |
809 | 810 |
810 Element* currentScript() const { return !m_currentScriptStack.isEmpty() ? m_
currentScriptStack.last().get() : nullptr; } | 811 Element* currentScript() const { return !m_currentScriptStack.isEmpty() ? m_
currentScriptStack.last().get() : nullptr; } |
811 void currentScriptForBinding(HTMLScriptElementOrSVGScriptElement&) const; | 812 void currentScriptForBinding(HTMLScriptElementOrSVGScriptElement&) const; |
812 void pushCurrentScript(Element*); | 813 void pushCurrentScript(Element*); |
813 void popCurrentScript(); | 814 void popCurrentScript(); |
814 | 815 |
815 void setTransformSource(std::unique_ptr<TransformSource>); | 816 void setTransformSource(PassOwnPtr<TransformSource>); |
816 TransformSource* transformSource() const { return m_transformSource.get(); } | 817 TransformSource* transformSource() const { return m_transformSource.get(); } |
817 | 818 |
818 void incDOMTreeVersion() { DCHECK(m_lifecycle.stateAllowsTreeMutations()); m
_domTreeVersion = ++s_globalTreeVersion; } | 819 void incDOMTreeVersion() { DCHECK(m_lifecycle.stateAllowsTreeMutations()); m
_domTreeVersion = ++s_globalTreeVersion; } |
819 uint64_t domTreeVersion() const { return m_domTreeVersion; } | 820 uint64_t domTreeVersion() const { return m_domTreeVersion; } |
820 | 821 |
821 uint64_t styleVersion() const { return m_styleVersion; } | 822 uint64_t styleVersion() const { return m_styleVersion; } |
822 | 823 |
823 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe
ets, IgnoreLayoutWithPendingSheets }; | 824 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe
ets, IgnoreLayoutWithPendingSheets }; |
824 | 825 |
825 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout =
= DidLayoutWithPendingSheets; } | 826 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout =
= DidLayoutWithPendingSheets; } |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 const DocumentTiming& timing() const { return m_documentTiming; } | 943 const DocumentTiming& timing() const { return m_documentTiming; } |
943 | 944 |
944 int requestAnimationFrame(FrameRequestCallback*); | 945 int requestAnimationFrame(FrameRequestCallback*); |
945 void cancelAnimationFrame(int id); | 946 void cancelAnimationFrame(int id); |
946 void serviceScriptedAnimations(double monotonicAnimationStartTime); | 947 void serviceScriptedAnimations(double monotonicAnimationStartTime); |
947 | 948 |
948 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&); | 949 int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&); |
949 void cancelIdleCallback(int id); | 950 void cancelIdleCallback(int id); |
950 | 951 |
951 EventTarget* errorEventTarget() final; | 952 EventTarget* errorEventTarget() final; |
952 void logExceptionToConsole(const String& errorMessage, std::unique_ptr<Sourc
eLocation>) final; | 953 void logExceptionToConsole(const String& errorMessage, PassOwnPtr<SourceLoca
tion>) final; |
953 | 954 |
954 void initDNSPrefetch(); | 955 void initDNSPrefetch(); |
955 | 956 |
956 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; } | 957 bool isInDocumentWrite() const { return m_writeRecursionDepth > 0; } |
957 | 958 |
958 TextAutosizer* textAutosizer(); | 959 TextAutosizer* textAutosizer(); |
959 | 960 |
960 Element* createElement(const AtomicString& localName, const AtomicString& ty
peExtension, ExceptionState&); | 961 Element* createElement(const AtomicString& localName, const AtomicString& ty
peExtension, ExceptionState&); |
961 Element* createElementNS(const AtomicString& namespaceURI, const AtomicStrin
g& qualifiedName, const AtomicString& typeExtension, ExceptionState&); | 962 Element* createElementNS(const AtomicString& namespaceURI, const AtomicStrin
g& qualifiedName, const AtomicString& typeExtension, ExceptionState&); |
962 ScriptValue registerElement(ScriptState*, const AtomicString& name, const El
ementRegistrationOptions&, ExceptionState&, V0CustomElement::NameSet validNames
= V0CustomElement::StandardNames); | 963 ScriptValue registerElement(ScriptState*, const AtomicString& name, const El
ementRegistrationOptions&, ExceptionState&, V0CustomElement::NameSet validNames
= V0CustomElement::StandardNames); |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1170 | 1171 |
1171 void clearFocusedElementSoon(); | 1172 void clearFocusedElementSoon(); |
1172 void clearFocusedElementTimerFired(Timer<Document>*); | 1173 void clearFocusedElementTimerFired(Timer<Document>*); |
1173 | 1174 |
1174 bool haveScriptBlockingStylesheetsLoaded() const; | 1175 bool haveScriptBlockingStylesheetsLoaded() const; |
1175 bool haveRenderBlockingStylesheetsLoaded() const; | 1176 bool haveRenderBlockingStylesheetsLoaded() const; |
1176 void styleResolverMayHaveChanged(); | 1177 void styleResolverMayHaveChanged(); |
1177 | 1178 |
1178 void setHoverNode(Node*); | 1179 void setHoverNode(Node*); |
1179 | 1180 |
1180 using EventFactorySet = HashSet<std::unique_ptr<EventFactoryBase>>; | 1181 using EventFactorySet = HashSet<OwnPtr<EventFactoryBase>>; |
1181 static EventFactorySet& eventFactories(); | 1182 static EventFactorySet& eventFactories(); |
1182 | 1183 |
1183 void setNthIndexCache(NthIndexCache* nthIndexCache) { DCHECK(!m_nthIndexCach
e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } | 1184 void setNthIndexCache(NthIndexCache* nthIndexCache) { DCHECK(!m_nthIndexCach
e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } |
1184 | 1185 |
1185 const OriginAccessEntry& accessEntryFromURL(); | 1186 const OriginAccessEntry& accessEntryFromURL(); |
1186 | 1187 |
1187 DocumentLifecycle m_lifecycle; | 1188 DocumentLifecycle m_lifecycle; |
1188 | 1189 |
1189 bool m_hasNodesWithPlaceholderStyle; | 1190 bool m_hasNodesWithPlaceholderStyle; |
1190 bool m_evaluateMediaQueriesOnStyleRecalc; | 1191 bool m_evaluateMediaQueriesOnStyleRecalc; |
(...skipping 12 matching lines...) Expand all Loading... |
1203 Member<ContextFeatures> m_contextFeatures; | 1204 Member<ContextFeatures> m_contextFeatures; |
1204 | 1205 |
1205 bool m_wellFormed; | 1206 bool m_wellFormed; |
1206 | 1207 |
1207 // Document URLs. | 1208 // Document URLs. |
1208 KURL m_url; // Document.URL: The URL from which this document was retrieved. | 1209 KURL m_url; // Document.URL: The URL from which this document was retrieved. |
1209 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs
. | 1210 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs
. |
1210 KURL m_baseURLOverride; // An alternative base URL that takes precedence ove
r m_baseURL (but not m_baseElementURL). | 1211 KURL m_baseURLOverride; // An alternative base URL that takes precedence ove
r m_baseURL (but not m_baseElementURL). |
1211 KURL m_baseElementURL; // The URL set by the <base> element. | 1212 KURL m_baseElementURL; // The URL set by the <base> element. |
1212 KURL m_cookieURL; // The URL to use for cookie access. | 1213 KURL m_cookieURL; // The URL to use for cookie access. |
1213 std::unique_ptr<OriginAccessEntry> m_accessEntryFromURL; | 1214 OwnPtr<OriginAccessEntry> m_accessEntryFromURL; |
1214 | 1215 |
1215 AtomicString m_baseTarget; | 1216 AtomicString m_baseTarget; |
1216 | 1217 |
1217 // Mime-type of the document in case it was cloned or created by XHR. | 1218 // Mime-type of the document in case it was cloned or created by XHR. |
1218 AtomicString m_mimeType; | 1219 AtomicString m_mimeType; |
1219 | 1220 |
1220 Member<DocumentType> m_docType; | 1221 Member<DocumentType> m_docType; |
1221 Member<DOMImplementation> m_implementation; | 1222 Member<DOMImplementation> m_implementation; |
1222 | 1223 |
1223 Member<CSSStyleSheet> m_elemSheet; | 1224 Member<CSSStyleSheet> m_elemSheet; |
1224 | 1225 |
1225 bool m_printing; | 1226 bool m_printing; |
1226 bool m_wasPrinting; | 1227 bool m_wasPrinting; |
1227 bool m_paginatedForScreen; | 1228 bool m_paginatedForScreen; |
1228 | 1229 |
1229 CompatibilityMode m_compatibilityMode; | 1230 CompatibilityMode m_compatibilityMode; |
1230 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. | 1231 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. |
1231 | 1232 |
1232 std::unique_ptr<CancellableTaskFactory> m_executeScriptsWaitingForResourcesT
ask; | 1233 OwnPtr<CancellableTaskFactory> m_executeScriptsWaitingForResourcesTask; |
1233 | 1234 |
1234 bool m_hasAutofocused; | 1235 bool m_hasAutofocused; |
1235 Timer<Document> m_clearFocusedElementTimer; | 1236 Timer<Document> m_clearFocusedElementTimer; |
1236 Member<Element> m_autofocusElement; | 1237 Member<Element> m_autofocusElement; |
1237 Member<Element> m_focusedElement; | 1238 Member<Element> m_focusedElement; |
1238 Member<Range> m_sequentialFocusNavigationStartingPoint; | 1239 Member<Range> m_sequentialFocusNavigationStartingPoint; |
1239 Member<Node> m_hoverNode; | 1240 Member<Node> m_hoverNode; |
1240 Member<Element> m_activeHoverElement; | 1241 Member<Element> m_activeHoverElement; |
1241 Member<Element> m_documentElement; | 1242 Member<Element> m_documentElement; |
1242 UserActionElementSet m_userActionElements; | 1243 UserActionElementSet m_userActionElements; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 Member<Element> m_cssTarget; | 1290 Member<Element> m_cssTarget; |
1290 | 1291 |
1291 LoadEventProgress m_loadEventProgress; | 1292 LoadEventProgress m_loadEventProgress; |
1292 | 1293 |
1293 double m_startTime; | 1294 double m_startTime; |
1294 | 1295 |
1295 Member<ScriptRunner> m_scriptRunner; | 1296 Member<ScriptRunner> m_scriptRunner; |
1296 | 1297 |
1297 HeapVector<Member<Element>> m_currentScriptStack; | 1298 HeapVector<Member<Element>> m_currentScriptStack; |
1298 | 1299 |
1299 std::unique_ptr<TransformSource> m_transformSource; | 1300 OwnPtr<TransformSource> m_transformSource; |
1300 | 1301 |
1301 String m_xmlEncoding; | 1302 String m_xmlEncoding; |
1302 String m_xmlVersion; | 1303 String m_xmlVersion; |
1303 unsigned m_xmlStandalone : 2; | 1304 unsigned m_xmlStandalone : 2; |
1304 unsigned m_hasXMLDeclaration : 1; | 1305 unsigned m_hasXMLDeclaration : 1; |
1305 | 1306 |
1306 AtomicString m_contentLanguage; | 1307 AtomicString m_contentLanguage; |
1307 | 1308 |
1308 DocumentEncodingData m_encodingData; | 1309 DocumentEncodingData m_encodingData; |
1309 | 1310 |
1310 bool m_designMode; | 1311 bool m_designMode; |
1311 bool m_isRunningExecCommand; | 1312 bool m_isRunningExecCommand; |
1312 | 1313 |
1313 HeapHashSet<WeakMember<const LiveNodeListBase>> m_listsInvalidatedAtDocument
; | 1314 HeapHashSet<WeakMember<const LiveNodeListBase>> m_listsInvalidatedAtDocument
; |
1314 // Oilpan keeps track of all registered NodeLists. | 1315 // Oilpan keeps track of all registered NodeLists. |
1315 // TODO(Oilpan): improve - only need to know if a NodeList | 1316 // TODO(Oilpan): improve - only need to know if a NodeList |
1316 // is currently alive or not for the different types. | 1317 // is currently alive or not for the different types. |
1317 HeapHashSet<WeakMember<const LiveNodeListBase>> m_nodeLists[numNodeListInval
idationTypes]; | 1318 HeapHashSet<WeakMember<const LiveNodeListBase>> m_nodeLists[numNodeListInval
idationTypes]; |
1318 | 1319 |
1319 Member<SVGDocumentExtensions> m_svgExtensions; | 1320 Member<SVGDocumentExtensions> m_svgExtensions; |
1320 | 1321 |
1321 Vector<AnnotatedRegionValue> m_annotatedRegions; | 1322 Vector<AnnotatedRegionValue> m_annotatedRegions; |
1322 bool m_hasAnnotatedRegions; | 1323 bool m_hasAnnotatedRegions; |
1323 bool m_annotatedRegionsDirty; | 1324 bool m_annotatedRegionsDirty; |
1324 | 1325 |
1325 std::unique_ptr<SelectorQueryCache> m_selectorQueryCache; | 1326 OwnPtr<SelectorQueryCache> m_selectorQueryCache; |
1326 | 1327 |
1327 // It is safe to keep a raw, untraced pointer to this stack-allocated | 1328 // It is safe to keep a raw, untraced pointer to this stack-allocated |
1328 // cache object: it is set upon the cache object being allocated on | 1329 // cache object: it is set upon the cache object being allocated on |
1329 // the stack and cleared upon leaving its allocated scope. Hence it | 1330 // the stack and cleared upon leaving its allocated scope. Hence it |
1330 // is acceptable not to trace it -- should a conservative GC occur, | 1331 // is acceptable not to trace it -- should a conservative GC occur, |
1331 // the cache object's references will be traced by a stack walk. | 1332 // the cache object's references will be traced by a stack walk. |
1332 GC_PLUGIN_IGNORE("461878") | 1333 GC_PLUGIN_IGNORE("461878") |
1333 NthIndexCache* m_nthIndexCache = nullptr; | 1334 NthIndexCache* m_nthIndexCache = nullptr; |
1334 | 1335 |
1335 bool m_useSecureKeyboardEntryWhenActive; | 1336 bool m_useSecureKeyboardEntryWhenActive; |
(...skipping 23 matching lines...) Expand all Loading... |
1359 | 1360 |
1360 ReferrerPolicy m_referrerPolicy; | 1361 ReferrerPolicy m_referrerPolicy; |
1361 | 1362 |
1362 DocumentTiming m_documentTiming; | 1363 DocumentTiming m_documentTiming; |
1363 Member<MediaQueryMatcher> m_mediaQueryMatcher; | 1364 Member<MediaQueryMatcher> m_mediaQueryMatcher; |
1364 bool m_writeRecursionIsTooDeep; | 1365 bool m_writeRecursionIsTooDeep; |
1365 unsigned m_writeRecursionDepth; | 1366 unsigned m_writeRecursionDepth; |
1366 | 1367 |
1367 Member<ScriptedAnimationController> m_scriptedAnimationController; | 1368 Member<ScriptedAnimationController> m_scriptedAnimationController; |
1368 Member<ScriptedIdleTaskController> m_scriptedIdleTaskController; | 1369 Member<ScriptedIdleTaskController> m_scriptedIdleTaskController; |
1369 std::unique_ptr<MainThreadTaskRunner> m_taskRunner; | 1370 OwnPtr<MainThreadTaskRunner> m_taskRunner; |
1370 Member<TextAutosizer> m_textAutosizer; | 1371 Member<TextAutosizer> m_textAutosizer; |
1371 | 1372 |
1372 Member<V0CustomElementRegistrationContext> m_registrationContext; | 1373 Member<V0CustomElementRegistrationContext> m_registrationContext; |
1373 Member<V0CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue; | 1374 Member<V0CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue; |
1374 | 1375 |
1375 void elementDataCacheClearTimerFired(Timer<Document>*); | 1376 void elementDataCacheClearTimerFired(Timer<Document>*); |
1376 Timer<Document> m_elementDataCacheClearTimer; | 1377 Timer<Document> m_elementDataCacheClearTimer; |
1377 | 1378 |
1378 Member<ElementDataCache> m_elementDataCache; | 1379 Member<ElementDataCache> m_elementDataCache; |
1379 | 1380 |
1380 using LocaleIdentifierToLocaleMap = HashMap<AtomicString, std::unique_ptr<Lo
cale>>; | 1381 using LocaleIdentifierToLocaleMap = HashMap<AtomicString, OwnPtr<Locale>>; |
1381 LocaleIdentifierToLocaleMap m_localeCache; | 1382 LocaleIdentifierToLocaleMap m_localeCache; |
1382 | 1383 |
1383 Member<AnimationTimeline> m_timeline; | 1384 Member<AnimationTimeline> m_timeline; |
1384 Member<CompositorPendingAnimations> m_compositorPendingAnimations; | 1385 Member<CompositorPendingAnimations> m_compositorPendingAnimations; |
1385 | 1386 |
1386 Member<Document> m_templateDocument; | 1387 Member<Document> m_templateDocument; |
1387 Member<Document> m_templateDocumentHost; | 1388 Member<Document> m_templateDocumentHost; |
1388 | 1389 |
1389 Timer<Document> m_didAssociateFormControlsTimer; | 1390 Timer<Document> m_didAssociateFormControlsTimer; |
1390 HeapHashSet<Member<Element>> m_associatedFormControls; | 1391 HeapHashSet<Member<Element>> m_associatedFormControls; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1454 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1455 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1455 | 1456 |
1456 } // namespace blink | 1457 } // namespace blink |
1457 | 1458 |
1458 #ifndef NDEBUG | 1459 #ifndef NDEBUG |
1459 // Outside the WebCore namespace for ease of invocation from gdb. | 1460 // Outside the WebCore namespace for ease of invocation from gdb. |
1460 CORE_EXPORT void showLiveDocumentInstances(); | 1461 CORE_EXPORT void showLiveDocumentInstances(); |
1461 #endif | 1462 #endif |
1462 | 1463 |
1463 #endif // Document_h | 1464 #endif // Document_h |
OLD | NEW |