cbuiv: Split ActivationAction into focus and blur controls
ActivationAction controls both focus and blur behaviors of a bubble: a) DO_NOT_ACTIVATE: no focus, persistent bubble. b) ACTIVATE: get focus on creation, dismiss bubble on blur. The blur behavior was not well documented. Feature bug 1121399 introduces snoozable IPH bubble that needs to c) get focus on creation, persist on blur. To add support for c) and keep support for a) and b), this CL breaks ActivationAction into two bools to control focus and blur behaviors of a bubble separately. Bug: 1121399 Change-Id: I2a38d740d901905bc13855d421000bff4bf2ca3b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2423305 Commit-Queue: Keren Zhu <kerenzhu@chromium.org> Reviewed-by:Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/master@{#809441}
Showing
Please register or sign in to comment