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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 void decrementLoadEventDelayCount(); | 901 void decrementLoadEventDelayCount(); |
902 void checkLoadEventSoon(); | 902 void checkLoadEventSoon(); |
903 bool isDelayingLoadEvent(); | 903 bool isDelayingLoadEvent(); |
904 void loadPluginsSoon(); | 904 void loadPluginsSoon(); |
905 | 905 |
906 PassRefPtrWillBeRawPtr<Touch> createTouch(DOMWindow*, EventTarget*, int iden
tifier, double pageX, double pageY, double screenX, double screenY, double radiu
sX, double radiusY, float rotationAngle, float force) const; | 906 PassRefPtrWillBeRawPtr<Touch> createTouch(DOMWindow*, EventTarget*, int iden
tifier, double pageX, double pageY, double screenX, double screenY, double radiu
sX, double radiusY, float rotationAngle, float force) const; |
907 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil
lBeMember<Touch>>&) const; | 907 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil
lBeMember<Touch>>&) const; |
908 | 908 |
909 const DocumentTiming& timing() const { return m_documentTiming; } | 909 const DocumentTiming& timing() const { return m_documentTiming; } |
910 | 910 |
| 911 bool shouldProcessFrameLifecycle(); |
| 912 |
911 int requestAnimationFrame(FrameRequestCallback*); | 913 int requestAnimationFrame(FrameRequestCallback*); |
912 void cancelAnimationFrame(int id); | 914 void cancelAnimationFrame(int id); |
913 void serviceScriptedAnimations(double monotonicAnimationStartTime); | 915 void serviceScriptedAnimations(double monotonicAnimationStartTime); |
914 | 916 |
915 EventTarget* errorEventTarget() final; | 917 EventTarget* errorEventTarget() final; |
916 void logExceptionToConsole(const String& errorMessage, int scriptId, const S
tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip
tCallStack>) final; | 918 void logExceptionToConsole(const String& errorMessage, int scriptId, const S
tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip
tCallStack>) final; |
917 | 919 |
918 void initDNSPrefetch(); | 920 void initDNSPrefetch(); |
919 | 921 |
920 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; } | 922 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; } |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1137 | 1139 |
1138 using EventFactorySet = HashSet<OwnPtr<EventFactoryBase>>; | 1140 using EventFactorySet = HashSet<OwnPtr<EventFactoryBase>>; |
1139 static EventFactorySet& eventFactories(); | 1141 static EventFactorySet& eventFactories(); |
1140 | 1142 |
1141 void setNthIndexCache(NthIndexCache* nthIndexCache) { ASSERT(!m_nthIndexCach
e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } | 1143 void setNthIndexCache(NthIndexCache* nthIndexCache) { ASSERT(!m_nthIndexCach
e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } |
1142 | 1144 |
1143 DocumentLifecycle m_lifecycle; | 1145 DocumentLifecycle m_lifecycle; |
1144 | 1146 |
1145 bool m_hasNodesWithPlaceholderStyle; | 1147 bool m_hasNodesWithPlaceholderStyle; |
1146 bool m_evaluateMediaQueriesOnStyleRecalc; | 1148 bool m_evaluateMediaQueriesOnStyleRecalc; |
| 1149 bool m_shouldProcessFrameLifecycle; |
1147 | 1150 |
1148 // If we do ignore the pending stylesheet count, then we need to add a boole
an | 1151 // If we do ignore the pending stylesheet count, then we need to add a boole
an |
1149 // to track that this happened so that we can do a full repaint when the sty
lesheets | 1152 // to track that this happened so that we can do a full repaint when the sty
lesheets |
1150 // do eventually load. | 1153 // do eventually load. |
1151 PendingSheetLayout m_pendingSheetLayout; | 1154 PendingSheetLayout m_pendingSheetLayout; |
1152 | 1155 |
1153 RawPtrWillBeMember<LocalFrame> m_frame; | 1156 RawPtrWillBeMember<LocalFrame> m_frame; |
1154 RawPtrWillBeMember<LocalDOMWindow> m_domWindow; | 1157 RawPtrWillBeMember<LocalDOMWindow> m_domWindow; |
1155 // FIXME: oilpan: when we get rid of the transition types change the | 1158 // FIXME: oilpan: when we get rid of the transition types change the |
1156 // HTMLImportsController to not be a DocumentSupplement since it is | 1159 // HTMLImportsController to not be a DocumentSupplement since it is |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1420 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1423 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1421 | 1424 |
1422 } // namespace blink | 1425 } // namespace blink |
1423 | 1426 |
1424 #ifndef NDEBUG | 1427 #ifndef NDEBUG |
1425 // Outside the WebCore namespace for ease of invocation from gdb. | 1428 // Outside the WebCore namespace for ease of invocation from gdb. |
1426 CORE_EXPORT void showLiveDocumentInstances(); | 1429 CORE_EXPORT void showLiveDocumentInstances(); |
1427 #endif | 1430 #endif |
1428 | 1431 |
1429 #endif // Document_h | 1432 #endif // Document_h |
OLD | NEW |