| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 const AsyncCallChain* currentAsyncCallChain() const; | 81 const AsyncCallChain* currentAsyncCallChain() const; |
| 82 | 82 |
| 83 void didInstallTimer(ExecutionContext*, int timerId, bool singleShot, const
ScriptValue& callFrames); | 83 void didInstallTimer(ExecutionContext*, int timerId, bool singleShot, const
ScriptValue& callFrames); |
| 84 void didRemoveTimer(ExecutionContext*, int timerId); | 84 void didRemoveTimer(ExecutionContext*, int timerId); |
| 85 void willFireTimer(ExecutionContext*, int timerId); | 85 void willFireTimer(ExecutionContext*, int timerId); |
| 86 | 86 |
| 87 void didRequestAnimationFrame(ExecutionContext*, int callbackId, const Scrip
tValue& callFrames); | 87 void didRequestAnimationFrame(ExecutionContext*, int callbackId, const Scrip
tValue& callFrames); |
| 88 void didCancelAnimationFrame(ExecutionContext*, int callbackId); | 88 void didCancelAnimationFrame(ExecutionContext*, int callbackId); |
| 89 void willFireAnimationFrame(ExecutionContext*, int callbackId); | 89 void willFireAnimationFrame(ExecutionContext*, int callbackId); |
| 90 | 90 |
| 91 void didAddEventListener(EventTarget*, const AtomicString& eventType, EventL
istener*, bool useCapture, const ScriptValue& callFrames); | |
| 92 void didRemoveEventListener(EventTarget*, const AtomicString& eventType, Eve
ntListener*, bool useCapture); | |
| 93 void didRemoveAllEventListeners(EventTarget*); | |
| 94 void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListe
ner*, bool useCapture); | 91 void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListe
ner*, bool useCapture); |
| 95 | |
| 96 void willLoadXHR(XMLHttpRequest*, const ScriptValue& callFrames); | 92 void willLoadXHR(XMLHttpRequest*, const ScriptValue& callFrames); |
| 97 | 93 |
| 98 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const Sc
riptValue& callFrames); | 94 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const Sc
riptValue& callFrames); |
| 99 bool hasEnqueuedMutationRecord(ExecutionContext*, MutationObserver*); | 95 bool hasEnqueuedMutationRecord(ExecutionContext*, MutationObserver*); |
| 100 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); | 96 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); |
| 101 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); | 97 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); |
| 102 | 98 |
| 103 void didPostPromiseTask(ExecutionContext*, ExecutionContextTask*, bool isRes
olved, const ScriptValue& callFrames); | 99 void didPostPromiseTask(ExecutionContext*, ExecutionContextTask*, bool isRes
olved, const ScriptValue& callFrames); |
| 104 void willPerformPromiseTask(ExecutionContext*, ExecutionContextTask*); | 100 void willPerformPromiseTask(ExecutionContext*, ExecutionContextTask*); |
| 105 | 101 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 121 unsigned m_maxAsyncCallStackDepth; | 117 unsigned m_maxAsyncCallStackDepth; |
| 122 RefPtr<AsyncCallChain> m_currentAsyncCallChain; | 118 RefPtr<AsyncCallChain> m_currentAsyncCallChain; |
| 123 unsigned m_nestedAsyncCallCount; | 119 unsigned m_nestedAsyncCallCount; |
| 124 typedef HashMap<ExecutionContext*, ExecutionContextData*> ExecutionContextDa
taMap; | 120 typedef HashMap<ExecutionContext*, ExecutionContextData*> ExecutionContextDa
taMap; |
| 125 ExecutionContextDataMap m_executionContextDataMap; | 121 ExecutionContextDataMap m_executionContextDataMap; |
| 126 }; | 122 }; |
| 127 | 123 |
| 128 } // namespace WebCore | 124 } // namespace WebCore |
| 129 | 125 |
| 130 #endif // !defined(AsyncCallStackTracker_h) | 126 #endif // !defined(AsyncCallStackTracker_h) |
| OLD | NEW |