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; | |
51 class Document; | 50 class Document; |
52 class Event; | 51 class Event; |
53 class EventListener; | 52 class EventListener; |
54 class EventTarget; | 53 class EventTarget; |
55 class ExecutionContextTask; | 54 class ExecutionContextTask; |
56 class FormData; | 55 class FormData; |
57 class HTTPHeaderMap; | 56 class HTTPHeaderMap; |
58 class InjectedScriptManager; | 57 class InjectedScriptManager; |
59 class InspectorFrontend; | 58 class InspectorFrontend; |
60 class InstrumentingAgents; | 59 class InstrumentingAgents; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 void didHandleEvent(); | 157 void didHandleEvent(); |
159 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); |
160 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*); | 159 void didEnqueueMutationRecord(ExecutionContext*, MutationObserver*); |
161 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); | 160 void didClearAllMutationRecords(ExecutionContext*, MutationObserver*); |
162 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); | 161 void willDeliverMutationRecords(ExecutionContext*, MutationObserver*); |
163 void didDeliverMutationRecords(); | 162 void didDeliverMutationRecords(); |
164 void didPostExecutionContextTask(ExecutionContext*, ExecutionContextTask*); | 163 void didPostExecutionContextTask(ExecutionContext*, ExecutionContextTask*); |
165 void didKillAllExecutionContextTasks(ExecutionContext*); | 164 void didKillAllExecutionContextTasks(ExecutionContext*); |
166 void willPerformExecutionContextTask(ExecutionContext*, ExecutionContextTask
*); | 165 void willPerformExecutionContextTask(ExecutionContext*, ExecutionContextTask
*); |
167 void didPerformExecutionContextTask(); | 166 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); | |
172 bool canBreakProgram(); | 167 bool canBreakProgram(); |
173 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas
sRefPtr<JSONObject> data); | 168 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas
sRefPtr<JSONObject> data); |
174 void scriptExecutionBlockedByCSP(const String& directiveText); | 169 void scriptExecutionBlockedByCSP(const String& directiveText); |
175 | 170 |
176 class Listener { | 171 class Listener { |
177 public: | 172 public: |
178 virtual ~Listener() { } | 173 virtual ~Listener() { } |
179 virtual void debuggerWasEnabled() = 0; | 174 virtual void debuggerWasEnabled() = 0; |
180 virtual void debuggerWasDisabled() = 0; | 175 virtual void debuggerWasDisabled() = 0; |
181 virtual void stepInto() = 0; | 176 virtual void stepInto() = 0; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 int m_minFrameCountForSkip; | 255 int m_minFrameCountForSkip; |
261 bool m_skipAllPauses; | 256 bool m_skipAllPauses; |
262 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; | 257 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; |
263 AsyncCallStackTracker m_asyncCallStackTracker; | 258 AsyncCallStackTracker m_asyncCallStackTracker; |
264 }; | 259 }; |
265 | 260 |
266 } // namespace WebCore | 261 } // namespace WebCore |
267 | 262 |
268 | 263 |
269 #endif // !defined(InspectorDebuggerAgent_h) | 264 #endif // !defined(InspectorDebuggerAgent_h) |
OLD | NEW |