commit | ab13b8f6713ee3f1fa4e4e7c2ed28599b0dc9b13 | [log] [tgz] |
---|---|---|
author | Charles Meng <[email protected]> | Wed Sep 04 20:11:18 2024 |
committer | Chromium LUCI CQ <[email protected]> | Wed Sep 04 20:11:18 2024 |
tree | 34af15c89f055bf1e4fa7f633a79bdf7c68b3a7c | |
parent | e2df8cfb3900728a6188099fb8717dbedcae51e7 [diff] [blame] |
Add action and close buttons to toast view Screenshot: https://screenshot.googleplex.com/7U6DZ86wNtYxJVo.png controller will be added in a later CL Low-Coverage-Reason: TESTS_IN_SEPARATE_CL end-to-end tests for the taost Fixed: 358617589 Change-Id: Ifb0c828125eb40b1b561de1476d297f29e4e9f2d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5817683 Reviewed-by: Eshwar Stalin <[email protected]> Code-Coverage: [email protected] <[email protected]> Commit-Queue: Charles Meng <[email protected]> Cr-Commit-Position: refs/heads/main@{#1351016}
diff --git a/chrome/browser/ui/toasts/api/toast_specification.h b/chrome/browser/ui/toasts/api/toast_specification.h index c79dde4..783b13a 100644 --- a/chrome/browser/ui/toasts/api/toast_specification.h +++ b/chrome/browser/ui/toasts/api/toast_specification.h
@@ -63,7 +63,7 @@ std::optional<int> action_button_string_id() const { return action_button_string_id_; } - base::RepeatingClosure action_button_callback() { + base::RepeatingClosure action_button_callback() const { return action_button_closure_; } ui::SimpleMenuModel* menu_model() const { return menu_model_.get(); }