WebCore/ChangeLog

 12009-08-12 Patrick Mueller <Patrick_Mueller@us.ibm.com>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 Add a new gesture in Web Inspector to remove breakpoints
 6 https://bugs.webkit.org/show_bug.cgi?id=19131
 7
 8 No new tests. (OOPS!)
 9
 10 * inspector/front-end/SourceFrame.js:
 11 (WebInspector.SourceFrame.prototype._documentMouseDown):
 12
1132009-08-12 Lyon Chen <lyon.chen@torchmobile.com>
214
315 Reviewed by George Staikos.
47140

WebCore/inspector/front-end/SourceFrame.js

@@WebInspector.SourceFrame.prototype = {
289289 return;
290290
291291 var sourceRow = event.target.enclosingNodeOrSelfWithNodeName("tr");
292  if (sourceRow._breakpointObject)
293  sourceRow._breakpointObject.enabled = !sourceRow._breakpointObject.enabled;
 292 if (sourceRow._breakpointObject && sourceRow._breakpointObject.enabled)
 293 sourceRow._breakpointObject.enabled = false;
 294 else if (sourceRow._breakpointObject)
 295 WebInspector.panels.scripts.removeBreakpoint(sourceRow._breakpointObject);
294296 else if (this.addBreakpointDelegate)
295297 this.addBreakpointDelegate(this.lineNumberForSourceRow(sourceRow));
296298 },
47060