Add PressedCallback to views::Button
Removes |listener_| from the internal implementation, but still providing set_listener() that wraps a ButtonListener* in a callback. Removal of ButtonListener will be piecemeal as there's about 500 references to it, though I intend to continue until it's gone. Bug: 772945 Change-Id: I9ff386b40a75bee58adba5c4ad9a3304a2c69d4e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2392436 Commit-Queue: Peter Boström <pbos@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#804463}
Showing
Please register or sign in to comment