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

Side by Side Diff: Source/core/inspector/AsyncCallStackTracker.h

Issue 309453003: Merge 174627 "DevTools: Remove async call stacks support for Eve..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1985/
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/events/EventTarget.cpp ('k') | Source/core/inspector/AsyncCallStackTracker.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« 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