gecko-dev/modules
Masayuki Nakano 16fd3a84a4 Bug 143038 Make users can scroll contents horizontally with vertical wheel operation with a modifier r=smaug
This patch declares a new default action, "horizontal scroll", this scrolls
content horizontally with deltaY of wheel events and ignores deltaX and deltaZ.
This is used for default action with Shift key in default setting except on
macOS. On macOS, legacy mouse's vertical wheel operation with Shift key causes
native horizontal wheel event.  Therefore, we don't need to use this new
default action on macOS.  Additionally, old default action with Shift key,
navigating history, is moved to with Alt key.  This makes same settings between
macOS and the others.  So, this is better for users who use macOS and another
OS and web app developers who check wheel events only on macOS or other
platform(s).

For simpler implementation, default action handlers moves deltaY values to
deltaX values temporarily *only* while they handle wheel events.  This is
performed by AutoWheelDeltaAdjuster and restored after handling it
automatically.

So, in other words, even if default action is "horizontal scroll", web apps
receives wheel events whose deltaY is not zero but its content will be
scrolled horizontally.  This is same as Chromium, so, this behavior shouldn't
cause any incompatible behavior with it.

MozReview-Commit-ID: E4X3yZzLEAl

--HG--
extra : rebase_source : e20d854c6b0a181ad4c9e7304bd9ad14256481ff
2017-10-05 01:12:35 +09:00
..
brotli Bug 1402350 - Update Brotli library to release 1.0.1. r=glandium 2017-09-28 08:58:54 +01:00
fdlibm Bug 1350355 - fdlibm should provide definition for u_int32_t and u_int64_t. r=arai 2017-03-27 03:33:34 -07:00
freetype2 Bug 1401227 - Cherry-pick patch 0d1262a41e019e4511071e339bb8aa018596a1fd from upstream freetype to avoid potential crash in premultiply_data. r=milan 2017-09-25 17:30:53 +01:00
libbz2 Bug 1345618 - add BUG_COMPONENT to modules/* files. r=jfkthame,mcmanus,rstrong 2017-03-09 05:33:31 -05:00
libjar Bug 1405286: Part 1 - Allow retrieving the delivery target from retargetable requests. r=dragana 2017-10-14 18:30:38 -07:00
libmar Bug 1407014 - Fix typo in CyprtoAPI_VerifySignature function name. r=rstrong 2017-10-09 11:57:43 -07:00
libpref Bug 143038 Make users can scroll contents horizontally with vertical wheel operation with a modifier r=smaug 2017-10-05 01:12:35 +09:00
pdfium Bug 1402065 Add the pdfium patch to the repo and update.sh r=jwatt 2017-09-22 00:30:29 -05:00
woff2 Bug 1340910 - pt 2+3 - Import Brotli 0.6.0 from upstream, and Gecko updates required to work with Brotli 0.6.0 API changes. r=glandium 2017-08-09 11:45:39 +01:00
xz-embedded Bug 641212 - use lzma compression for application update. Part 1 - xz-embedded build config changes. r=glandium, a=app_update_lzma 2017-07-30 23:26:56 -07:00
zlib Bug 1345618 - add BUG_COMPONENT to modules/* files. r=jfkthame,mcmanus,rstrong 2017-03-09 05:33:31 -05:00
moz.build Bug 1345618 - add BUG_COMPONENT to modules/* files. r=jfkthame,mcmanus,rstrong 2017-03-09 05:33:31 -05:00