cbuiv: migrate CryptoModulePasswordDialogView to new callbacks
This change removes CryptoModulePasswordDialogView::{Accept,Cancel} and replaces them with explicit callbacks. It also changes the behavior (hence the separate CL): the old code used to explicitly clear the password entry field's text on the closure path. I can't find any good reason why this would be done, and views::TextField has never guaranteed that setting the text will cause the old text to be securely erased from memory. In any case, if we want that behavior, it should happen in //ui/views, not here. Bug: 1011446 Change-Id: I3b81438511cf8eb3e52241543024ec081c467636 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2062887 Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#743149}
Showing
Please register or sign in to comment