[Webkit-unassigned] [Bug 21794] Middle-click panning should be springloaded while dragging
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 29 10:32:52 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=21794
aroben at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #27128|review? |review-
Flag| |
------- Comment #5 from aroben at apple.com 2009-01-29 10:32 PDT -------
(From update of attachment 27128)
> Index: ChangeLog
> ===================================================================
> --- ChangeLog (revision 40333)
> +++ ChangeLog (working copy)
> @@ -1,3 +1,12 @@
> +2009-01-28 Loren Segal <lsegal at soen.ca>
> +
> + Reviewed by NOBODY (OOPS!).
> +
> + Turn off pan scrolling when middle mouse button is released during a mouse drag gesture.
You should mention the bug title and URL in your ChangeLog.
> +
> + * page/EventHandler.cpp:
> + * page/EventHandler.h:
The prepare-ChangeLog script will insert the names of the functions you
modified. You should make a comment about each function you modified explaining
your change.
> +++ page/EventHandler.h (working copy)
> @@ -216,8 +216,22 @@ private:
> void handleKeyboardSelectionMovement(KeyboardEvent*);
>
> Cursor selectCursor(const MouseEventWithHitTestResults&, Scrollbar*);
> + Cursor selectPanScrollCursor();
> void setPanScrollCursor();
I don't think we need selectPanScrollCursor anymore. You can just put the code
into setPanScrollCursor. That should lead to a smaller diff.
> @@ -299,6 +313,7 @@ private:
>
> IntPoint m_panScrollStartPos;
> bool m_panScrollInProgress;
> + bool m_panScrollIsScrolling;
The name "m_panScrollIsScrolling" is a little confusing when taken together
with m_panScrollInProgress. I'd suggest something like m_panScrollHasScrolled
or m_panScrollHasScrolledSinceStarting.
Let's take care of these last few issues and get this landed!
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list