Jeff Gilbert
70a22b2878
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Andi-Bogdan Postelnicu
783a0fa8c6
Bug 1453795 - Widget - Initialize member fields in classes/ structures. r=jimm
2018-06-15 17:48:51 +03:00
Tooru Fujisawa
ac0b60b07e
Bug 1378585 - Remove unused nsDragDropEventStatus enum. r=masayuki
2018-05-31 15:15:48 +09:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Zhang Junzhi
2011c13d89
Bug 1358017 - Part 1: Adds some comments, renames some identifiers and refactors some other trivial things. r=kats,masayuki
...
Do some work in preparation for implementing actual functionalities for this
bug. No actual functionality change is involved in this commit.
MozReview-Commit-ID: 5aLhr38n1N4
2018-03-15 16:31:07 +08:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Boris Zbarsky
e75abe2e0c
Bug 1446527 part 4. Remove nsIDOMUIEvent::SCROLL_PAGE_* constants. r=qdot
...
MozReview-Commit-ID: 6F9Q6kOogEo
2018-03-26 14:53:02 -04:00
Boris Zbarsky
72b3558850
Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot
...
We can't include MouseEventBinding.h in MouseEvents.h because that produces
this include loop:
MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> MouseEventBinding.h
MozReview-Commit-ID: 6FNksGil7uD
2018-03-20 00:16:06 -04:00
Boris Zbarsky
29226b0510
Bug 1446851. Get rid of nsIDOMWheelEvent. r=qdot
...
We can't include WheelEventBinding.h in MouseEvents.h because that produces
this include loop:
WheelEventBinding.h -> MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> WheelEventBinding.h
MozReview-Commit-ID: 5KNwH69aJYW
2018-03-20 00:16:05 -04:00
Olli Pettay
3e750da23d
Bug 1425441 - Move relatedTarget to WidgetEvent, r=stone
2017-12-18 19:08:11 +02:00
Stone Shih
3e441557af
Bug 1303957 Part1: Add support for PointerEvent.getCoalescedEvents. r=smaug.
...
We implement PointerEvent.getCoalescedEvents as
1. Clone the widget events we coalesced.
2. Convert them to dom::PointerEvent when user calls getCoalescedEvents.
MozReview-Commit-ID: 8IKw4PbUsDD
2017-09-20 13:00:57 +08:00
Masayuki Nakano
e3a8d1f1b6
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
2017-10-05 01:12:35 +09:00
Stone Shih
9b3b9658a3
Bug 1323158 - Part 1: Fire pointer and mouse boundary events when capturing the pointer. r=smaug
2017-01-18 15:25:44 +08:00
Stone Shih
836c502e58
Bug 1292064 - [Pointer Event] Add digitizer/pen tangential (barrel) pressure and twist. r=smaug
2017-02-09 10:49:00 +08:00
Stone Shih
1169fc52aa
Bug 1323976 - Part 1: Add eNoButton to WidgetMouseEventBase::buttonType. r=smaug
...
MozReview-Commit-ID: FYUhdfKj5wT
2017-01-12 17:53:38 +08:00
Stone Shih
a7af845fd7
Bug 1031362 Part1: Dispatching mouse events by handling pen generated WM_POINTER* messages. r=jimm,smaug
2016-11-20 10:24:46 +08:00
Carsten "Tomcat" Book
e97c430a2f
Backed out changeset 1413fa802632 (bug 1031362) for test failures in pointerevents/test_touch_action.html
2016-12-20 14:52:23 +01:00
Stone Shih
c5455f27c3
Bug 1031362 Part1: Dispatching mouse events by handling pen generated WM_POINTER* messages. r=jimm,smaug
2016-11-20 10:24:46 +08:00
Stone Shih
9db60f4d44
Bug 1299197 Part1: Refine WidgetPointerHelper. r=smaug
2016-11-20 09:36:39 +08:00
Stone Shih
859ac5cd61
Bug 1304315 - [Pointer Event] Make all pointer events's default width/height to 1. f=bevistseng. r=smaug,masayuki.
2016-09-21 16:26:21 +08:00
Nicholas Nethercote
887efe04d5
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
2016-09-01 15:01:16 +10:00
Stone Shih
21b8e33915
Bug 1292067 - Make width/height of pointer default to 1. f=bevistseng. r=smaug
2016-08-10 13:04:33 +08:00
Masayuki Nakano
40acbab2c1
Bug 1259665 part.3 Rename WidgetPointerEvent::isPrimary to mIsPrimary r=smaug
...
MozReview-Commit-ID: LfKzpwCjMcz
2016-08-03 17:34:53 +09:00
Masayuki Nakano
c5656a4a70
Bug 1259665 part.2 Rename WidgetPointerEvent::height to mHeight r=smaug
...
MozReview-Commit-ID: Ji4X53dByiH
2016-08-03 17:23:56 +09:00
Masayuki Nakano
17a5aa85fe
Bug 1259665 part.1 Rename WidgetPointerEvent::width to mWidth r=smaug
...
MozReview-Commit-ID: 3V5gyOvPuQi
2016-08-03 17:18:04 +09:00
Masayuki Nakano
ece7c70d7e
Bug 1259661 part.10 Clean up some nits of WidgetMouseEvent definition r=smaug
...
MozReview-Commit-ID: 9e4F8gOmRpZ
2016-05-10 21:57:16 +09:00
Masayuki Nakano
94e8c148d6
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
2016-05-10 23:29:14 +09:00
Masayuki Nakano
01372509b5
Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
...
MozReview-Commit-ID: 98G9UMv4qqj
2016-05-10 21:15:05 +09:00
Masayuki Nakano
bb62050d80
Bug 1259661 part.7 Get rid of WidgetMouseEvent::acceptActivation because of unused r=smaug
...
MozReview-Commit-ID: ItkudUhGGN4
2016-05-10 21:01:15 +09:00
Masayuki Nakano
14247f7bba
Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
...
MozReview-Commit-ID: FHUaUOE5eIB
2016-05-12 11:42:08 +09:00
Masayuki Nakano
e8a294f9cb
Bug 1259661 part.5 Rename WidgetMouseEvent::context to WidgetMouseEvent::mContextMenuTrigger r=smaug
...
MozReview-Commit-ID: GDAAHiyRrhY
2016-05-12 11:39:05 +09:00
Masayuki Nakano
d3766dc0ef
Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
...
MozReview-Commit-ID: JaE0S7BIgVF
2016-05-12 11:36:41 +09:00
Masayuki Nakano
47a494875e
Bug 1259661 part.3 Rename WidgetMouseEvent::exitType to WidgetMouseEvent::ExitFrom r=smaug
...
MozReview-Commit-ID: 8NdDccCrTS7
2016-05-12 11:32:53 +09:00
Masayuki Nakano
870dc38ce7
Bug 1259661 part.2 Rename WidgetMouseEvent::context to WidgetMouseEvent::ContextMenuTrigger r=smaug
...
MozReview-Commit-ID: 2amULUnzsxc
2016-05-12 11:28:14 +09:00
Masayuki Nakano
55999dedc8
Bug 1259661 part.1 Rename WidgetMouseEvent::reasonType to WidgetMouseEvent::Reason r=smaug
...
MozReview-Commit-ID: 3bx2Z32rwb1
2016-05-12 11:17:46 +09:00
Stone Shih
a4c64e9790
Bug 386743 - Set default event bubbling/cancelable flags in the WidgetEvent constructor. r=smaug
2016-04-13 14:16:42 +08:00
Maksim Lebedev
bbd3835fdc
Bug 1000870 - Add some features in testing system. r=smaug
2015-05-19 07:03:00 +02:00
shundroid
4f50891236
Bug 1259663 - Clean up WidgetMouseScrollEvent. r=masayuki
...
MozReview-Commit-ID: F98luwO9y1N
2016-04-06 16:44:11 +09:00
Masayuki Nakano
7b10ff31ef
Bug 1259664 part.13 Reorder the definition of members of WidgetWheelEvent r=smaug
...
MozReview-Commit-ID: 345QqjCPdSA
2016-04-01 00:46:18 +09:00
Masayuki Nakano
489b06cacf
Bug 1259664 part.12 Rename WidgetWheelEvent::overflowDeltaY to WidgetWheelEvent::mOverflowDeltaY r=smaug
...
MozReview-Commit-ID: GGvQZlvc4sl
2016-04-01 00:36:55 +09:00
Masayuki Nakano
3a862e466e
Bug 1259664 part.11 Rename WidgetWheelEvent::overflowDeltaX to WidgetWheelEvent::mOverflowDeltaX r=smaug
...
MozReview-Commit-ID: CVKbougU4uT
2016-04-01 00:27:45 +09:00
Masayuki Nakano
e03653286f
Bug 1259664 part.10 Rename WidgetWheelEvent::lineOrPageDeltaY to WidgetWheelEvent::mLineOrPageDeltaY r=smaug
...
MozReview-Commit-ID: 64lFZosnMbd
2016-04-01 00:10:09 +09:00
Masayuki Nakano
f500b66a38
Bug 1259664 part.9 Rename WidgetWheelEvent::lineOrPageDeltaX to WidgetWheelEvent::mLineOrPageDeltaX r=smaug
...
MozReview-Commit-ID: 1j8SFp6bME4
2016-04-01 00:10:46 +09:00
Masayuki Nakano
6ecd6f6b8b
Bug 1259664 part.8 Rename WidgetWheelEvent::scrollType to WidgetWheelEvent::mScrollType r=smaug
...
MozReview-Commit-ID: 9Oywv8Yb0Qg
2016-03-31 23:54:42 +09:00
Masayuki Nakano
33f5661965
Bug 1259664 part.7 Rename WidgetWheelEvent::isMomentum to WidgetWheelEvent::mIsMomentum r=smaug
...
MozReview-Commit-ID: CornLj3WkyG
2016-03-31 23:45:55 +09:00
Masayuki Nakano
0b48391115
Bug 1259664 part.6 Rename WidgetWheelEvent::mayHaveMomentum to WidgetWheelEvent::mMayHaveMomentum r=smaug
...
MozReview-Commit-ID: E6kS0pkOZby
2016-03-31 23:36:49 +09:00
Masayuki Nakano
2250541f45
Bug 1259664 part.5 Rename WidgetWheelEvent::customizedByUserPrefs to WidgetWheelEvent::mCustomizedByUserPrefs r=smaug
...
MozReview-Commit-ID: 9GksNZRtmmb
2016-03-31 18:44:01 +09:00
Masayuki Nakano
586a5f0477
Bug 1259664 part.4 Rename WidgetWheelEvent::deltaMode to WidgetWheelEvent::mDeltaMode r=smaug
...
MozReview-Commit-ID: Ky3xp2NtBWq
2016-03-31 18:35:24 +09:00
Masayuki Nakano
62173cc91c
Bug 1259664 part.3 Rename WidgetWheelEvent::deltaZ to WidgetWheelEvent::mDeltaZ r=smaug
...
MozReview-Commit-ID: BbxTrLko8kp
2016-03-31 18:18:34 +09:00
Masayuki Nakano
77f5ef2288
Bug 1259664 part.2 Rename WidgetWheelEvent::deltaY to WidgetWheelEvent::mDeltaY r=smaug
...
MozReview-Commit-ID: 3xscKDblY4V
2016-03-31 18:09:47 +09:00