Chromium Code Reviews| Index: Source/core/inspector/AsyncCallStackTracker.h |
| diff --git a/Source/core/inspector/AsyncCallStackTracker.h b/Source/core/inspector/AsyncCallStackTracker.h |
| index fa9c12e28fe3ff9abb44ec444f8b0616790fe420..2ab46c8d64955b507dd21adf67bb45c34849a1fa 100644 |
| --- a/Source/core/inspector/AsyncCallStackTracker.h |
| +++ b/Source/core/inspector/AsyncCallStackTracker.h |
| @@ -41,6 +41,7 @@ |
| namespace WebCore { |
| +class Event; |
| class EventListener; |
| class EventTarget; |
| class ExecutionContext; |
| @@ -87,7 +88,9 @@ public: |
| void didCancelAnimationFrame(ExecutionContext*, int callbackId); |
| void willFireAnimationFrame(ExecutionContext*, int callbackId); |
| - void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListener*, bool useCapture); |
| + void didEnqueueEvent(EventTarget*, Event*, const ScriptValue& callFrames); |
|
yurys
2014/06/16 11:52:15
Maybe call them did{Enqueue,Dispatch}AnimationEven
aandrey
2014/06/16 12:18:38
It will be reused for a few other events in next p
|
| + void didDispatchEvent(EventTarget*, Event*); |
| + void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture); |
| void willLoadXHR(XMLHttpRequest*, const ScriptValue& callFrames); |
| void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*, const ScriptValue& callFrames); |
| @@ -99,7 +102,7 @@ public: |
| void clear(); |
| private: |
| - void willHandleXHREvent(XMLHttpRequest*, EventTarget*, const AtomicString& eventType); |
| + void willHandleXHREvent(XMLHttpRequest*, EventTarget*, Event*); |
| PassRefPtr<AsyncCallChain> createAsyncCallChain(const String& description, const ScriptValue& callFrames); |
| void setCurrentAsyncCallChain(PassRefPtr<AsyncCallChain>); |