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

Unified Diff: Source/devtools/front_end/Linkifier.js

Issue 16917007: DevTools: Trim stylesheet URLs in the Styles sidebar to 30 characters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests rebaselined Created 7 years, 6 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 | « LayoutTests/inspector/styles/styles-source-lines-inline-expected.txt ('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/Linkifier.js
diff --git a/Source/devtools/front_end/Linkifier.js b/Source/devtools/front_end/Linkifier.js
index e08760ac5435b36f8224925f013bad5a8527e5f4..b914e12800607e7c2c4fca9cc6d04d23d65f28aa 100644
--- a/Source/devtools/front_end/Linkifier.js
+++ b/Source/devtools/front_end/Linkifier.js
@@ -159,9 +159,11 @@ WebInspector.Linkifier.DefaultFormatter.prototype = {
*/
WebInspector.Linkifier.DefaultCSSFormatter = function()
{
- WebInspector.Linkifier.DefaultFormatter.call(this);
+ WebInspector.Linkifier.DefaultFormatter.call(this, WebInspector.Linkifier.DefaultCSSFormatter.MaxLengthForDisplayedURLs);
}
+WebInspector.Linkifier.DefaultCSSFormatter.MaxLengthForDisplayedURLs = 30;
+
WebInspector.Linkifier.DefaultCSSFormatter.prototype = {
/**
* @param {Element} anchor
« no previous file with comments | « LayoutTests/inspector/styles/styles-source-lines-inline-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698