Commit Graph

416 Commits

Author SHA1 Message Date
David Anderson
d5f5fe7d8b Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 20:44:43 -04:00
Maksim Lebedev
daa184dcdd Bug 1162009 - Add TOUCH_CANCEL sending on e10s. r=kats 2015-05-14 08:16:00 -04:00
Masayuki Nakano
315a5e3351 Bug 1130935 part.6 Selection change notification should have selection range and writing mode information r=smaug 2015-05-15 10:18:08 +09:00
David Anderson
939778f3ee Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Kartikaya Gupta
b08c392edf Bug 1162179 - Don't create APZCTreeManagers for windows which aren't multiprocess. r=dvander 2015-05-06 19:15:10 -04:00
Anthony Tseng
fde5de9cff Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
Mason Chang
6234c63a28 Bug 1155823 - Properly shutdown the CompositorVsyncDispatcher. r=kats 2015-04-29 08:48:31 -07:00
Milan Sreckovic
75825432c8 Bug 1158284 - Utility in gfxPlatform to check for safe mode, lazier computation if we should accelerate and random cleanup of prefs usage. r=botond 2015-04-24 12:33:35 -07:00
Kartikaya Gupta
bc2bf92d19 Bug 1154739 - On desktop platforms, only enable APZ in e10s windows. r=dvander,mstange 2015-04-27 16:13:29 -04:00
Kartikaya Gupta
664872d767 Bug 1154739 - Rename flag to be more general. r=billm 2015-04-27 16:13:29 -04:00
Jim Mathies
add86fa4ec Bug 1156283 - Avoid shutdown observer race when shutting down gfx on Mac. r=roc 2015-04-21 05:24:21 -05:00
L. David Baron
fc7825a554 Bug 1153570 - Remove AutoUseBasicLayerManager, which has been unused since 78b90e6c491b (bug 676241 part 3). r=mstange 2015-04-16 18:13:14 -07:00
Jim Mathies
beb06834b4 Bug 1153939 - Avoid a race condition with setting nsBaseWidgets WidgetShutdownObserver widget pointer to null. Fixes a crash in nsBaseWidget::DestroyCompositor(). r=roc 2015-04-16 10:16:04 -05:00
Nicolas Silva
1204964bc1 Bug 1151644 - Don't disallow the basic compositor backend. r=jrmuizel 2015-04-16 07:57:00 +02:00
David Anderson
10d2eaa0f9 Fix APZ target confirmations arriving before dependent layer transactions. (bug 1154130, r=kats) 2015-04-14 12:24:32 -04:00
Kartikaya Gupta
1d4cf8a4ec Bug 1146349 - Wire up native event synthesization in child processes. r=smaug 2015-04-14 11:36:36 -04:00
Kartikaya Gupta
f8465229d0 Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Bob Owen
ab88ebd3af Bug 1149971 Part 2: Cet rid of kCurrentProcessId as it makes lots of static initializers. r=dvander 2015-04-01 13:59:20 +01:00
Nicolas Silva
6b526ef5d4 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Bob Owen
7517f0b07d Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
David Anderson
1dd324befd Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats) 2015-03-26 14:23:02 -07:00
Maksim Lebedev
bb4d99f399 Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Kartikaya Gupta
43eb6f1601 Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm 2015-03-19 06:37:39 -04:00
Kartikaya Gupta
ee722fd053 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
David Anderson
92c9774265 Add helper for applying async transforms to widget input events. (bug 1143567 part 1, r=kats) 2015-03-16 16:29:53 -07:00
Nicolas Silva
8c5320ba93 Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00
Nicolas Silva
be43a07dde Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Carsten "Tomcat" Book
39dca8a9c6 Backed out changeset 622f0877bc3f (bug 1125848) for e10s bustage 2015-03-10 12:38:55 +01:00
Nicolas Silva
cb5859d28b Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Nicolas Silva
c53767a0a1 Bug 1125848 - Reduce the likelyhood of a CompositorParent being destroyed without the proper shutdown sequence. r=sotaro 2015-03-09 10:46:56 +01:00
dvander@alliedmods.net
cfaa1866d1 Factor out how APZ-aware events are dispatched from widgets. (bug 1126090 part 2, r=kats) 2015-03-06 14:26:59 -08:00
Sotaro Ikeda
0823367e5c Bug 1133426 - Care about new CompositorChild and CompositorParent re-creation. 2015-02-22 08:53:37 -08:00
David Anderson
4011c8a574 Add weak reference support to nsBaseWidget. (bug 1133150, r=roc) 2015-02-17 22:27:53 -08:00
Botond Ballo
e650b61f1f Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats 2015-02-09 19:06:06 -05:00
Botond Ballo
d2e40b7dc3 Bug 1127066 - Use APZEventState in nsBaseWidget. r=kats 2015-02-06 19:45:23 -05:00
Botond Ballo
3343d35ae4 Bug 1127066 - Implement proper sending of target-apzc notification and creation of displayport in the root process. r=kats 2015-02-06 18:11:30 -05:00
Botond Ballo
9d9f99444f Bug 1127066 - Apply the APZ callback transform to touch events targeted to the root process. r=kats 2015-02-04 12:52:18 -05:00
Botond Ballo
5e20d7fcb1 Bug 1125422 - Correctly determine whether a touch event was prevent-defaulted in the chrome process. r=kats 2015-02-10 16:28:07 -05:00
Kartikaya Gupta
f11fa3805c Bug 930939 - Switch the B2G controller thread from the main thread to the compositor thread. r=botond,mwu 2015-02-10 08:24:23 -05:00
Nicholas Nethercote
0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Robert O'Callahan
332834fce3 Bug 1129774. Part 6: Remove aContext parameter from nsIWidget::CreateChild. r=jmathies 2015-02-05 18:38:47 +13:00
Robert O'Callahan
0021805640 Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies 2015-02-05 20:35:25 +13:00
Robert O'Callahan
5511614551 Bug 1129774. Part 4: Remove aContext parameter from AttachViewToTopLevel. r=jmathies 2015-02-05 18:33:49 +13:00
Robert O'Callahan
b45a5aee79 Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies 2015-02-05 18:18:30 +13:00
Robert O'Callahan
85f2b99239 Bug 1129774. Part 2: Remove nsBaseWidget::mContext. r=jmathies 2015-02-05 17:54:45 +13:00
Robert O'Callahan
e74a69e215 Bug 1129774. Remove unused nsBaseWidget::GetDeviceContext. r=jmathies 2015-02-05 17:03:32 +13:00
Nicholas Nethercote
40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Botond Ballo
7cbd10cad3 Bug 1128527 - Only create an APZCTreeManager for widgets for toplevel and child windows. r=kats,Bas 2015-02-04 12:53:07 -05:00