Ryan VanderMeulen
a4a5b28112
Merge m-c to inbound. a=merge
2015-08-30 15:44:58 -04:00
Markus Stange
d1afc73357
Bug 1016035 - Swallow the rest of the scroll gesture after swiping without APZ. r=kats
...
With APZ this is handled because starting a swipe interrupts the PanGesture input block, and momentum events don't start a new input block so APZ ignores them.
--HG--
extra : commitid : 83ArxgT5QUT
extra : rebase_source : afccf434dc0e309f972ff9851efc018374f0f5f6
2015-08-27 00:23:09 -04:00
Markus Stange
2705f93fbd
Bug 1016035 - Don't wait for content to say that we need to swipe if APZ has enough information. r=kats
...
--HG--
extra : commitid : CUZqiDbltTx
extra : rebase_source : 90fb8cf0023177b7bb98ff93c5667c8dbc153f29
2015-08-28 16:50:00 -04:00
Gijs Kruitbosch
d4ece47e19
Bug 1179395 - do not get individual titlebar button measurements on win8+ because we never use them, r=jimm
...
--HG--
extra : commitid : 1mMmK75maqh
extra : rebase_source : 87965a4dcd4e53481f8b20cd4ef998f8cb3d125f
extra : histedit_source : 410b98e7259a0992045ced2a8224b52cf5b99dbf
2015-08-28 14:11:07 +01:00
Masayuki Nakano
1ec05e1f5f
Bug 1199224 TSFTextStore should clear mLockedContent unless it needs to wait the content to be modified asynchronously r=emk
2015-08-28 23:17:37 +09:00
Markus Stange
aa7c0f00b2
Bug 1016035 - Replay the queue to the swipe tracker once the swipe start confirmation arrives. r=kats
...
--HG--
extra : commitid : FEp3mcc2uy4
extra : rebase_source : bbdb018989c8c6933530e3d80b893622959e61d5
2015-08-08 20:05:18 -04:00
Markus Stange
da1faad800
Bug 1016035 - Add nsIWidget::ReportSwipeStart and call it after processing wheel events that can trigger swipes. r=kats
...
--HG--
extra : commitid : 7uuuyRZdrT5
extra : rebase_source : 063bdfde71bc50831f28e7ab48d868670ba5bfdc
2015-08-28 01:10:48 -04:00
Markus Stange
56ebd83e96
Bug 1016035 - Put PanGestureInput events into a queue if they can end up as a swipe. r=kats
...
--HG--
extra : commitid : 9kUjH20aBKE
extra : rebase_source : a26b7d73455c8aa7c7cbc09a5851f96115ccce54
2015-08-12 00:15:32 -04:00
Markus Stange
49c4d7a190
Bug 1016035 - Delay the processing of a PanGestureInput block until we know whether it's a swipe. r=kats
...
--HG--
extra : commitid : 5utp02GzYAW
extra : rebase_source : 4415c7ac8fd3a8dbb718593bee63e89e8ba1625c
2015-08-12 00:11:54 -04:00
Markus Stange
cb47c7a8c0
Bug 1016035 - Also mark widgetWheelEvents that are handled by APZ with mCanStartSwipe. r=kats
...
--HG--
extra : commitid : FJh4FS3u6ZW
extra : rebase_source : b807f93b640a9196df7bdc9e85e9f2755d63cf58
2015-08-28 00:04:53 -04:00
Markus Stange
ec85d9a195
Bug 1016035 - Add mCanTriggerSwipe and TriggersSwipe(). r=masayuki
...
--HG--
extra : commitid : KgRjAfDWA22
extra : rebase_source : ed49b589a78b704df55259e87f646ce6002c995f
2015-08-27 23:50:31 -04:00
Markus Stange
cf1dda7e99
Bug 1016035 - Send MayStartSwipe event before sending the wheel event. r=kats
...
--HG--
extra : commitid : 7pVl7ofWdlj
extra : rebase_source : bab80612fcb30fea78e7de7c76d67953bbac0822
2015-08-08 18:31:58 -04:00
Markus Stange
e375d1773a
Bug 1016035 - Split up MaybeTrackScrollEventAsSwipe into SendMayStartSwipe and TrackScrollEventAsSwipe. r=kats
...
--HG--
extra : commitid : LBN6rl9h8ew
extra : rebase_source : 5cdece260979a605a0ba960fe86a06b671b799ab
2015-08-11 23:12:57 -04:00
Markus Stange
b71fa67c2b
Bug 1016035 - Move swipe tracking code into DispatchAPZWheelInputEvent. r=kats
...
--HG--
extra : commitid : IDeP95GZzE9
extra : rebase_source : 66e0d989246455b9df6a2e48426b67fe72be6be0
2015-08-28 17:30:16 -04:00
Markus Stange
0441fca5af
Bug 1016035 - Add a MozSwipeGestureMayStart event. r=kats
...
Having this event means that we don't have to wait for content to find out whether it's scrollable in the case that no swipe should be happening anyway.
IGNORE IDL because I'm only changing comments in the IDL files.
--HG--
extra : commitid : 22814fSLcIz
extra : rebase_source : e51b4db26333275c9bcb3fd7fece78b7d3653275
2015-08-27 15:06:21 -04:00
Markus Stange
0297e0ac04
Bug 1016035 - Implement the swipe animation ourselves instead of calling the NSEvent trackSwipe API. r=kats
...
--HG--
extra : commitid : 6RIOdEHnpgW
extra : rebase_source : e081714c029e41b1deb32e35ae065091a2086125
2015-08-27 16:07:59 -04:00
Markus Stange
643a50d406
Bug 1016035 - More swipe refactoring. r=kats
...
--HG--
extra : commitid : 8pS1g6YKTdm
extra : rebase_source : 79582bf4edd8824fcdcff09e4a9b704903dd228f
2015-07-23 15:17:28 -04:00
Markus Stange
d3135653b2
Bug 1016035 - Refactor the code that decides whether we want to start a swipe. r=kats
...
--HG--
extra : commitid : GQpV4B2tl5F
extra : rebase_source : 3ed119a441be0b099c5f7aaad1d054e2aa467a08
2015-08-27 14:20:56 -04:00
Markus Stange
c7f4a3e9d9
Bug 1016035 - Move some code around. r=kats
...
--HG--
extra : commitid : KEdRAC1nkQO
extra : rebase_source : 5fafa346f57d28d1efea2e159ac243e2f337542c
2015-08-27 14:19:15 -04:00
Markus Stange
da38b57964
Bug 1016035 - Remove the ability to swipe vertically. r=kats
...
This was intended for a snapshot-based overscroll animation which we're not going to use because APZ solves the same problem in a much better way.
--HG--
extra : commitid : BlfYHzREaWB
extra : rebase_source : c2b503dc9ed3b9a49ebb9626447dfedc627d1b4f
2015-07-23 13:09:13 -04:00
Xidorn Quan
bb9bcca6c0
Bug 1196163 followup 2 - Fix android bustage.
2015-08-29 12:30:32 +10:00
Xidorn Quan
b8b06dc08c
Bug 1196163 followup - Fix build bustage on Android.
...
--HG--
extra : rebase_source : 964d1961561b97c77ac313e4d79a52421946417e
2015-08-29 11:43:28 +10:00
Xidorn Quan
a8df2abe8c
Bug 1196163 part 2 - Send sizemode as part of UpdateDimensions message to TabChild. r=roc,smaug
...
--HG--
extra : source : 5286b311a8bd6da552ee806fba15224b1562a020
2015-08-29 11:12:41 +10:00
Xidorn Quan
f46a93871a
Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
...
--HG--
extra : source : cf438b9cb26ae512f792f075e4e22537ad6a38a7
2015-08-29 11:12:41 +10:00
Masayuki Nakano
83f18479ed
Bug 895274 part.38 Rename NS_MOUSE_MOZLONGTAP to eMouseLongTap r=smaug
2015-08-29 08:58:33 +09:00
Masayuki Nakano
2aad29c8a4
Bug 895274 part.37 Rename NS_MOUSELEAVE to eMouseLeave r=smaug
2015-08-29 08:58:33 +09:00
Masayuki Nakano
af5b384d9a
Bug 895274 part.36 Rename NS_MOUSEENTER to eMouseEnter r=smaug
2015-08-29 08:58:33 +09:00
Masayuki Nakano
e41398ce2f
Bug 895274 part.35 Rename NS_MOUSE_MOZHITTEST to eMouseHitTest r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
7645260328
Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
da4db5d296
Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
d9d97897f4
Bug 895274 part.32 Rename NS_MOUSE_ACTIVATE to eMouseActivate r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
a516285180
Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
b9439c75d9
Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
bd4bf17fbd
Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
9895f90eca
Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
8d32b818af
Bug 895274 part.24 Rename NS_MOUSE_MESSAGE_START to eMouseEventFirst r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
b324a55c19
Bug 895274 part.23 Rename NS_LANGUAGECHANGE to eLanguageChange r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
0515e5474e
Bug 895274 part.22 Get rid of NS_MOZ_USER_* since nobody is using them r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
3bf965bf66
Bug 895274 part.21 Rename NS_ONLINE to eOnline r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
1b90499ceb
Bug 895274 part.20 Rename NS_OFFLINE to eOffline r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
07ce780806
Bug 895274 part.19 Rename NS_PLUGIN_FOCUS to ePluginFocus r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
956405c088
Bug 895274 part.18 Rename NS_PLUGIN_ACTIVATE to ePluginActivate r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
2fbb0f1587
Bug 895274 part.17 Rename NS_SCROLL_EVENT to eScroll r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
b3c538f248
Bug 895274 part.16 Rename NS_RESIZE to eResize r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
b686bf9204
Bug 895274 part.15 Rename NS_KEY_AFTER_UP to eAfterKeyUp r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
e7cc73d938
Bug 895274 part.14 Rename NS_KEY_BEFORE_UP to eBeforeKeyUp r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
9e009e82ee
Bug 895274 part.13 Rename NS_KEY_AFTERE_DOWN to eAfterKeyDown r=smaug
2015-08-29 08:58:28 +09:00