Commit Graph

137 Commits

Author SHA1 Message Date
Randall Barker
1075e0ad2c Bug 1204084 - Double tap gesture fails when tapping on a large element contained in an iframe or scrollable div. r=botond 2015-09-16 11:17:00 +02:00
Botond Ballo
73518fc4f5 Bug 1200063 - Add a generic implementation of nsITimerCallback that's usable with a lambda or other function object. r=kats
We can consider moving this to xpcom in the future.

--HG--
extra : source : 6511683402da8d3d893aecf6c39babab639a7daf
extra : intermediate-source : a84022dd2c07d269b6b4c6004a2ac4613486a760
2015-09-16 20:29:41 -04:00
Masayuki Nakano
683794135c Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Botond Ballo
b979ad25d3 Bug 1202312 - Use mozilla::Function for the ContentReceivedInputBlock callback. r=kats
--HG--
extra : source : d0d8d51c89955d70c72591b424e18790973e8805
2015-09-11 12:52:43 -04:00
Botond Ballo
976c25b63c Bug 1202312 - Use mozilla::Function for the SetAllowedTouchBehavior callback. r=kats
--HG--
extra : source : 168244f8869806e0fb6b318a938e46b706972f94
2015-09-11 12:27:49 -04:00
Markus Stange
bce923c470 Bug 1016035 - Make APZEventState report defaultPrevented=true when the event started a swipe. r=kats
--HG--
extra : commitid : 4scVCanEMYd
extra : rebase_source : a9ff41cb1a7f681fae4b352b8b5337bf0ce41ff2
2015-08-11 23:35:16 -04: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
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
Markus Stange
8c83121309 Bug 1193062 - Don't double-send target APZC confirmations that might race each other. r=kats
When scrolling an inactive subframe, the target APZC confirmation needs to be sent along with the layers transaction. If a new wheel event comes in while that target APZC notification is in-flight, the subframe will already have a display port, so the confirmation will be sent in a more direct fashion and can arrive at the APZ controller thread before the new APZC for the scroll frame has been created. Then the current input block will have a null target APZC and no scrolling will happen until a new input block is created. (For wheel transactions, a null target APZC ends the transaction, so the next event will create a new input block.)

--HG--
extra : commitid : Ij9XfKKZAqe
extra : rebase_source : 66196ed4e3e98159f7b17f7e8d90c5f2985425e6
extra : histedit_source : c028ec2f7817bb8d9396849495bfeaa17cbe7064
2015-08-11 16:51:46 -04:00
Masayuki Nakano
0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Masayuki Nakano
66f2c27305 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Benoit Girard
074eb08eb1 Bug 1186662 - Part 1: Add SuppressDisplayport painting and use it during tab switch. r=kats,mconley
--HG--
extra : commitid : 9fUfVIK8ikm
extra : rebase_source : e45570f97a25f965d2caf24f152da02efcf6495f
2015-08-19 17:08:41 -04:00
Randall Barker
cba97f4dd0 Bug 1188225 - Implement ChromeProcessController::HandleDoubleTap. r=botond
--HG--
extra : rebase_source : 305df059dcdaa23962a0864036e7fd8b179c1c42
2015-08-13 18:26:00 -04:00
Kartikaya Gupta
17ecefdf0b Bug 1190936 - Attempt some graceful handling for an unexpected situation that otherwise crashes the browser. r=botond
--HG--
extra : commitid : 5JOyeQ0xZLq
2015-08-05 14:40:11 -04:00
Botond Ballo
fac300df40 Bug 1131359 - Port the double-tap-to-zoom functionality of BrowserElementPanning.js to C++. r=kats
--HG--
extra : rebase_source : d897a9ececcae556805fbe68e8a3b6cf6d8fbbab
2015-07-27 14:07:58 -04:00
Bobby Holley
97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Kartikaya Gupta
67be4e1c9c Bug 1187792 - Don't set the SPCSPS unless meta-viewport or zooming is enabled. r=botond 2015-07-27 22:09:37 -04:00
Kartikaya Gupta
61b7978daf Bug 1134917 - Hoist assertion into the one callsite where it is actually valid. r=botond 2015-07-24 14:33:47 -04:00
Kartikaya Gupta
1da529b8b9 Bug 1178847 - Move the code from ChromeProcessController::InitializeRoot to APZCCallbackHelper so it can be reused in the child process. r=botond 2015-07-21 10:51:22 -04:00
Carsten "Tomcat" Book
ba1aa77d2d Backed out changeset 2b2d3c44819e (bug 1178847) for windows reftest failures/assertions 2015-07-21 08:35:29 +02:00
Kartikaya Gupta
5c478d4297 Bug 1178847 - Move the code from ChromeProcessController::InitializeRoot to APZCCallbackHelper so it can be reused in the child process. r=botond 2015-07-20 18:19:40 -04:00
Botond Ballo
9eadc95b3f Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
--HG--
extra : rebase_source : 33d5abb8f12f1173ae50d1712f15e273f9b26ace
extra : source : 4bd2e2744ef1b914d2859f3433b6b9026d91401b
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Morris Tseng
2368c2a733 Bug 1182950 - Fix compile error in non-unified build. r=botond 2015-07-12 23:23:00 -04:00
Robert O'Callahan
03d5043265 Bug 1143575. Add some #includes to avoid more unified-build issues on Windows. r=nical
--HG--
extra : commitid : LAYd8Vr7a6D
extra : rebase_source : 7338bc61bbfbc0f464d50e2d1b1842ed1d4082ba
2015-06-09 14:35:04 +12:00
Robert O'Callahan
bf17280c42 Bug 1143575. Add some #includes to avoid unified-build issues on Windows. r=nical
--HG--
extra : commitid : 8xmF8987SNT
extra : rebase_source : a46a60f95c781019cb7bfd554524965efd851064
2015-06-09 05:27:37 +12:00
Kartikaya Gupta
bb5c403109 Bug 1169802 - Temporary workaround for a deeper bug, to prevent an assertion from firing. r=botond 2015-07-06 15:36:56 -04:00
Kartikaya Gupta
1d81392d69 Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-06-19 08:25:41 -04:00
Kartikaya Gupta
d216c84c8b Bug 1055557 - Ensure the right presShell resolution is used in ApplyCallbackTransform for fennec-apz scenarios. r=botond 2015-06-17 12:34:42 -04:00
Kartikaya Gupta
815a3d5741 Bug 1163572 - Modify UpdateSubFrame to automatically figure out the nsIContent from the scrollId. r=botond 2015-06-15 14:39:06 -04:00
Kartikaya Gupta
171ee5bc2c Bug 1163572 - Have ChromeProcessController also handle root-frame repaint requests. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
Kartikaya Gupta
ba0013b256 Bug 1163572 - Modify UpdateRootFrame to automatically compute the nsIContent* and nsIPresShell* from the metrics. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
Botond Ballo
4958aa7c1b Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
Carsten "Tomcat" Book
4542803729 Backed out changeset 99011d150a1d (bug 1163572) for b2g ics debug bustage on a CLOSED TREE 2015-06-01 13:03:30 +02:00
Danilo Cesar Lemes de Paula
a96537264b Bug 1163572 - Override ChromeProcessController::RequestContentRepaint to detect root-frame updates. r=botond
--HG--
extra : rebase_source : ce40f9e8eb5f4ace49cccef266ebe3ea562c9c5a
2015-05-28 06:54:00 +02:00
Kartikaya Gupta
b54dc47f24 Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta
86ed888daa Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-05-22 06:42:08 -04:00
Maksim Lebedev
43ec4fa0cc Bug 1162009 - Add TOUCH_CANCEL sending on e10s. r=kats 2015-05-14 08:16:00 -04:00
Timothy Nikkel
5c4779f4b5 Bug 1162648. When updating layout with the latest async values from the APZC do the scrolling last because it can flush layout. r=botond,kats
If we flush layout after the new scroll position clamping scroll port size but the old resolution then the scrollbars will be placed in the wrong spot.
2015-05-13 15:52:09 -05:00
Kartikaya Gupta
8e6dbbf17c Bug 1161592 - If we don't get a target frame from the touch point try using the root scrollable frame. r=botond 2015-05-08 13:51:35 -04:00
Ryan VanderMeulen
d6155ddbf6 Merge m-c to fx-team. a=merge 2015-05-01 13:00:21 -04:00
Danilo Cesar Lemes de Paula
8b923d9267 Bug 1156401 - Fix ContextMenu handling when building Fennec with C++ APZ. r=kats, r=botond
This commit deals with the situation where there's no scrollable element
on a fennec's page. It uses the Top Most root element (Xul viewport)
instead.

So this fixes the situation when the tap/click was not being send to the
correct dom element.
2015-04-30 06:09:00 -04:00
Kartikaya Gupta
03de57ce9a Bug 1159455 - Fix assorted debugging strings in APZ code. r=botond 2015-04-30 14:30:37 -04:00
Kartikaya Gupta
ca4c4fda69 Bug 1158323 - Make sure we set a base rect on document elements that have margins set. r=tn 2015-04-29 07:22:27 -04:00
Andrea Marchesini
ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00