Lines Matching refs:breakpoint
40 this.listElement.className = "breakpoint-list";
52 this._addBreakpoint(breakpointLocations[i].breakpoint, breakpointLocations[i].uiLocation);
79 var breakpoint = /** @type {WebInspector.BreakpointManager.Breakpoint} */ (event.data.breakpoint);
81 this._addBreakpoint(breakpoint, uiLocation);
85 * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
88 _addBreakpoint: function(breakpoint, uiLocation)
92 element.addEventListener("contextmenu", this._breakpointContextMenu.bind(this, breakpoint), true);
98 checkbox.checked = breakpoint.enabled();
99 checkbox.addEventListener("click", this._breakpointCheckboxClicked.bind(this, breakpoint), false);
134 this._items.put(breakpoint, breakpointItem);
144 var breakpoint = /** @type {WebInspector.BreakpointManager.Breakpoint} */ (event.data.breakpoint);
146 var breakpointItem = this._items.get(breakpoint);
149 this._items.remove(breakpoint);
154 * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
156 highlightBreakpoint: function(breakpoint)
158 var breakpointItem = this._items.get(breakpoint);
161 breakpointItem.element.addStyleClass("breakpoint-hit");
168 this._highlightedBreakpointItem.element.removeStyleClass("breakpoint-hit");
179 * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
181 _breakpointCheckboxClicked: function(breakpoint, event)
183 // Breakpoint element has it's own click handler.
185 breakpoint.setEnabled(event.target.checked);
189 * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
191 _breakpointContextMenu: function(breakpoint, event)
195 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Remove breakpoint" : "Remove Breakpoint"), breakpoint.remove.bind(breakpoint));
291 addButton.title = WebInspector.UIString("Add XHR breakpoint");
303 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Add breakpoint" : "Add Breakpoint"), this._addButtonClicked.bind(this));
315 inputElementContainer.className = "breakpoint-condition";
319 inputElement.id = "breakpoint-condition-input";
402 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Add breakpoint" : "Add Breakpoint
403 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Remove breakpoint" : "Remove Breakpoint"), removeBreakpoint.bind(this));
421 inputElement.className = "breakpoint-condition editing";
446 element.addStyleClass("breakpoint-hit");
453 this._highlightedElement.removeStyleClass("breakpoint-hit");
470 var breakpoint = breakpoints[i];
471 if (breakpoint && typeof breakpoint.url === "string")
472 this._setBreakpoint(breakpoint.url, breakpoint.enabled);
568 hitMarker.className = "breakpoint-hit-marker";
662 breakpointItem.element.listItemElement.addStyleClass("breakpoint-hit");
669 this._highlightedElement.removeStyleClass("breakpoint-hit");
688 var breakpoint = breakpoints[i];
689 if (breakpoint && typeof breakpoint.eventName === "string")
690 this._setBreakpoint(breakpoint.eventName);