Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1515)

Issue 23958012: Create the Tooltip widget in Aura as needed instead of just creating it in the timer. (Closed)

Created:
7 years, 3 months ago by ananta
Modified:
7 years, 3 months ago
Reviewers:
sky, varunjain
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Create the Tooltip widget in Aura as needed instead of just creating it in the timer. Currently the Tooltip widget is created in the tooltip timer which also handles setting the tooltip text on the Tooltip object. There is a timing window between this and the mouse event coming in, which ends up causing the tooltips to not show up if the underlying root changes in between. Fixes bug https://code.google.com/p/chromium/issues/detail?id=292530 BUG=292530 R=sky@chromium.org, sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223492

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M ui/views/corewm/tooltip_controller.cc View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
ananta
7 years, 3 months ago (2013-09-16 22:13:47 UTC) #1
sky
I don't think I understand the exact sequence that is causing things to go wrong. ...
7 years, 3 months ago (2013-09-16 22:46:51 UTC) #2
ananta
https://codereview.chromium.org/23958012/diff/8001/ui/views/corewm/tooltip_controller.cc File ui/views/corewm/tooltip_controller.cc (left): https://codereview.chromium.org/23958012/diff/8001/ui/views/corewm/tooltip_controller.cc#oldcode127 ui/views/corewm/tooltip_controller.cc:127: SetTooltipBounds(location, width, height); On 2013/09/16 22:46:51, sky wrote: > ...
7 years, 3 months ago (2013-09-16 23:45:45 UTC) #3
sky
LGTM
7 years, 3 months ago (2013-09-16 23:58:56 UTC) #4
sky
Also, if you could add test coverage that would be great!
7 years, 3 months ago (2013-09-16 23:59:11 UTC) #5
ananta
On 2013/09/16 23:59:11, sky wrote: > Also, if you could add test coverage that would ...
7 years, 3 months ago (2013-09-17 00:47:43 UTC) #6
ananta
7 years, 3 months ago (2013-09-17 00:48:53 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r223492 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698