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

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: !android in tests as well 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 a501951e07c25c9e477cae746f31d66dd72b37bf..3fa1f4e1b8b99aee9d92c09b357ce833529516d5 100644
--- a/chrome/browser/resources/md_history/history_item.html
+++ b/chrome/browser/resources/md_history/history_item.html
@@ -155,9 +155,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>

Powered by Google App Engine
This is Rietveld 408576698