| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "core/fetch/ClientHintsPreferences.h" | 50 #include "core/fetch/ClientHintsPreferences.h" |
| 51 #include "core/frame/DOMTimerCoordinator.h" | 51 #include "core/frame/DOMTimerCoordinator.h" |
| 52 #include "core/frame/LocalDOMWindow.h" | 52 #include "core/frame/LocalDOMWindow.h" |
| 53 #include "core/frame/OriginsUsingFeatures.h" | 53 #include "core/frame/OriginsUsingFeatures.h" |
| 54 #include "core/html/CollectionType.h" | 54 #include "core/html/CollectionType.h" |
| 55 #include "core/html/parser/ParserSynchronizationPolicy.h" | 55 #include "core/html/parser/ParserSynchronizationPolicy.h" |
| 56 #include "core/page/PageVisibilityState.h" | 56 #include "core/page/PageVisibilityState.h" |
| 57 #include "platform/Length.h" | 57 #include "platform/Length.h" |
| 58 #include "platform/Timer.h" | 58 #include "platform/Timer.h" |
| 59 #include "platform/heap/Handle.h" | 59 #include "platform/heap/Handle.h" |
| 60 #include "platform/scheduler/CancellableTaskFactory.h" | |
| 61 #include "platform/weborigin/KURL.h" | 60 #include "platform/weborigin/KURL.h" |
| 62 #include "platform/weborigin/ReferrerPolicy.h" | 61 #include "platform/weborigin/ReferrerPolicy.h" |
| 63 #include "public/platform/WebFocusType.h" | 62 #include "public/platform/WebFocusType.h" |
| 64 #include "wtf/HashSet.h" | 63 #include "wtf/HashSet.h" |
| 65 #include "wtf/OwnPtr.h" | 64 #include "wtf/OwnPtr.h" |
| 66 #include "wtf/PassOwnPtr.h" | 65 #include "wtf/PassOwnPtr.h" |
| 67 #include "wtf/PassRefPtr.h" | 66 #include "wtf/PassRefPtr.h" |
| 68 #include "wtf/WeakPtr.h" | 67 #include "wtf/WeakPtr.h" |
| 69 | 68 |
| 70 namespace blink { | 69 namespace blink { |
| (...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1116 KURL virtualCompleteURL(const String&) const final; // Same as completeURL()
for the same reason as above. | 1115 KURL virtualCompleteURL(const String&) const final; // Same as completeURL()
for the same reason as above. |
| 1117 | 1116 |
| 1118 void reportBlockedScriptExecutionToInspector(const String& directiveText) fi
nal; | 1117 void reportBlockedScriptExecutionToInspector(const String& directiveText) fi
nal; |
| 1119 | 1118 |
| 1120 double timerAlignmentInterval() const final; | 1119 double timerAlignmentInterval() const final; |
| 1121 | 1120 |
| 1122 void updateTitle(const String&); | 1121 void updateTitle(const String&); |
| 1123 void updateFocusAppearanceTimerFired(Timer<Document>*); | 1122 void updateFocusAppearanceTimerFired(Timer<Document>*); |
| 1124 void updateBaseURL(); | 1123 void updateBaseURL(); |
| 1125 | 1124 |
| 1126 void executeScriptsWaitingForResources(); | 1125 void executeScriptsWaitingForResourcesTimerFired(Timer<Document>*); |
| 1127 | 1126 |
| 1128 void loadEventDelayTimerFired(Timer<Document>*); | 1127 void loadEventDelayTimerFired(Timer<Document>*); |
| 1129 void pluginLoadingTimerFired(Timer<Document>*); | 1128 void pluginLoadingTimerFired(Timer<Document>*); |
| 1130 | 1129 |
| 1131 // Note that dispatching a window load event may cause the LocalDOMWindow to
be detached from | 1130 // Note that dispatching a window load event may cause the LocalDOMWindow to
be detached from |
| 1132 // the LocalFrame, so callers should take a reference to the LocalDOMWindow
(which owns us) to | 1131 // the LocalFrame, so callers should take a reference to the LocalDOMWindow
(which owns us) to |
| 1133 // prevent the Document from getting blown away from underneath them. | 1132 // prevent the Document from getting blown away from underneath them. |
| 1134 void dispatchWindowLoadEvent(); | 1133 void dispatchWindowLoadEvent(); |
| 1135 | 1134 |
| 1136 void addListenerType(ListenerType listenerType) { m_listenerTypes |= listene
rType; } | 1135 void addListenerType(ListenerType listenerType) { m_listenerTypes |= listene
rType; } |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1191 OwnPtrWillBeMember<DOMImplementation> m_implementation; | 1190 OwnPtrWillBeMember<DOMImplementation> m_implementation; |
| 1192 | 1191 |
| 1193 RefPtrWillBeMember<CSSStyleSheet> m_elemSheet; | 1192 RefPtrWillBeMember<CSSStyleSheet> m_elemSheet; |
| 1194 | 1193 |
| 1195 bool m_printing; | 1194 bool m_printing; |
| 1196 bool m_paginatedForScreen; | 1195 bool m_paginatedForScreen; |
| 1197 | 1196 |
| 1198 CompatibilityMode m_compatibilityMode; | 1197 CompatibilityMode m_compatibilityMode; |
| 1199 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. | 1198 bool m_compatibilityModeLocked; // This is cheaper than making setCompatibil
ityMode virtual. |
| 1200 | 1199 |
| 1201 CancellableTaskFactory m_executeScriptsWaitingForResourcesTask; | 1200 Timer<Document> m_executeScriptsWaitingForResourcesTimer; |
| 1202 | 1201 |
| 1203 bool m_hasAutofocused; | 1202 bool m_hasAutofocused; |
| 1204 Timer<Document> m_clearFocusedElementTimer; | 1203 Timer<Document> m_clearFocusedElementTimer; |
| 1205 RefPtrWillBeMember<Element> m_autofocusElement; | 1204 RefPtrWillBeMember<Element> m_autofocusElement; |
| 1206 RefPtrWillBeMember<Element> m_focusedElement; | 1205 RefPtrWillBeMember<Element> m_focusedElement; |
| 1207 RefPtrWillBeMember<Node> m_hoverNode; | 1206 RefPtrWillBeMember<Node> m_hoverNode; |
| 1208 RefPtrWillBeMember<Element> m_activeHoverElement; | 1207 RefPtrWillBeMember<Element> m_activeHoverElement; |
| 1209 RefPtrWillBeMember<Element> m_documentElement; | 1208 RefPtrWillBeMember<Element> m_documentElement; |
| 1210 UserActionElementSet m_userActionElements; | 1209 UserActionElementSet m_userActionElements; |
| 1211 | 1210 |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1432 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1431 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1433 | 1432 |
| 1434 } // namespace blink | 1433 } // namespace blink |
| 1435 | 1434 |
| 1436 #ifndef NDEBUG | 1435 #ifndef NDEBUG |
| 1437 // Outside the WebCore namespace for ease of invocation from gdb. | 1436 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1438 CORE_EXPORT void showLiveDocumentInstances(); | 1437 CORE_EXPORT void showLiveDocumentInstances(); |
| 1439 #endif | 1438 #endif |
| 1440 | 1439 |
| 1441 #endif // Document_h | 1440 #endif // Document_h |
| OLD | NEW |