OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
4 * Copyright (C) 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2010 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 if (m_domStorageAgent) | 139 if (m_domStorageAgent) |
140 return m_domStorageAgent->storageId(storage); | 140 return m_domStorageAgent->storageId(storage); |
141 return String(); | 141 return String(); |
142 } | 142 } |
143 | 143 |
144 ScriptDebugServer& InjectedScriptHost::scriptDebugServer() | 144 ScriptDebugServer& InjectedScriptHost::scriptDebugServer() |
145 { | 145 { |
146 return m_debuggerAgent->scriptDebugServer(); | 146 return m_debuggerAgent->scriptDebugServer(); |
147 } | 147 } |
148 | 148 |
149 void InjectedScriptHost::setBreakpoint(const String& scriptId, int lineNumber, i
nt columnNumber) | 149 void InjectedScriptHost::setDebugBreakpoint(const String& scriptId, int lineNumb
er, int columnNumber) |
150 { | 150 { |
151 m_debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, Inspector
DebuggerAgent::DebugCommandBreakpointSource); | 151 m_debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, Inspector
DebuggerAgent::DebugCommandBreakpointSource); |
152 } | 152 } |
153 | 153 |
154 void InjectedScriptHost::removeBreakpoint(const String& scriptId, int lineNumber
, int columnNumber) | 154 void InjectedScriptHost::removeDebugBreakpoint(const String& scriptId, int lineN
umber, int columnNumber) |
155 { | 155 { |
156 m_debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, Inspec
torDebuggerAgent::DebugCommandBreakpointSource); | 156 m_debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, Inspec
torDebuggerAgent::DebugCommandBreakpointSource); |
157 } | 157 } |
158 | 158 |
| 159 void InjectedScriptHost::setMonitorBreakpoint(const String& scriptId, int lineNu
mber, int columnNumber, const String& monitorCode) |
| 160 { |
| 161 m_debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, Inspector
DebuggerAgent::MonitorCommandBreakpointSource, monitorCode); |
| 162 } |
| 163 |
| 164 void InjectedScriptHost::removeMonitorBreakpoint(const String& scriptId, int lin
eNumber, int columnNumber) |
| 165 { |
| 166 m_debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, Inspec
torDebuggerAgent::MonitorCommandBreakpointSource); |
| 167 } |
| 168 |
159 } // namespace WebCore | 169 } // namespace WebCore |
160 | 170 |
OLD | NEW |