OLD | NEW |
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 29 matching lines...) Expand all Loading... |
40 #include "core/inspector/ScriptBreakpoint.h" | 40 #include "core/inspector/ScriptBreakpoint.h" |
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 AsyncFileSystemCallbacks; |
50 class Document; | 51 class Document; |
51 class Event; | 52 class Event; |
52 class EventListener; | 53 class EventListener; |
53 class EventTarget; | 54 class EventTarget; |
54 class ExecutionContextTask; | 55 class ExecutionContextTask; |
55 class FormData; | 56 class FormData; |
56 class HTTPHeaderMap; | 57 class HTTPHeaderMap; |
57 class InjectedScriptManager; | 58 class InjectedScriptManager; |
58 class InspectorFrontend; | 59 class InspectorFrontend; |
59 class InstrumentingAgents; | 60 class InstrumentingAgents; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 void didHandleEvent(); | 158 void didHandleEvent(); |
158 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin
g& method, const KURL&, bool async, FormData* body, const HTTPHeaderMap& headers
, bool includeCrendentials); | 159 void willLoadXHR(XMLHttpRequest*, ThreadableLoaderClient*, const AtomicStrin
g& method, const KURL&, bool async, FormData* body, const HTTPHeaderMap& headers
, bool includeCrendentials); |
159 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*); | 160 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*); |
160 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); | 161 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); |
161 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); | 162 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); |
162 void didDeliverMutationRecords(); | 163 void didDeliverMutationRecords(); |
163 void didPostExecutionContextTask(ExecutionContext*, ExecutionContextTask*); | 164 void didPostExecutionContextTask(ExecutionContext*, ExecutionContextTask*); |
164 void didKillAllExecutionContextTasks(ExecutionContext*); | 165 void didKillAllExecutionContextTasks(ExecutionContext*); |
165 void willPerformExecutionContextTask(ExecutionContext*, ExecutionContextTask
*); | 166 void willPerformExecutionContextTask(ExecutionContext*, ExecutionContextTask
*); |
166 void didPerformExecutionContextTask(); | 167 void didPerformExecutionContextTask(); |
| 168 void didEnqueueAsyncFileSystemCallback(ExecutionContext*, AsyncFileSystemCal
lbacks*); |
| 169 void didRemoveAsyncFileSystemCallback(ExecutionContext*, AsyncFileSystemCall
backs*); |
| 170 void willHandleAsyncFileSystemCallback(ExecutionContext*, AsyncFileSystemCal
lbacks*, bool willReschedule, bool hasMore); |
| 171 void didHandleAsyncFileSystemCallback(ExecutionContext*, AsyncFileSystemCall
backs*, bool didReschedule); |
167 bool canBreakProgram(); | 172 bool canBreakProgram(); |
168 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas
sRefPtr<JSONObject> data); | 173 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas
sRefPtr<JSONObject> data); |
169 void scriptExecutionBlockedByCSP(const String& directiveText); | 174 void scriptExecutionBlockedByCSP(const String& directiveText); |
170 | 175 |
171 class Listener { | 176 class Listener { |
172 public: | 177 public: |
173 virtual ~Listener() { } | 178 virtual ~Listener() { } |
174 virtual void debuggerWasEnabled() = 0; | 179 virtual void debuggerWasEnabled() = 0; |
175 virtual void debuggerWasDisabled() = 0; | 180 virtual void debuggerWasDisabled() = 0; |
176 virtual void stepInto() = 0; | 181 virtual void stepInto() = 0; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 WebCore | 266 } // namespace WebCore |
262 | 267 |
263 | 268 |
264 #endif // !defined(InspectorDebuggerAgent_h) | 269 #endif // !defined(InspectorDebuggerAgent_h) |
OLD | NEW |