DescriptionAdd EventFilter for LauncherTooltip (2nd try).
Now it monitors mouse/touch/gesture events and hides the tooltip if necessary.
Previous CL (crrev.com/148079) was reverted since it causes use-after-free error.
It happens when the 'LauncherTooltipBubble' widget exists but LauncherTooltipManager
is already released. In that case, the widget's release will cause WindowClosing()
which calls host_->OnBubbleClosed(), but host_ is already released.
Thus I'd make sure to introduce a method to set host_ to NULL in case that
LauncherTooltipManager explicitly clean-up the Bubble.
R=derat@chromium.org
BUG=137678
TEST=manually checked on linux, aura_shell_unittests passed with asan
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148308
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Messages
Total messages: 5 (0 generated)
|