OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 { | 133 { |
134 disable(); | 134 disable(); |
135 } | 135 } |
136 | 136 |
137 void InspectorDOMDebuggerAgent::discardAgent() | 137 void InspectorDOMDebuggerAgent::discardAgent() |
138 { | 138 { |
139 m_debuggerAgent->setListener(0); | 139 m_debuggerAgent->setListener(0); |
140 m_debuggerAgent = 0; | 140 m_debuggerAgent = 0; |
141 } | 141 } |
142 | 142 |
143 void InspectorDOMDebuggerAgent::discardBindings() | |
144 { | |
145 m_domBreakpoints.clear(); | |
146 } | |
147 | |
148 void InspectorDOMDebuggerAgent::setEventListenerBreakpoint(ErrorString* error, c
onst String& eventName) | 143 void InspectorDOMDebuggerAgent::setEventListenerBreakpoint(ErrorString* error, c
onst String& eventName) |
149 { | 144 { |
150 setBreakpoint(error, String(listenerEventCategoryType) + eventName); | 145 setBreakpoint(error, String(listenerEventCategoryType) + eventName); |
151 } | 146 } |
152 | 147 |
153 void InspectorDOMDebuggerAgent::setInstrumentationBreakpoint(ErrorString* error,
const String& eventName) | 148 void InspectorDOMDebuggerAgent::setInstrumentationBreakpoint(ErrorString* error,
const String& eventName) |
154 { | 149 { |
155 setBreakpoint(error, String(instrumentationEventCategoryType) + eventName); | 150 setBreakpoint(error, String(instrumentationEventCategoryType) + eventName); |
156 } | 151 } |
157 | 152 |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 } | 512 } |
518 | 513 |
519 void InspectorDOMDebuggerAgent::clear() | 514 void InspectorDOMDebuggerAgent::clear() |
520 { | 515 { |
521 m_domBreakpoints.clear(); | 516 m_domBreakpoints.clear(); |
522 m_pauseInNextEventListener = false; | 517 m_pauseInNextEventListener = false; |
523 } | 518 } |
524 | 519 |
525 } // namespace WebCore | 520 } // namespace WebCore |
526 | 521 |
OLD | NEW |