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

Issue 2239623002: [MD History] Add shift-selection to the history lists. (Closed)

Created:
4 years, 4 months ago by calamity
Modified:
4 years, 4 months ago
Reviewers:
tsergeant
CC:
chromium-reviews, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@reshadow
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD History] Add shift-selection to the history lists. This CL adds the ability to select multiple items in history-list and grouped-history-list by shift-clicking. The selectedPaths array in HistoryListBehavior has been changed to a Set and the toolbar's selection count has been hooked up to the selectedPaths set's size. BUG=589363 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/1e3bca2a4f22d59e6e19d6d6b1845a0140967cfa Cr-Commit-Position: refs/heads/master@{#412180}

Patch Set 1 : #

Patch Set 2 : Set => Array #

Total comments: 8

Patch Set 3 : address comments #

Total comments: 1

Patch Set 4 : rebase, fix closure compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -29 lines) Patch
M chrome/browser/resources/md_history/app.js View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.html View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.js View 1 2 3 1 chunk +14 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/history_list_behavior.js View 1 2 3 4 chunks +45 lines, -15 lines 0 comments Download
M chrome/browser/resources/md_history/list_container.js View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_history/history_grouped_list_test.js View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 2 3 1 chunk +75 lines, -8 lines 0 comments Download
M chrome/test/data/webui/md_history/test_util.js View 1 chunk +20 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (16 generated)
calamity
4 years, 4 months ago (2016-08-11 07:37:37 UTC) #4
tsergeant
https://codereview.chromium.org/2239623002/diff/60001/chrome/browser/resources/md_history/history_item.js File chrome/browser/resources/md_history/history_item.js (right): https://codereview.chromium.org/2239623002/diff/60001/chrome/browser/resources/md_history/history_item.js#newcode58 chrome/browser/resources/md_history/history_item.js:58: e.preventDefault(); You should probably only preventDefault when shift is ...
4 years, 4 months ago (2016-08-15 04:49:50 UTC) #6
calamity
https://codereview.chromium.org/2239623002/diff/60001/chrome/browser/resources/md_history/history_item.js File chrome/browser/resources/md_history/history_item.js (right): https://codereview.chromium.org/2239623002/diff/60001/chrome/browser/resources/md_history/history_item.js#newcode58 chrome/browser/resources/md_history/history_item.js:58: e.preventDefault(); On 2016/08/15 04:49:50, tsergeant wrote: > You should ...
4 years, 4 months ago (2016-08-15 07:18:40 UTC) #9
tsergeant
lgtm https://codereview.chromium.org/2239623002/diff/100001/chrome/browser/resources/md_history/history_item.js File chrome/browser/resources/md_history/history_item.js (right): https://codereview.chromium.org/2239623002/diff/100001/chrome/browser/resources/md_history/history_item.js#newcode52 chrome/browser/resources/md_history/history_item.js:52: /* /** to fix closure
4 years, 4 months ago (2016-08-16 01:26:01 UTC) #13
tsergeant
On 2016/08/16 01:26:01, tsergeant wrote: > lgtm > > https://codereview.chromium.org/2239623002/diff/100001/chrome/browser/resources/md_history/history_item.js > File chrome/browser/resources/md_history/history_item.js (right): > ...
4 years, 4 months ago (2016-08-16 01:26:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2239623002/120001
4 years, 4 months ago (2016-08-16 06:28:53 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 4 months ago (2016-08-16 06:32:12 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 06:33:41 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1e3bca2a4f22d59e6e19d6d6b1845a0140967cfa
Cr-Commit-Position: refs/heads/master@{#412180}

Powered by Google App Engine
This is Rietveld 408576698