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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 didEnqueueEvent(EventTarget*, Event*, const ScriptValue& callFrames); | 91 void didEnqueueEvent(EventTarget*, Event*, const ScriptValue& callFrames); |
92 void didDispatchEvent(EventTarget*, Event*); | 92 void didRemoveEvent(EventTarget*, Event*); |
93 void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture); | 93 void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture); |
94 void willLoadXHR(XMLHttpRequest*, const ScriptValue& callFrames); | 94 void willLoadXHR(XMLHttpRequest*, const ScriptValue& callFrames); |
95 | 95 |
96 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const Sc
riptValue& callFrames); | 96 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const Sc
riptValue& callFrames); |
97 bool hasEnqueuedMutationRecord(ExecutionContext*, MutationObserver*); | 97 bool hasEnqueuedMutationRecord(ExecutionContext*, MutationObserver*); |
98 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); | 98 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); |
99 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); | 99 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); |
100 | 100 |
101 void didFireAsyncCall(); | 101 void didFireAsyncCall(); |
102 void clear(); | 102 void clear(); |
(...skipping 13 matching lines...) Expand all Loading... |
116 unsigned m_maxAsyncCallStackDepth; | 116 unsigned m_maxAsyncCallStackDepth; |
117 RefPtr<AsyncCallChain> m_currentAsyncCallChain; | 117 RefPtr<AsyncCallChain> m_currentAsyncCallChain; |
118 unsigned m_nestedAsyncCallCount; | 118 unsigned m_nestedAsyncCallCount; |
119 typedef HashMap<ExecutionContext*, ExecutionContextData*> ExecutionContextDa
taMap; | 119 typedef HashMap<ExecutionContext*, ExecutionContextData*> ExecutionContextDa
taMap; |
120 ExecutionContextDataMap m_executionContextDataMap; | 120 ExecutionContextDataMap m_executionContextDataMap; |
121 }; | 121 }; |
122 | 122 |
123 } // namespace WebCore | 123 } // namespace WebCore |
124 | 124 |
125 #endif // !defined(AsyncCallStackTracker_h) | 125 #endif // !defined(AsyncCallStackTracker_h) |
OLD | NEW |