| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut
ionContextId) = 0; | 205 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut
ionContextId) = 0; |
| 206 | 206 |
| 207 virtual void enable(); | 207 virtual void enable(); |
| 208 virtual void disable(); | 208 virtual void disable(); |
| 209 SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrames, const
ScriptValue& exception, const Vector<String>& hitBreakpoints, bool isPromiseRej
ection) final; | 209 SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrames, const
ScriptValue& exception, const Vector<String>& hitBreakpoints, bool isPromiseRej
ection) final; |
| 210 void didContinue() final; | 210 void didContinue() final; |
| 211 void reset(); | 211 void reset(); |
| 212 void resetModifiedSources(); | 212 void resetModifiedSources(); |
| 213 | 213 |
| 214 private: | 214 private: |
| 215 bool checkEnabled(ErrorString*); | |
| 216 | |
| 217 SkipPauseRequest shouldSkipExceptionPause(); | 215 SkipPauseRequest shouldSkipExceptionPause(); |
| 218 SkipPauseRequest shouldSkipStepPause(); | 216 SkipPauseRequest shouldSkipStepPause(); |
| 219 | 217 |
| 220 void schedulePauseOnNextStatementIfSteppingInto(); | 218 void schedulePauseOnNextStatementIfSteppingInto(); |
| 221 void cancelPauseOnNextStatement(); | 219 void cancelPauseOnNextStatement(); |
| 222 void addMessageToConsole(MessageSource, MessageType); | 220 void addMessageToConsole(MessageSource, MessageType); |
| 223 | 221 |
| 224 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal
lFrames(); | 222 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal
lFrames(); |
| 225 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); | 223 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); |
| 226 | 224 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 int m_currentAsyncOperationId; | 303 int m_currentAsyncOperationId; |
| 306 bool m_pendingTraceAsyncOperationCompleted; | 304 bool m_pendingTraceAsyncOperationCompleted; |
| 307 bool m_startingStepIntoAsync; | 305 bool m_startingStepIntoAsync; |
| 308 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT
rackingListeners; | 306 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT
rackingListeners; |
| 309 }; | 307 }; |
| 310 | 308 |
| 311 } // namespace blink | 309 } // namespace blink |
| 312 | 310 |
| 313 | 311 |
| 314 #endif // InspectorDebuggerAgent_h | 312 #endif // InspectorDebuggerAgent_h |
| OLD | NEW |