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

Issue 2592263003: Send an empty tooltip text when hovering over a different node (Closed)

Created:
4 years ago by tonikitoo
Modified:
3 years, 11 months ago
CC:
blink-reviews, chromium-reviews, kinuko+watch, Manuel Rego
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send an empty tooltip text when hovering over a different node Chromium differs from IE/Edge in the way it handles tooltip placement when moving the mouse cursor over different node elements that have the same tooltip text. - Chromium: as long that the tooltip text does not change, the tooltip banner stays stationary when hovering over different nodes. - IE/Edge: we the mouse cursor hovers over different node than before, the tooltip gets hidden regardless whether the its text has changed or not. This CL makes Chromium behave similarly to IE. Note: Although this CL sends an extra "clear tooltip text" IPC message, it intentionally only happens in one specific situation: when mouse cursor is hovering over a node different that before that *has* the same tooltip text as before, *and* the the text is non-empty. It is unlikely that this will flood the IPC channel with more tooltip messages. BUG=142002, 157122, 158320 Review-Url: https://codereview.chromium.org/2592263003 Cr-Commit-Position: refs/heads/master@{#442570} Committed: https://chromium.googlesource.com/chromium/src/+/1a401559f9ae0048e14d10ce1c980145a198d577

Patch Set 1 #

Patch Set 2 : Hide tooltips on mouse move (missing unit test) #

Patch Set 3 : Send an empty tooltip text when hoverring over a different node #

Total comments: 1

Patch Set 4 : Send an empty tooltip text when hoverring over a different node #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -0 lines) Patch
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.cpp View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (28 generated)
tonikitoo
3 years, 12 months ago (2016-12-23 12:08:43 UTC) #12
sadrul
The try failures look relevant. Can you please take a look at them? This changes ...
3 years, 12 months ago (2016-12-23 15:24:23 UTC) #13
tonikitoo
On 2016/12/23 15:24:23, sadrul wrote: > The try failures look relevant. Can you please take ...
3 years, 12 months ago (2016-12-23 19:31:28 UTC) #14
tonikitoo
tkent: PTAL
3 years, 11 months ago (2016-12-28 12:32:32 UTC) #21
sadrul
Since this is now in blink land, I am not a good reviewer for this ...
3 years, 11 months ago (2017-01-03 17:04:56 UTC) #29
Stephen Chennney
I'm OK with this, but it's not really my area of specialty. https://codereview.chromium.org/2592263003/diff/40001/third_party/WebKit/Source/core/page/ChromeClient.h File third_party/WebKit/Source/core/page/ChromeClient.h ...
3 years, 11 months ago (2017-01-03 20:38:25 UTC) #31
tonikitoo
On 2017/01/03 20:38:25, Stephen Chennney wrote: > I'm OK with this, but it's not really ...
3 years, 11 months ago (2017-01-04 19:35:12 UTC) #32
oshima
I'm not the owner, but I agree that this is better behavior. Just FYI. Browser ...
3 years, 11 months ago (2017-01-05 22:33:02 UTC) #33
tonikitoo
On 2017/01/05 22:33:02, oshima wrote: > I'm not the owner, but I agree that this ...
3 years, 11 months ago (2017-01-06 01:43:00 UTC) #34
tkent
lgtm
3 years, 11 months ago (2017-01-10 07:01:47 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2592263003/60001
3 years, 11 months ago (2017-01-10 12:03:59 UTC) #37
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 13:32:50 UTC) #40
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/1a401559f9ae0048e14d10ce1c98...

Powered by Google App Engine
This is Rietveld 408576698