RESOLVED FIXED 79256
[BlackBerry] Fat fingers - Add a clearer way to distinguish the node we want (shadow or non-shadow)
https://bugs.webkit.org/show_bug.cgi?id=79256
Summary [BlackBerry] Fat fingers - Add a clearer way to distinguish the node we want ...
Antonio Gomes
Reported 2012-02-22 10:30:07 PST
FatFingers works with both shadow and non-shadow content for accuracy. There are cases that we are dealing with the FatFingersResult class, but want to restrict operate non-shadow DOM content (for example when checking if it has JS listeners attached to it, doing some text selection stuff, or checking context menu info off of the target node).For other cases, we do not actually care. Patch provides cleaner way to get the target we intend to, depending on the situation.
Attachments
(landed r108721, r=rbuis) patch v1 (10.61 KB, patch)
2012-02-22 11:14 PST, Antonio Gomes
rwlbuis: review+
tonikitoo: commit-queue-
Antonio Gomes
Comment 1 2012-02-22 11:14:55 PST
Created attachment 128251 [details] (landed r108721, r=rbuis) patch v1
Rob Buis
Comment 2 2012-02-22 11:43:33 PST
Comment on attachment 128251 [details] (landed r108721, r=rbuis) patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=128251&action=review Looks good with some stuff to fix before landing. > Source/WebKit/blackberry/WebKitSupport/FatFingers.h:51 > +enum ContentType { ShadowContentAllowed, ShadowContentNotAllowed }; Better move it into FatFingersResult class before landing. > Source/WebKit/blackberry/WebKitSupport/FatFingers.h:96 > + } Not sure if this makes sense inlined, might need measurements, not required for landing this though.
Note You need to log in before you can comment on or make changes to this bug.