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

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 30 matching lines...) Expand all
41 #include "core/inspector/ScriptDebugListener.h" 41 #include "core/inspector/ScriptDebugListener.h"
42 #include "wtf/Forward.h" 42 #include "wtf/Forward.h"
43 #include "wtf/HashMap.h" 43 #include "wtf/HashMap.h"
44 #include "wtf/PassRefPtr.h" 44 #include "wtf/PassRefPtr.h"
45 #include "wtf/Vector.h" 45 #include "wtf/Vector.h"
46 #include "wtf/text/StringHash.h" 46 #include "wtf/text/StringHash.h"
47 47
48 namespace WebCore { 48 namespace WebCore {
49 49
50 class Document; 50 class Document;
51 class Event;
51 class EventListener; 52 class EventListener;
52 class EventTarget; 53 class EventTarget;
53 class FormData; 54 class FormData;
54 class HTTPHeaderMap; 55 class HTTPHeaderMap;
55 class InjectedScriptManager; 56 class InjectedScriptManager;
56 class InspectorFrontend; 57 class InspectorFrontend;
57 class InstrumentingAgents; 58 class InstrumentingAgents;
58 class JavaScriptCallFrame; 59 class JavaScriptCallFrame;
59 class JSONObject; 60 class JSONObject;
60 class KURL; 61 class KURL;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 142
142 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data); 143 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data);
143 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot); 144 void didInstallTimer(ExecutionContext*, int timerId, int timeout, bool singl eShot);
144 void didRemoveTimer(ExecutionContext*, int timerId); 145 void didRemoveTimer(ExecutionContext*, int timerId);
145 bool willFireTimer(ExecutionContext*, int timerId); 146 bool willFireTimer(ExecutionContext*, int timerId);
146 void didFireTimer(); 147 void didFireTimer();
147 void didRequestAnimationFrame(Document*, int callbackId); 148 void didRequestAnimationFrame(Document*, int callbackId);
148 void didCancelAnimationFrame(Document*, int callbackId); 149 void didCancelAnimationFrame(Document*, int callbackId);
149 bool willFireAnimationFrame(Document*, int callbackId); 150 bool willFireAnimationFrame(Document*, int callbackId);
150 void didFireAnimationFrame(); 151 void didFireAnimationFrame();
151 void willHandleEvent(EventTarget*, const AtomicString& eventType, EventListe ner*, bool useCapture); 152 void didEnqueueEvent(EventTarget*, Event*);
153 void didDispatchEvent(EventTarget*, Event*);
154 void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture);
152 void didHandleEvent(); 155 void didHandleEvent();
153 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, FormData* body, const HTTPHeaderMap& headers , bool includeCrendentials); 156 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, FormData* body, const HTTPHeaderMap& headers , bool includeCrendentials);
154 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*); 157 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*);
155 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); 158 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*);
156 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); 159 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*);
157 void didDeliverMutationRecords(); 160 void didDeliverMutationRecords();
158 bool canBreakProgram(); 161 bool canBreakProgram();
159 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas sRefPtr<JSONObject> data); 162 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas sRefPtr<JSONObject> data);
160 void scriptExecutionBlockedByCSP(const String& directiveText); 163 void scriptExecutionBlockedByCSP(const String& directiveText);
161 164
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 int m_minFrameCountForSkip; 246 int m_minFrameCountForSkip;
244 bool m_skipAllPauses; 247 bool m_skipAllPauses;
245 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; 248 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp;
246 AsyncCallStackTracker m_asyncCallStackTracker; 249 AsyncCallStackTracker m_asyncCallStackTracker;
247 }; 250 };
248 251
249 } // namespace WebCore 252 } // namespace WebCore
250 253
251 254
252 #endif // !defined(InspectorDebuggerAgent_h) 255 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698