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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 virtual void debuggerWasDisabled() = 0; | 124 virtual void debuggerWasDisabled() = 0; |
125 virtual void stepInto() = 0; | 125 virtual void stepInto() = 0; |
126 virtual void didPause() = 0; | 126 virtual void didPause() = 0; |
127 }; | 127 }; |
128 void setListener(Listener* listener) { m_listener = listener; } | 128 void setListener(Listener* listener) { m_listener = listener; } |
129 | 129 |
130 virtual ScriptDebugServer& scriptDebugServer() = 0; | 130 virtual ScriptDebugServer& scriptDebugServer() = 0; |
131 | 131 |
132 virtual void reportMemoryUsage(MemoryObjectInfo*) const; | 132 virtual void reportMemoryUsage(MemoryObjectInfo*) const; |
133 | 133 |
| 134 void setBreakpointInFrontend(const String& scriptId, int lineNumber, int col
umnNumber); |
| 135 |
134 protected: | 136 protected: |
135 InspectorDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, Injec
tedScriptManager*); | 137 InspectorDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, Injec
tedScriptManager*); |
136 | 138 |
137 virtual void startListeningScriptDebugServer() = 0; | 139 virtual void startListeningScriptDebugServer() = 0; |
138 virtual void stopListeningScriptDebugServer() = 0; | 140 virtual void stopListeningScriptDebugServer() = 0; |
139 virtual void muteConsole() = 0; | 141 virtual void muteConsole() = 0; |
140 virtual void unmuteConsole() = 0; | 142 virtual void unmuteConsole() = 0; |
141 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } | 143 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana
ger; } |
142 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut
ionContextId) = 0; | 144 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut
ionContextId) = 0; |
143 | 145 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 InspectorFrontend::Debugger::Reason::Enum m_breakReason; | 179 InspectorFrontend::Debugger::Reason::Enum m_breakReason; |
178 RefPtr<InspectorObject> m_breakAuxData; | 180 RefPtr<InspectorObject> m_breakAuxData; |
179 bool m_javaScriptPauseScheduled; | 181 bool m_javaScriptPauseScheduled; |
180 Listener* m_listener; | 182 Listener* m_listener; |
181 }; | 183 }; |
182 | 184 |
183 } // namespace WebCore | 185 } // namespace WebCore |
184 | 186 |
185 | 187 |
186 #endif // !defined(InspectorDebuggerAgent_h) | 188 #endif // !defined(InspectorDebuggerAgent_h) |
OLD | NEW |