Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2804)

Unified Diff: Source/devtools/front_end/ui/UIUtils.js

Issue 659573005: DevTools: NetworkPanel: show link where resource timing is explained. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/network/networkPanel.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/UIUtils.js
diff --git a/Source/devtools/front_end/ui/UIUtils.js b/Source/devtools/front_end/ui/UIUtils.js
index 186c55e628b4a507ac443b2cba3f734259ee340c..e4777285f7ce30003e4961b1ef471d0ccaa348bb 100644
--- a/Source/devtools/front_end/ui/UIUtils.js
+++ b/Source/devtools/front_end/ui/UIUtils.js
@@ -1136,6 +1136,20 @@ WebInspector.LongClickController.prototype = {
}
/**
+ * @param {string} article
+ * @param {string} title
+ * @return {!Element}
+ */
+WebInspector.createDocumentationAnchor = function(article, title)
vsevik 2014/10/23 15:00:03 I would remove Documentation aspect from this meth
+{
+ var anchor = createElementWithClass("a", "documentation-link");
+ anchor.href = "https://developer.chrome.com/devtools/docs/" + article;
+ anchor.target = "_blank";
+ anchor.createTextChild(title);
+ return anchor;
+}
+
+/**
* @param {!Window} window
*/
WebInspector.initializeUIUtils = function(window)
« no previous file with comments | « Source/devtools/front_end/network/networkPanel.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698