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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 190 |
191 virtual void startListeningScriptDebugServer() = 0; | 191 virtual void startListeningScriptDebugServer() = 0; |
192 virtual void stopListeningScriptDebugServer() = 0; | 192 virtual void stopListeningScriptDebugServer() = 0; |
193 virtual void muteConsole() = 0; | 193 virtual void muteConsole() = 0; |
194 virtual void unmuteConsole() = 0; | 194 virtual void unmuteConsole() = 0; |
195 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } | 195 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } |
196 virtual InjectedScript& injectedScriptForEval(ErrorString*, const int* execu
tionContextId) = 0; | 196 virtual InjectedScript& injectedScriptForEval(ErrorString*, const int* execu
tionContextId) = 0; |
197 | 197 |
198 virtual void enable(); | 198 virtual void enable(); |
199 virtual void disable(); | 199 virtual void disable(); |
200 virtual SkipPauseRequest didPause(ScriptState*, const StackTrace& callFrames
, const ScriptValue& exception, const Vector<String>& hitBreakpoints) OVERRIDE F
INAL; | 200 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& exception
, const Vector<String>& hitBreakpoints) OVERRIDE FINAL; |
201 virtual void didContinue() OVERRIDE FINAL; | 201 virtual void didContinue() OVERRIDE FINAL; |
202 void reset(); | 202 void reset(); |
203 void pageDidCommitLoad(); | 203 void pageDidCommitLoad(); |
204 | 204 |
205 private: | 205 private: |
206 SkipPauseRequest shouldSkipExceptionPause(); | 206 SkipPauseRequest shouldSkipExceptionPause(); |
207 SkipPauseRequest shouldSkipStepPause(); | 207 SkipPauseRequest shouldSkipStepPause(); |
208 | 208 |
209 void cancelPauseOnNextStatement(); | 209 void cancelPauseOnNextStatement(); |
210 void addMessageToConsole(MessageSource, MessageType); | 210 void addMessageToConsole(MessageSource, MessageType); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 int m_minFrameCountForSkip; | 250 int m_minFrameCountForSkip; |
251 bool m_skipAllPauses; | 251 bool m_skipAllPauses; |
252 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; | 252 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; |
253 AsyncCallStackTracker m_asyncCallStackTracker; | 253 AsyncCallStackTracker m_asyncCallStackTracker; |
254 }; | 254 }; |
255 | 255 |
256 } // namespace WebCore | 256 } // namespace WebCore |
257 | 257 |
258 | 258 |
259 #endif // !defined(InspectorDebuggerAgent_h) | 259 #endif // !defined(InspectorDebuggerAgent_h) |
OLD | NEW |