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

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

Issue 404953003: DevTools: Async call stacks for window.postMessage() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 5 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, FormData* body, const HTTPHeaderMap& headers , bool includeCrendentials); 158 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin g& method, const KURL&, bool async, FormData* body, const HTTPHeaderMap& headers , bool includeCrendentials);
159 void didDispatchXHRLoadendEvent(XMLHttpRequest*); 159 void didDispatchXHRLoadendEvent(XMLHttpRequest*);
160 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*); 160 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*);
161 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); 161 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*);
162 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); 162 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*);
163 void didDeliverMutationRecords(); 163 void didDeliverMutationRecords();
164 void didPostExecutionContextTask(ExecutionContext*, ExecutionContextTask*); 164 void didPostExecutionContextTask(ExecutionContext*, ExecutionContextTask*);
165 void didKillAllExecutionContextTasks(ExecutionContext*); 165 void didKillAllExecutionContextTasks(ExecutionContext*);
166 void willPerformExecutionContextTask(ExecutionContext*, ExecutionContextTask *); 166 void willPerformExecutionContextTask(ExecutionContext*, ExecutionContextTask *);
167 void didPerformExecutionContextTask(); 167 void didPerformExecutionContextTask();
168 int traceAsyncOperationStarting(ExecutionContext*, const String& operationNa me);
169 void traceAsyncOperationCompleted(ExecutionContext*, int operationId);
170 void traceAsyncOperationCompletedCallbackStarting(ExecutionContext*, int ope rationId);
171 void traceAsyncCallbackStarting(ExecutionContext*, int operationId);
172 void traceAsyncCallbackCompleted();
168 bool canBreakProgram(); 173 bool canBreakProgram();
169 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas sRefPtr<JSONObject> data); 174 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas sRefPtr<JSONObject> data);
170 void scriptExecutionBlockedByCSP(const String& directiveText); 175 void scriptExecutionBlockedByCSP(const String& directiveText);
171 176
172 class Listener { 177 class Listener {
173 public: 178 public:
174 virtual ~Listener() { } 179 virtual ~Listener() { }
175 virtual void debuggerWasEnabled() = 0; 180 virtual void debuggerWasEnabled() = 0;
176 virtual void debuggerWasDisabled() = 0; 181 virtual void debuggerWasDisabled() = 0;
177 virtual void stepInto() = 0; 182 virtual void stepInto() = 0;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 int m_minFrameCountForSkip; 260 int m_minFrameCountForSkip;
256 bool m_skipAllPauses; 261 bool m_skipAllPauses;
257 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; 262 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp;
258 AsyncCallStackTracker m_asyncCallStackTracker; 263 AsyncCallStackTracker m_asyncCallStackTracker;
259 }; 264 };
260 265
261 } // namespace blink 266 } // namespace blink
262 267
263 268
264 #endif // !defined(InspectorDebuggerAgent_h) 269 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/CodeGeneratorInstrumentation.py ('k') | Source/core/inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698