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

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

Issue 2262123002: [MD History] Small accessibility fixes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@toolbar_shadow
Patch Set: Created 4 years, 4 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.js
diff --git a/chrome/browser/resources/md_history/history_item.js b/chrome/browser/resources/md_history/history_item.js
index 211842c2f3632d1592559fe9a710ad1a7c912c9b..38d398755a991d595b37f8266e58b9ea13d535c5 100644
--- a/chrome/browser/resources/md_history/history_item.js
+++ b/chrome/browser/resources/md_history/history_item.js
@@ -62,6 +62,18 @@ cr.define('md_history', function() {
},
/**
+ * @private
+ * @return {string}
+ */
+ getEntrySummary_: function() {
+ var item = this.item;
+ return loadTimeData.getStringF(
+ 'entrySummary', item.dateTimeOfDay,
+ item.starred ? loadTimeData.getString('bookmarked') : '', item.title,
+ item.domain);
+ },
+
+ /**
* Remove bookmark of current item when bookmark-star is clicked.
* @private
*/
« no previous file with comments | « chrome/browser/resources/md_history/history_item.html ('k') | chrome/browser/resources/md_history/history_toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698