| 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 void addAsyncCallTrackingListener(AsyncCallTrackingListener*); | 191 void addAsyncCallTrackingListener(AsyncCallTrackingListener*); |
| 192 void removeAsyncCallTrackingListener(AsyncCallTrackingListener*); | 192 void removeAsyncCallTrackingListener(AsyncCallTrackingListener*); |
| 193 | 193 |
| 194 // PromiseTracker::Listener | 194 // PromiseTracker::Listener |
| 195 void didUpdatePromise(InspectorFrontend::Debugger::EventType::Enum, PassRefP
tr<TypeBuilder::Debugger::PromiseDetails>) final; | 195 void didUpdatePromise(InspectorFrontend::Debugger::EventType::Enum, PassRefP
tr<TypeBuilder::Debugger::PromiseDetails>) final; |
| 196 | 196 |
| 197 protected: | 197 protected: |
| 198 explicit InspectorDebuggerAgent(InjectedScriptManager*); | 198 explicit InspectorDebuggerAgent(InjectedScriptManager*); |
| 199 | 199 |
| 200 virtual void startListeningScriptDebugServer() = 0; | 200 virtual bool startListeningScriptDebugServer() = 0; |
| 201 virtual void stopListeningScriptDebugServer() = 0; | 201 virtual void stopListeningScriptDebugServer() = 0; |
| 202 virtual void muteConsole() = 0; | 202 virtual void muteConsole() = 0; |
| 203 virtual void unmuteConsole() = 0; | 203 virtual void unmuteConsole() = 0; |
| 204 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } | 204 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } |
| 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 bool 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*); | 215 bool checkEnabled(ErrorString*); |
| 216 | 216 |
| 217 SkipPauseRequest shouldSkipExceptionPause(); | 217 SkipPauseRequest shouldSkipExceptionPause(); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 int m_currentAsyncOperationId; | 305 int m_currentAsyncOperationId; |
| 306 bool m_pendingTraceAsyncOperationCompleted; | 306 bool m_pendingTraceAsyncOperationCompleted; |
| 307 bool m_startingStepIntoAsync; | 307 bool m_startingStepIntoAsync; |
| 308 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT
rackingListeners; | 308 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT
rackingListeners; |
| 309 }; | 309 }; |
| 310 | 310 |
| 311 } // namespace blink | 311 } // namespace blink |
| 312 | 312 |
| 313 | 313 |
| 314 #endif // InspectorDebuggerAgent_h | 314 #endif // InspectorDebuggerAgent_h |
| OLD | NEW |