| 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 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 void decrementLoadEventDelayCount(); | 903 void decrementLoadEventDelayCount(); |
| 904 void checkLoadEventSoon(); | 904 void checkLoadEventSoon(); |
| 905 bool isDelayingLoadEvent(); | 905 bool isDelayingLoadEvent(); |
| 906 void loadPluginsSoon(); | 906 void loadPluginsSoon(); |
| 907 | 907 |
| 908 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; | 908 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; |
| 909 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil
lBeMember<Touch>>&) const; | 909 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil
lBeMember<Touch>>&) const; |
| 910 | 910 |
| 911 const DocumentTiming& timing() const { return m_documentTiming; } | 911 const DocumentTiming& timing() const { return m_documentTiming; } |
| 912 | 912 |
| 913 bool shouldProcessFrameLifecycle(); | |
| 914 | |
| 915 int requestAnimationFrame(FrameRequestCallback*); | 913 int requestAnimationFrame(FrameRequestCallback*); |
| 916 void cancelAnimationFrame(int id); | 914 void cancelAnimationFrame(int id); |
| 917 void serviceScriptedAnimations(double monotonicAnimationStartTime); | 915 void serviceScriptedAnimations(double monotonicAnimationStartTime); |
| 918 | 916 |
| 919 int requestIdleCallback(IdleRequestCallback*, double timeoutMillis); | 917 int requestIdleCallback(IdleRequestCallback*, double timeoutMillis); |
| 920 void cancelIdleCallback(int id); | 918 void cancelIdleCallback(int id); |
| 921 | 919 |
| 922 EventTarget* errorEventTarget() final; | 920 EventTarget* errorEventTarget() final; |
| 923 void logExceptionToConsole(const String& errorMessage, int scriptId, const S
tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip
tCallStack>) final; | 921 void logExceptionToConsole(const String& errorMessage, int scriptId, const S
tring& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<Scrip
tCallStack>) final; |
| 924 | 922 |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1145 | 1143 |
| 1146 using EventFactorySet = HashSet<OwnPtr<EventFactoryBase>>; | 1144 using EventFactorySet = HashSet<OwnPtr<EventFactoryBase>>; |
| 1147 static EventFactorySet& eventFactories(); | 1145 static EventFactorySet& eventFactories(); |
| 1148 | 1146 |
| 1149 void setNthIndexCache(NthIndexCache* nthIndexCache) { ASSERT(!m_nthIndexCach
e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } | 1147 void setNthIndexCache(NthIndexCache* nthIndexCache) { ASSERT(!m_nthIndexCach
e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } |
| 1150 | 1148 |
| 1151 DocumentLifecycle m_lifecycle; | 1149 DocumentLifecycle m_lifecycle; |
| 1152 | 1150 |
| 1153 bool m_hasNodesWithPlaceholderStyle; | 1151 bool m_hasNodesWithPlaceholderStyle; |
| 1154 bool m_evaluateMediaQueriesOnStyleRecalc; | 1152 bool m_evaluateMediaQueriesOnStyleRecalc; |
| 1155 bool m_shouldProcessFrameLifecycle; | |
| 1156 | 1153 |
| 1157 // If we do ignore the pending stylesheet count, then we need to add a boole
an | 1154 // If we do ignore the pending stylesheet count, then we need to add a boole
an |
| 1158 // to track that this happened so that we can do a full repaint when the sty
lesheets | 1155 // to track that this happened so that we can do a full repaint when the sty
lesheets |
| 1159 // do eventually load. | 1156 // do eventually load. |
| 1160 PendingSheetLayout m_pendingSheetLayout; | 1157 PendingSheetLayout m_pendingSheetLayout; |
| 1161 | 1158 |
| 1162 RawPtrWillBeMember<LocalFrame> m_frame; | 1159 RawPtrWillBeMember<LocalFrame> m_frame; |
| 1163 RawPtrWillBeMember<LocalDOMWindow> m_domWindow; | 1160 RawPtrWillBeMember<LocalDOMWindow> m_domWindow; |
| 1164 // FIXME: oilpan: when we get rid of the transition types change the | 1161 // FIXME: oilpan: when we get rid of the transition types change the |
| 1165 // HTMLImportsController to not be a DocumentSupplement since it is | 1162 // HTMLImportsController to not be a DocumentSupplement since it is |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1427 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1431 | 1428 |
| 1432 } // namespace blink | 1429 } // namespace blink |
| 1433 | 1430 |
| 1434 #ifndef NDEBUG | 1431 #ifndef NDEBUG |
| 1435 // Outside the WebCore namespace for ease of invocation from gdb. | 1432 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1436 CORE_EXPORT void showLiveDocumentInstances(); | 1433 CORE_EXPORT void showLiveDocumentInstances(); |
| 1437 #endif | 1434 #endif |
| 1438 | 1435 |
| 1439 #endif // Document_h | 1436 #endif // Document_h |
| OLD | NEW |