gecko-dev/gfx
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
..
2d Bug 1394405 - Relax the assertion in CalculateDistanceToEllipticArc to deal with the floating point precision problem; r=nical 2017-10-11 11:10:41 +08:00
angle Bug 1407289 Move classes from renderer11_utils.h r=jgilbert,Lenzak 2017-10-11 10:08:05 -05:00
cairo Bug 1400705 - cairo: Fix -Wunknown-warning-option clang warning about gcc flag (and suppress some other warnings). r=lsalzman 2017-09-16 21:01:25 -07:00
config Bug 1390840 - Add prefs to display the debugging view of webrender's texture cache and intermediate targets. r=jrmuizel 2017-08-23 12:00:37 +02:00
doc Bug 1407213 - Update webrender to commit a624aa6d3b6006c510c8b14026567af4ac545d2f. r=jrmuizel 2017-10-13 12:51:07 -04:00
docs
gl Backed out 4 changesets (bug 1395497) for Linux failures in test_conformance__textures__misc__texture-npot-video.html 2017-10-16 19:13:56 -07:00
graphite2 Bug 1389965 Redefine macros to inline functions to fix MinGW build r=jfkthame 2017-10-02 12:46:26 -05:00
harfbuzz Bug 1408855 - Update Harfbuzz to version 1.6.0. r=jfkthame 2017-10-17 11:17:04 -04:00
ipc Bug 1392216 - Part 1: Create VR listener thread in GPU process; r=dvander,kip 2017-10-05 18:12:45 +08:00
layers 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
ots Bug 1396026 - Update OTS to accept Awami Nastaliq. r=froydnj,jfkthame 2017-09-07 10:40:59 -07:00
qcms Bug 1250461. Don't reject profiles with negative colorant tristiumlus value on macOS. r=mstange 2017-10-12 11:46:08 -04:00
sfntly Bug 1353650 - Part 3: Add missing includes in subsetter_impl.cc. r=jfkthame 2017-04-05 16:19:55 +02:00
skia Bug 1387079 - only use SkRasterPipeline when SkJumper is accelerated. r=jrmuizel 2017-10-10 15:49:13 -04:00
src Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
tests Bug 1408296 - Enable some crashtests for webrender. r=kats 2017-10-13 11:56:04 +08:00
thebes Bug 1404035 Address an unused result warning in gfx/thebes/DeviceManagerDx.cpp r=dvander 2017-09-28 12:53:24 -05:00
vr Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
webrender Bug 1407213 - Update webrender to commit a624aa6d3b6006c510c8b14026567af4ac545d2f. r=jrmuizel 2017-10-13 12:51:07 -04:00
webrender_api Bug 1407213 - Update webrender to commit a624aa6d3b6006c510c8b14026567af4ac545d2f. r=jrmuizel 2017-10-13 12:51:07 -04:00
webrender_bindings Bug 1407213 - Update bindings for changes in WR PR 1853. r=jrmuizel 2017-10-13 12:58:32 -04:00
ycbcr Backed out changeset 9c974e493c3f (bug 1215089) 2017-10-04 16:25:57 +02:00
moz.build Bug 1402862 - Remove ENABLE_INTL_API conditional from gfx build files. r=milan 2017-09-25 17:32:47 +01:00