[quickview] Break the delete command handler into subroutines
Add subroutines to compose the Delete command handler, so the it is easy for some special clients to access these subroutines, e.g. the QuickView dialog. Add an optional dialog argument to the deleteEntries_() subroutine. The default argument is null which shows the default delete confirm dialog, so no change in behavior. For Quick View, the delete confirm dialog is provided by Quick View when calling this helper. No change in behavior, no new tests. Bug: 803259 Change-Id: I4b2fe2d7cfd35a3c602bf7aa0b869b11a51bb691 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2026827Reviewed-by:Noel Gordon <noel@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#736246}
Showing
Please register or sign in to comment