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

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

Issue 2239623002: [MD History] Add shift-selection to the history lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reshadow
Patch Set: Set => Array 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/list_container.js
diff --git a/chrome/browser/resources/md_history/list_container.js b/chrome/browser/resources/md_history/list_container.js
index 6cc6518d31bd4c0f1d2988c936e23d6967f80f10..9aabcca42f6f9b9299b06a6163a094de24132aa6 100644
--- a/chrome/browser/resources/md_history/list_container.js
+++ b/chrome/browser/resources/md_history/list_container.js
@@ -86,6 +86,10 @@ Polymer({
]);
},
+ getSelectedItemCount: function() {
tsergeant 2016/08/15 04:49:50 /** @return {number} */
calamity 2016/08/15 07:18:40 Done.
+ return this.getSelectedList_().selectedPaths.size;
+ },
+
unselectAllItems: function(count) {
this.getSelectedList_().unselectAllItems(count);
},

Powered by Google App Engine
This is Rietveld 408576698