| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 protected: | 138 protected: |
| 139 InspectorDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, Injec
tedScriptManager*); | 139 InspectorDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, Injec
tedScriptManager*); |
| 140 | 140 |
| 141 virtual void startListeningScriptDebugServer() = 0; | 141 virtual void startListeningScriptDebugServer() = 0; |
| 142 virtual void stopListeningScriptDebugServer() = 0; | 142 virtual void stopListeningScriptDebugServer() = 0; |
| 143 virtual void muteConsole() = 0; | 143 virtual void muteConsole() = 0; |
| 144 virtual void unmuteConsole() = 0; | 144 virtual void unmuteConsole() = 0; |
| 145 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } | 145 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } |
| 146 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut
ionContextId) = 0; | 146 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut
ionContextId) = 0; |
| 147 virtual void addConsoleMessage(MessageSource, MessageLevel, const String& me
ssage, const String& sourceURL) = 0; |
| 147 | 148 |
| 148 virtual void enable(); | 149 virtual void enable(); |
| 149 virtual void disable(); | 150 virtual void disable(); |
| 150 virtual void didPause(ScriptState*, const ScriptValue& callFrames, const Scr
iptValue& exception); | 151 virtual void didPause(ScriptState*, const ScriptValue& callFrames, const Scr
iptValue& exception); |
| 151 virtual void didContinue(); | 152 virtual void didContinue(); |
| 152 void reset(); | 153 void reset(); |
| 153 | 154 |
| 154 private: | 155 private: |
| 155 void cancelPauseOnNextStatement(); | 156 void cancelPauseOnNextStatement(); |
| 156 void addMessageToConsole(MessageSource, MessageType); | 157 void addMessageToConsole(MessageSource, MessageType); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 184 InspectorFrontend::Debugger::Reason::Enum m_breakReason; | 185 InspectorFrontend::Debugger::Reason::Enum m_breakReason; |
| 185 RefPtr<InspectorObject> m_breakAuxData; | 186 RefPtr<InspectorObject> m_breakAuxData; |
| 186 bool m_javaScriptPauseScheduled; | 187 bool m_javaScriptPauseScheduled; |
| 187 Listener* m_listener; | 188 Listener* m_listener; |
| 188 }; | 189 }; |
| 189 | 190 |
| 190 } // namespace WebCore | 191 } // namespace WebCore |
| 191 | 192 |
| 192 | 193 |
| 193 #endif // !defined(InspectorDebuggerAgent_h) | 194 #endif // !defined(InspectorDebuggerAgent_h) |
| OLD | NEW |