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

Issue 2948943002: MD Bookmarks: Add full support for cut/copy/paste keyboard shortcuts (Closed)

Created:
3 years, 6 months ago by tsergeant
Modified:
3 years, 5 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Bookmarks: Add full support for cut/copy/paste keyboard shortcuts This adds keyboard shortcuts for Cut/Paste, and expands the keyboard shortcut for Copy to work with any selection (not just a single bookmark). Copying a bookmark shows a toast indicating how many items were copied, since there is no other visual indicator that the copy was successful. BUG=729858 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2948943002 Cr-Commit-Position: refs/heads/master@{#484043} Committed: https://chromium.googlesource.com/chromium/src/+/b7253e9c12c66f12bf67f95be8c6aeea808dce12

Patch Set 1 : #

Patch Set 2 : Rebase #

Total comments: 7

Patch Set 3 : Rebase #

Patch Set 4 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -98 lines) Patch
M chrome/app/bookmarks_strings.grdp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/command_manager.js View 1 2 3 12 chunks +124 lines, -74 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/constants.js View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/toast_manager.html View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/command_manager_test.js View 1 2 4 chunks +43 lines, -21 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
tsergeant
oops, forgot to mail this last week. For the moment, this adds a toast for ...
3 years, 5 months ago (2017-06-28 00:21:41 UTC) #11
calamity
https://codereview.chromium.org/2948943002/diff/60001/chrome/browser/resources/md_bookmarks/command_manager.js File chrome/browser/resources/md_bookmarks/command_manager.js (right): https://codereview.chromium.org/2948943002/diff/60001/chrome/browser/resources/md_bookmarks/command_manager.js#newcode300 chrome/browser/resources/md_bookmarks/command_manager.js:300: chrome.bookmarkManagerPrivate.cut(idList); nit: inline var. https://codereview.chromium.org/2948943002/diff/60001/chrome/browser/resources/md_bookmarks/command_manager.js#newcode306 chrome/browser/resources/md_bookmarks/command_manager.js:306: selectedFolder, Array.from(selectedItems)); We ...
3 years, 5 months ago (2017-07-03 03:40:05 UTC) #14
tsergeant
I also discovered a little bug with the toast layout which wasn't visible until now ...
3 years, 5 months ago (2017-07-03 05:28:29 UTC) #15
calamity
lgtm. Shave at your leisure.
3 years, 5 months ago (2017-07-03 06:45:34 UTC) #16
tsergeant
https://codereview.chromium.org/2948943002/diff/60001/chrome/browser/resources/md_bookmarks/command_manager.js File chrome/browser/resources/md_bookmarks/command_manager.js (right): https://codereview.chromium.org/2948943002/diff/60001/chrome/browser/resources/md_bookmarks/command_manager.js#newcode306 chrome/browser/resources/md_bookmarks/command_manager.js:306: selectedFolder, Array.from(selectedItems)); On 2017/07/03 05:28:29, tsergeant wrote: > On ...
3 years, 5 months ago (2017-07-04 01:32:11 UTC) #17
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/2948943002/100001
3 years, 5 months ago (2017-07-04 01:32:21 UTC) #19
commit-bot: I haz the power
3 years, 5 months ago (2017-07-04 02:59:39 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/b7253e9c12c66f12bf67f95be8c6...

Powered by Google App Engine
This is Rietveld 408576698