| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 const AsyncCallChain* currentAsyncCallChain() const; | 80 const AsyncCallChain* currentAsyncCallChain() const; |
| 81 | 81 |
| 82 void didInstallTimer(ExecutionContext*, int timerId, bool singleShot, const
ScriptValue& callFrames); | 82 void didInstallTimer(ExecutionContext*, int timerId, bool singleShot, const
ScriptValue& callFrames); |
| 83 void didRemoveTimer(ExecutionContext*, int timerId); | 83 void didRemoveTimer(ExecutionContext*, int timerId); |
| 84 void willFireTimer(ExecutionContext*, int timerId); | 84 void willFireTimer(ExecutionContext*, int timerId); |
| 85 | 85 |
| 86 void didRequestAnimationFrame(ExecutionContext*, int callbackId, const Scrip
tValue& callFrames); | 86 void didRequestAnimationFrame(ExecutionContext*, int callbackId, const Scrip
tValue& callFrames); |
| 87 void didCancelAnimationFrame(ExecutionContext*, int callbackId); | 87 void didCancelAnimationFrame(ExecutionContext*, int callbackId); |
| 88 void willFireAnimationFrame(ExecutionContext*, int callbackId); | 88 void willFireAnimationFrame(ExecutionContext*, int callbackId); |
| 89 | 89 |
| 90 void didAddEventListener(EventTarget*, const AtomicString& eventType, EventL
istener*, bool useCapture, const ScriptValue& callFrames); | |
| 91 void didRemoveEventListener(EventTarget*, const AtomicString& eventType, Eve
ntListener*, bool useCapture); | |
| 92 void didRemoveAllEventListeners(EventTarget*); | |
| 93 void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListe
ner*, bool useCapture); | 90 void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListe
ner*, bool useCapture); |
| 94 | |
| 95 void willLoadXHR(XMLHttpRequest*, const ScriptValue& callFrames); | 91 void willLoadXHR(XMLHttpRequest*, const ScriptValue& callFrames); |
| 96 | 92 |
| 97 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const Sc
riptValue& callFrames); | 93 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const Sc
riptValue& callFrames); |
| 98 bool hasEnqueuedMutationRecord(ExecutionContext*, MutationObserver*); | 94 bool hasEnqueuedMutationRecord(ExecutionContext*, MutationObserver*); |
| 99 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); | 95 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); |
| 100 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); | 96 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); |
| 101 | 97 |
| 102 void didFireAsyncCall(); | 98 void didFireAsyncCall(); |
| 103 void clear(); | 99 void clear(); |
| 104 | 100 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 117 unsigned m_maxAsyncCallStackDepth; | 113 unsigned m_maxAsyncCallStackDepth; |
| 118 RefPtr<AsyncCallChain> m_currentAsyncCallChain; | 114 RefPtr<AsyncCallChain> m_currentAsyncCallChain; |
| 119 unsigned m_nestedAsyncCallCount; | 115 unsigned m_nestedAsyncCallCount; |
| 120 typedef HashMap<ExecutionContext*, ExecutionContextData*> ExecutionContextDa
taMap; | 116 typedef HashMap<ExecutionContext*, ExecutionContextData*> ExecutionContextDa
taMap; |
| 121 ExecutionContextDataMap m_executionContextDataMap; | 117 ExecutionContextDataMap m_executionContextDataMap; |
| 122 }; | 118 }; |
| 123 | 119 |
| 124 } // namespace WebCore | 120 } // namespace WebCore |
| 125 | 121 |
| 126 #endif // !defined(AsyncCallStackTracker_h) | 122 #endif // !defined(AsyncCallStackTracker_h) |
| OLD | NEW |