Lines Matching defs:WebInspector

33  * @return {?WebInspector.Resource}
35 WebInspector.resourceForURL = function(url)
37 return WebInspector.resourceTreeModel.resourceForURL(url);
41 * @param {function(!WebInspector.Resource)} callback
43 WebInspector.forAllResources = function(callback)
45 WebInspector.resourceTreeModel.forAllResources(callback);
52 WebInspector.displayNameForURL = function(url)
57 var resource = WebInspector.resourceForURL(url);
61 var uiSourceCode = WebInspector.workspace.uiSourceCodeForURL(url);
65 if (!WebInspector.inspectedPageURL)
68 var parsedURL = WebInspector.inspectedPageURL.asParsedURL();
70 var index = WebInspector.inspectedPageURL.indexOf(lastPathComponent);
71 if (index !== -1 && index + lastPathComponent.length === WebInspector.inspectedPageURL.length) {
72 var baseURL = WebInspector.inspectedPageURL.substring(0, index);
89 WebInspector.linkifyStringAsFragmentWithCustomLinkifier = function(string, linkifier)
136 WebInspector.linkifyStringAsFragment = function(string)
147 var isExternal = !WebInspector.resourceForURL(url) && !WebInspector.workspace.uiSourceCodeForURL(url);
148 var urlNode = WebInspector.linkifyURLAsNode(url, title, undefined, isExternal);
159 return WebInspector.linkifyStringAsFragmentWithCustomLinkifier(string, linkifier);
170 WebInspector.linkifyURLAsNode = function(url, linkText, classes, isExternal, tooltipText)
184 a.textContent = linkText.trimMiddle(WebInspector.Linkifier.MaxLengthForDisplayedURLs);
196 WebInspector.formatLinkText = function(url, lineNumber)
198 var text = url ? WebInspector.displayNameForURL(url) : WebInspector.UIString("(program)");
211 WebInspector.linkifyResourceAsNode = function(url, lineNumber, classes, tooltipText)
213 var linkText = WebInspector.formatLinkText(url, lineNumber);
214 var anchor = WebInspector.linkifyURLAsNode(url, linkText, classes, false, tooltipText);
220 * @param {!WebInspector.NetworkRequest} request
223 WebInspector.linkifyRequestAsNode = function(request)
225 var anchor = WebInspector.linkifyURLAsNode(request.url);
237 WebInspector.contentAsDataURL = function(content, mimeType, contentEncoded)