Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(803)

Unified Diff: Source/core/inspector/AsyncCallStackTracker.h

Issue 332493002: DevTools: Support async call stacks for scripted animation events (like scroll). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/events/EventTarget.cpp ('k') | Source/core/inspector/AsyncCallStackTracker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>);
« no previous file with comments | « Source/core/events/EventTarget.cpp ('k') | Source/core/inspector/AsyncCallStackTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698