<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Improvements to webkitmouseforce web API"
href="https://bugs.webkit.org/show_bug.cgi?id=143387#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Improvements to webkitmouseforce web API"
href="https://bugs.webkit.org/show_bug.cgi?id=143387">bug 143387</a>
from <span class="vcard"><a class="email" href="mailto:bdakin@apple.com" title="Beth Dakin <bdakin@apple.com>"> <span class="fn">Beth Dakin</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=143387#c2">comment #2</a>)
<span class="quote">> Comment on <span class=""><a href="attachment.cgi?id=250099&action=diff" name="attach_250099" title="Patch">attachment 250099</a> <a href="attachment.cgi?id=250099&action=edit" title="Patch">[details]</a></span>
> Patch
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=250099&action=review">https://bugs.webkit.org/attachment.cgi?id=250099&action=review</a>
>
> > Source/WebKit2/UIProcess/WebPageProxy.h:992
> > + void pressureDidChange(float force, int stage);
>
> Some indication of what kind of pressure or what you're talking about at all
> might be good :D mousePressureDidChange? No idea.
>
> Also why is it pressure and force?
> </span >
The NSResponder method uses the term "pressure," which is why I used it here. Maybe we shouldn't let that spread into our code? But for the time being I used it to keep it more directly tied to the NSResponder method of that name.
<span class="quote">> > Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm:1171
> > + if (m_lastPressureEventForceStage == 1 && stage == 2)
>
> Isn't the negativity of stageTransition how you're supposed to figure out
> which direction you're going? Can we totally avoid caching the old one in
> that case?</span >
stageTransition is not consistent for this purpose as far as I can tell.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>