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

Unified Diff: chrome/browser/resources/md_history/history_item.html

Issue 2112803002: MD History: Trim long item titles to reduce effect on performance (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test Created 4 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
Index: chrome/browser/resources/md_history/history_item.html
diff --git a/chrome/browser/resources/md_history/history_item.html b/chrome/browser/resources/md_history/history_item.html
index 17d4c14a7ae2331e1ef35bca2db94cbe70029d07..30e7d7143f8f009daa41c8906ad163eaaed9a5ab 100644
--- a/chrome/browser/resources/md_history/history_item.html
+++ b/chrome/browser/resources/md_history/history_item.html
@@ -138,7 +138,7 @@
<div class="website-icon" id="icon"></div>
<div id="title-and-domain">
<a href="[[item.url]]" id="title" class="website-title">
- <history-searched-label title="[[item.title]]"
+ <history-searched-label title="[[cropItemTitle_(item.title)]]"
search-term="[[searchTerm]]"></history-searched-label>
</a>
<span id="domain">[[item.domain]]</span>
« no previous file with comments | « chrome/browser/resources/md_history/constants.js ('k') | chrome/browser/resources/md_history/history_item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698