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

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: address comments 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..0d1402d0bbd0c38561547a3f5fe82d734f96f310 100644
--- a/chrome/browser/resources/md_history/list_container.js
+++ b/chrome/browser/resources/md_history/list_container.js
@@ -86,6 +86,11 @@ Polymer({
]);
},
+ /** @return {number} */
+ getSelectedItemCount: function() {
+ return this.getSelectedList_().selectedPaths.size;
+ },
+
unselectAllItems: function(count) {
this.getSelectedList_().unselectAllItems(count);
},

Powered by Google App Engine
This is Rietveld 408576698