Lines Matching refs:anchor

40      * @param {!Element} anchor
43 formatLiveAnchor: function(anchor, uiLocation) { }
54 /** @type {!Map.<!WebInspector.Target, !Array.<{anchor: !Element, location: !WebInspector.LiveLocation}>>}*/
131 delete liveLocations[i].anchor.__uiLocation;
132 var anchor = liveLocations[i].anchor;
133 if (anchor.__fallbackAnchor) {
134 anchor.href = anchor.__fallbackAnchor.href;
135 anchor.lineNumber = anchor.__fallbackAnchor.lineNumber;
136 anchor.title = anchor.__fallbackAnchor.title;
137 anchor.className = anchor.__fallbackAnchor.className;
138 anchor.textContent = anchor.__fallbackAnchor.textContent;
160 var anchor = this._createAnchor(classes);
161 var liveLocation = WebInspector.debuggerWorkspaceBinding.createLiveLocation(rawLocation, this._updateAnchor.bind(this, anchor));
162 this._liveLocationsByTarget.get(rawLocation.target()).push({ anchor: anchor, location: liveLocation });
163 anchor.__fallbackAnchor = fallbackAnchor;
164 return anchor;
189 var anchor = this.linkifyScriptLocation(target, callFrame.scriptId, callFrame.url, lineNumber, columnNumber, classes);
196 anchor.classList.add("webkit-html-blackbox-link");
198 return anchor;
208 var anchor = this._createAnchor(classes);
209 var liveLocation = WebInspector.cssWorkspaceBinding.createLiveLocation(rawLocation, this._updateAnchor.bind(this, anchor));
212 this._liveLocationsByTarget.get(rawLocation.target()).push({ anchor: anchor, location: liveLocation });
213 return anchor;
236 var anchor = document.createElement("a");
237 anchor.className = (classes || "") + " webkit-html-resource-link";
244 if (!anchor.__uiLocation)
248 if (WebInspector.Linkifier.handleLink(anchor.__uiLocation.uiSourceCode.url, anchor.__uiLocation.lineNumber))
250 WebInspector.Revealer.reveal(anchor.__uiLocation);
252 anchor.addEventListener("click", clickHandler, false);
253 return anchor;
267 * @param {!Element} anchor
270 _updateAnchor: function(anchor, uiLocation)
272 anchor.__uiLocation = uiLocation;
273 this._formatter.formatLiveAnchor(anchor, uiLocation);
289 * @param {!Element} anchor
292 formatLiveAnchor: function(anchor, uiLocation)
297 anchor.textContent = text;
302 anchor.title = titleText;
319 * @param {!Element} anchor
322 formatLiveAnchor: function(anchor, uiLocation)
324 WebInspector.Linkifier.DefaultFormatter.prototype.formatLiveAnchor.call(this, anchor, uiLocation);
325 anchor.classList.add("webkit-html-resource-link");
326 anchor.setAttribute("data-uncopyable", anchor.textContent);
327 anchor.textContent = "";