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

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

Issue 2503983002: MD History: Focus item checkbox when selecting/deselecting on click (Closed)
Patch Set: Add a test Created 4 years, 1 month 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 50a52632c4f2de4812db262a640aec013dc3d48a..df079c2c2c3e322678a4fcb6c5394ca7ccd6fa5c 100644
--- a/chrome/browser/resources/md_history/history_item.js
+++ b/chrome/browser/resources/md_history/history_item.js
@@ -185,6 +185,7 @@ cr.define('md_history', function() {
if (this.selectionNotAllowed_())
return;
+ this.$.checkbox.focus();
this.fire('history-checkbox-select', {
element: this,
shiftKey: e.shiftKey,
« no previous file with comments | « chrome/browser/resources/md_history/app.crisper.js ('k') | chrome/test/data/webui/md_history/history_item_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698