| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 void removeAsyncCallTrackingListener(AsyncCallTrackingListener*); | 193 void removeAsyncCallTrackingListener(AsyncCallTrackingListener*); |
| 194 | 194 |
| 195 // PromiseTracker::Listener | 195 // PromiseTracker::Listener |
| 196 void didUpdatePromise(InspectorFrontend::Debugger::EventType::Enum, PassRefP
tr<TypeBuilder::Debugger::PromiseDetails>) final; | 196 void didUpdatePromise(InspectorFrontend::Debugger::EventType::Enum, PassRefP
tr<TypeBuilder::Debugger::PromiseDetails>) final; |
| 197 | 197 |
| 198 // If behavior is broken, check to make sure we call this agent whenever we | 198 // If behavior is broken, check to make sure we call this agent whenever we |
| 199 // call v8DebuggerAgent. Correct code flow is to call the dartAgent and if | 199 // call v8DebuggerAgent. Correct code flow is to call the dartAgent and if |
| 200 // it returns a value, don't call the v8Agent. The v8Agent has no idea the | 200 // it returns a value, don't call the v8Agent. The v8Agent has no idea the |
| 201 // dartAgent exists but the dartAgent was built with the knowledge that | 201 // dartAgent exists but the dartAgent was built with the knowledge that |
| 202 // there could be other agents around. | 202 // there could be other agents around. |
| 203 DartInspectorDebuggerAgent* dartAgent() { return 0; } | 203 virtual DartInspectorDebuggerAgent* dartAgent() { return 0; } |
| 204 | 204 |
| 205 protected: | 205 protected: |
| 206 InspectorDebuggerAgent(InjectedScriptManager*, v8::Isolate*); | 206 InspectorDebuggerAgent(InjectedScriptManager*, v8::Isolate*); |
| 207 | 207 |
| 208 virtual void startListeningV8Debugger() = 0; | 208 virtual void startListeningV8Debugger() = 0; |
| 209 virtual void stopListeningV8Debugger() = 0; | 209 virtual void stopListeningV8Debugger() = 0; |
| 210 virtual void muteConsole() = 0; | 210 virtual void muteConsole() = 0; |
| 211 virtual void unmuteConsole() = 0; | 211 virtual void unmuteConsole() = 0; |
| 212 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } | 212 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } |
| 213 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut
ionContextId) = 0; | 213 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut
ionContextId) = 0; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 int m_currentAsyncOperationId; | 315 int m_currentAsyncOperationId; |
| 316 bool m_pendingTraceAsyncOperationCompleted; | 316 bool m_pendingTraceAsyncOperationCompleted; |
| 317 bool m_startingStepIntoAsync; | 317 bool m_startingStepIntoAsync; |
| 318 V8GlobalValueMap<String, v8::Script, v8::kNotWeak> m_compiledScripts; | 318 V8GlobalValueMap<String, v8::Script, v8::kNotWeak> m_compiledScripts; |
| 319 }; | 319 }; |
| 320 | 320 |
| 321 } // namespace blink | 321 } // namespace blink |
| 322 | 322 |
| 323 | 323 |
| 324 #endif // InspectorDebuggerAgent_h | 324 #endif // InspectorDebuggerAgent_h |
| OLD | NEW |