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

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

Issue 2318643003: MD History: truncate title to 300 chars in C++ instead of JS (Closed)
Patch Set: more !android Created 4 years, 3 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 b848fd5151d52230f834f103624938cd3f7d35ab..bfe74dc71b594d9a4ac19de64bd0fd3e702559ed 100644
--- a/chrome/browser/resources/md_history/history_item.html
+++ b/chrome/browser/resources/md_history/history_item.html
@@ -182,9 +182,9 @@
<div class="website-icon" id="icon"></div>
<div id="title-and-domain">
<a href="[[item.url]]" id="title" class="website-title"
- title="[[cropItemTitle_(item.title)]]"
- on-click="onLinkClick_" on-contextmenu="onLinkRightClick_">
- <history-searched-label title="[[cropItemTitle_(item.title)]]"
+ title="[[item.title]]" on-click="onLinkClick_"
+ on-contextmenu="onLinkRightClick_">
+ <history-searched-label title="[[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