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

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: rebase, fix closure compile 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 a0ba4c3e9fb728b37f70b37881a03b2f47aad837..a1a9f111700343476a9c5949bec6d9ff96f309f1 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