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

Issue 2159773003: MD History: Add shortcuts for 'Delete' and 'Backspace' to delete selected items (Closed)

Created:
4 years, 5 months ago by lshang
Modified:
4 years, 5 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@MDH_slash_key
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Add shortcuts for 'Delete' and 'Backspace' to delete selected items Press 'Delete' or 'Backspace' key from keyboard will delete selected history items on MD History. BUG=627408 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/24cca661cb0b2afe2ca1b1fa960924b375d63256 Cr-Commit-Position: refs/heads/master@{#406715}

Patch Set 1 #

Total comments: 4

Patch Set 2 : add test #

Total comments: 4

Patch Set 3 : revise test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -0 lines) Patch
M chrome/browser/resources/md_history/app.js View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 2 1 chunk +39 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (15 generated)
lshang
PTAL thanks!
4 years, 5 months ago (2016-07-19 04:48:34 UTC) #4
tsergeant
Can you please add a test for this as well? I'm not sure if you're ...
4 years, 5 months ago (2016-07-19 05:09:41 UTC) #5
lshang
https://codereview.chromium.org/2159773003/diff/1/chrome/browser/resources/md_history/app.js File chrome/browser/resources/md_history/app.js (right): https://codereview.chromium.org/2159773003/diff/1/chrome/browser/resources/md_history/app.js#newcode132 chrome/browser/resources/md_history/app.js:132: e.canExecute = this.$['history'].getHistoryList().numToBeDeleted() > 0; On 2016/07/19 05:09:41, tsergeant ...
4 years, 5 months ago (2016-07-20 01:19:09 UTC) #8
lshang
On 2016/07/19 05:09:41, tsergeant wrote: > Can you please add a test for this as ...
4 years, 5 months ago (2016-07-20 01:25:59 UTC) #9
tsergeant
https://codereview.chromium.org/2159773003/diff/20001/chrome/test/data/webui/md_history/history_list_test.js File chrome/test/data/webui/md_history/history_list_test.js (right): https://codereview.chromium.org/2159773003/diff/20001/chrome/test/data/webui/md_history/history_list_test.js#newcode237 chrome/test/data/webui/md_history/history_list_test.js:237: return flush().then(function() { Nit: If there's a `done` parameter ...
4 years, 5 months ago (2016-07-20 03:04:14 UTC) #10
lshang
https://codereview.chromium.org/2159773003/diff/20001/chrome/test/data/webui/md_history/history_list_test.js File chrome/test/data/webui/md_history/history_list_test.js (right): https://codereview.chromium.org/2159773003/diff/20001/chrome/test/data/webui/md_history/history_list_test.js#newcode237 chrome/test/data/webui/md_history/history_list_test.js:237: return flush().then(function() { On 2016/07/20 03:04:14, tsergeant wrote: > ...
4 years, 5 months ago (2016-07-20 07:00:45 UTC) #14
tsergeant
lgtm
4 years, 5 months ago (2016-07-20 07:44:56 UTC) #15
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/2159773003/60001
4 years, 5 months ago (2016-07-20 23:44:41 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-07-20 23:50:07 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 23:51:47 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/24cca661cb0b2afe2ca1b1fa960924b375d63256
Cr-Commit-Position: refs/heads/master@{#406715}

Powered by Google App Engine
This is Rietveld 408576698