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

Unified Diff: third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js

Issue 2644753002: DevTools: untruncate links on copy (Closed)
Patch Set: ac Created 3 years, 8 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 | « third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
index 50924e38cdeb0c305dac25933988a5d4adedcf32..5c0232baf2188543a378719c19166aa5e744d78d 100644
--- a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
+++ b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
@@ -667,10 +667,11 @@ Workspace.UILocation = class {
}
/**
+ * @param {boolean=} skipTrim
* @return {string}
*/
- linkText() {
- var linkText = this.uiSourceCode.displayName();
+ linkText(skipTrim) {
+ var linkText = this.uiSourceCode.displayName(skipTrim);
if (typeof this.lineNumber === 'number')
linkText += ':' + (this.lineNumber + 1);
return linkText;
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698