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