Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
handwriting_->GetHandwritingDistanceThreshold(&screen_size);
Where is this method documented? Could you add references for the internal interfaces used from https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/input/stylus_handwriting_controller_win.h;l=113 so that readers can find the relevant interfaces?
If the tolerance is based on the screen size, it seems like we should plumb the values through per screen.
Can the value be changed in the settings? If so, are there apis to detect this change?
int32 handwriting_radius;
This seems wasteful to pass the same number with every event. If I read the initialization code correctly, the handwriting radius rarely changes, and seems more like an OS setting to be plumbed through to the renderer.
pointer_event.handwriting_radius > 0) {
Is it not possible for the system determined handwriting_radius to be 0? Why?
// greater. This ensures that touch action calculation stays conservative. For
I'm not sure I follow, why shouldn't we use the specified value instead of kStylusWritingHitTestRadius?
if (!handwriting_radius_.has_value() && mouse_event.handwriting_radius > 0) {
Your call to the windows api suggests that the radius varies by screen, however here it seems like you will use the value from whichever screen is interacted with first. This seems like a clear bug.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |