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

Unified Diff: chrome/browser/resources/md_history/app.crisper.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
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.vulcanized.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/app.crisper.js
diff --git a/chrome/browser/resources/md_history/app.crisper.js b/chrome/browser/resources/md_history/app.crisper.js
index f6215c824358efa55af672404a9d244faa018c30..91fc353a883ddcf1fbfa32dd667add7cebf88cc9 100644
--- a/chrome/browser/resources/md_history/app.crisper.js
+++ b/chrome/browser/resources/md_history/app.crisper.js
@@ -6809,6 +6809,10 @@ cr.define('md_history', function() {
onCheckboxMousedown_: function(e) {
if (e.shiftKey) e.preventDefault();
},
+ getEntrySummary_: function() {
+ var item = this.item;
+ return loadTimeData.getStringF('entrySummary', item.dateTimeOfDay, item.starred ? loadTimeData.getString('bookmarked') : '', item.title, item.domain);
+ },
onRemoveBookmarkTap_: function() {
if (!this.item.starred) return;
if (this.$$('#bookmark-star') == this.root.activeElement) this.$['menu-button'].focus();
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698