Commit Graph

339 Commits

Author SHA1 Message Date
Kartikaya Gupta
83d545c3f3 Bug 988494 - Add some double-tap gtests. r=botond 2014-07-16 08:33:50 -04:00
Kartikaya Gupta
4a536f8719 Bug 1009733 - Add more test coverage for panning and pinching cancelled by prevent-default. r=botond 2014-07-16 08:33:50 -04:00
Kartikaya Gupta
cc205ca66b Bug 1009733 - Rewrite much of the APZC input block handling code. r=botond 2014-07-16 08:33:50 -04:00
Kartikaya Gupta
ea1e22583e Bug 1037591 - Remove useless Constructor test and redundant tester. r=botond 2014-07-14 19:07:54 -04:00
Kartikaya Gupta
3b98320bfb Bug 1037591 - Move a bunch of boilerplate code into the tester classes. r=botond 2014-07-14 19:07:54 -04:00
Kartikaya Gupta
6a8402c2b0 Bug 1037591 - Move DoPanTest down to be with the pan tests. r=botond 2014-07-14 19:07:54 -04:00
Kartikaya Gupta
0d7d381ac0 Bug 1037591 - Split the ApzcPinch* functions into two so that the status checks are separated. r=botond 2014-07-14 19:07:54 -04:00
Kartikaya Gupta
bace1a3968 Bug 1037591 - Split ApzcPan into two so that the status checks are separated. r=botond 2014-07-14 19:07:53 -04:00
Kartikaya Gupta
4551d91610 Bug 1037591 - Modify ApzcPan to use ApzcUp and ApzcDown; reformat some code. r=botond 2014-07-14 19:07:53 -04:00
Kartikaya Gupta
aaf4bc5aa1 Bug 1037591 - Unite the TestScopedBoolPref and TouchActionEnabledTester into a general pref solution. r=botond 2014-07-14 19:07:53 -04:00
Kartikaya Gupta
943f35f8bf Bug 1037591 - Remove unused container layer subclass. r=botond 2014-07-14 19:07:52 -04:00
Botond Ballo
d655d1fc8c Bug 1034376 - Avoid APZC being stuck in overscrolled state when CancelAnimation() is called during panning. r=kats
--HG--
extra : rebase_source : bbc3a02d6be7081be77b58cb2795aa57ce794002
2014-07-14 12:54:41 -04:00
Kartikaya Gupta
a292bda928 Bug 1037409 - Remove some gtests that don't map to real-world scenarios. r=nicklebedev 2014-07-14 12:48:48 -04:00
Kartikaya Gupta
db8b7154e3 Bug 1037019 - Remove the mTouchActionPropertyEnabled flag in APZC and flip the pref directly in the tests. r=botond 2014-07-11 08:25:13 -04:00
Kartikaya Gupta
c7ba9819bc Bug 1037019 - Add the ability to set prefs in gfxPrefs. r=milan 2014-07-11 08:25:12 -04:00
Mike Hommey
07267c6f7f Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Jonathan Kew
65a2f6fb2d bug 1034403 - update index to step past the second half of a surrogate pair. r=roc 2014-07-06 12:51:27 +01:00
Kartikaya Gupta
6350cec6be Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Kartikaya Gupta
aff6c2a168 Bug 1031024 - Add a test for canceling fling animations to ensure overscroll is cleared. r=drs 2014-06-27 16:39:27 -04:00
Kartikaya Gupta
1ab71deca1 Bug 1031024 - Fix up the OverScrollPanning gtest to actually test overscrolling. r=drs 2014-06-27 16:39:11 -04:00
Kartikaya Gupta
fcf2a64e90 Bug 1022956 - When fling velocity is high, don't let tap gestures trigger clicks to content. r=drs r=Bas 2014-06-26 18:37:44 -04:00
Gijs Kruitbosch
de6227f636 Bug 1030090 - tests shouldn't destroy gfxPrefs, r=bjacob 2014-06-25 15:09:02 +01:00
Mike Hommey
a28854c595 Bug 1027448 - Fix building gfxSurfaceRefCountTest.cpp with system cairo. r=mshal 2014-06-20 17:32:41 +09:00
Nicolas Silva
114ff5488a Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob 2014-06-11 14:57:58 -04:00
Brian Birtles
dba77091dc Bug 77992 part 1.0 - Add timeStamp to WidgetEvent; r=smaug
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
2014-06-06 14:29:49 +09:00
Markus Stange
77d71a6e61 Bug 1020389 - Call apzc->Destroy() at the end of AsyncPanZoomControllerTester.Fling and AsyncPanZoomControllerTester.OverScrollPanning in order to avoid leaking the content controller. r=kats 2014-06-04 18:02:53 +02:00
Jonathan Watt
c92d38ecb9 Bug 1019704 - Stop creating Thebes backed gfxContexts in the old gtests. r=mattwoodrow 2014-06-04 08:08:39 +01:00
Nick Lebedev
448ecdf48d Bug 1014838 - Add testing of the apzc state correctness after tap gestures. r=kats, r=botond 2014-05-29 23:00:31 -07:00
Geoff Brown
320b57a883 Bug 979921 - Enable some crashtests on Android 2.3; r=dminor 2014-05-27 06:46:15 -06:00
Botond Ballo
b7850d11ba Bug 998025 - Have APZ gtests clear the overscroll handoff chain when appropriate. r=kats
--HG--
extra : rebase_source : 8253d35c2e0c610398c6b0d3f812552d0a09c246
2014-05-22 17:17:39 -04:00
Botond Ballo
f035fcf2f8 Bug 998025 - Ignore touch events when in an overscrolled state. r=kats
--HG--
extra : rebase_source : c7b6928915d589773aa536cf002c70c9e26fd371
2014-05-22 14:49:43 -04:00
Nick Lebedev
42471cb297 Bug 1013378. Make GestureEventListener not to pass apzc status up for touchend event since it causes apzc stay in touching state after gestures completed. r=kats 2014-05-22 20:42:15 -04:00
Jeff Muizelaar
9f361e40d9 Bug 1014654. Handle empty regions in SimplifyOutwardByArea(). 2014-05-22 12:36:32 -04:00
Kartikaya Gupta
f902ce98ac Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov 2014-05-16 14:40:01 -04:00
Ryan VanderMeulen
96ed00e142 Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Kartikaya Gupta
718ea608fd Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov 2014-05-16 11:26:00 -04:00
Botond Ballo
d2b6591c54 Bug 961289 - Assign sequence numbers to paints on the client side and forward them to the compositor. r=BenWa,kats
--HG--
extra : source : d5331eaed1c789ac0248e8710a7b4a167ae349b6
2014-05-06 17:26:13 -04:00
Nick Lebedev
f7d113e6a4 Bug 964750 - Make GestureEventListener rely on the EventStatus returned from the apzc. Add a check to apzc if touch-action allows zooming. Update apzc tests accordingly. r=drs 2014-05-05 11:23:00 -04:00
Jeff Muizelaar
213d4b6525 Bug 945079 - Add a way to simplify regions based on the change in volume. r=mattwoodrow 2014-05-06 16:39:34 -04:00
Kartikaya Gupta
e2d65692a2 Bug 1002754 - Add a more comprehensive mechanism to disable thread assertions in APZ gtests. r=botond 2014-05-02 11:12:47 -04:00
Benoit Jacob
d6cc951507 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
01868df539 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Blair McBride
3b0373f215 Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
9a5c85f26f Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
f069a1b4e7 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Maksim Lebedev
39d6a3538b Bug 979345 - Implement "touch-action: manipulation" CSS value for Pointer Events. r=kats,botond,dbaron,mbrubeck 2014-04-23 09:56:46 -04:00
Maksim Lebedev
6a9480940b Bug 996457 - Make apzc's LongPressPreventDefault test consider the touch action property. r=kats 2014-04-21 11:30:15 -04:00
Botond Ballo
ff89b98a1c Bug 996070 - Fix order of arguments to EXPECT_EQ in APZ gtests. r=kats
--HG--
extra : source : 5b68197e4d07897060c0f7733e0de176cfa8d736
2014-04-15 17:56:05 -04:00
Botond Ballo
b674de9ffc Bug 976605 - Fix up APZ gtests to call APZC::SetAllowedTouchBehavior() at the correct time. r=kats
--HG--
extra : source : f168fc394c3d61b7375530d0d294d84cecc6207a
2014-04-14 14:59:20 -04:00
Ed Morley
af222c635b Backed out changeset 037f46cdfd80 (bug 976605) 2014-04-15 17:45:10 +01:00