gecko-dev/dom/ipc
Kartikaya Gupta 48a5a4c393 Bug 1298908 - On Windows, fire the contextmenu and long-tap events on the long-tap-up user action. r=botond,jimm
This patch prevents the Windows widget code from dispatching the contextmenu
event if APZ is handling touch input. Instead, the APZ code processes the
raw touch input, and will fire a contextmenu event when the user lifts their
finger after a long-press action, in keeping with the Windows platform
convention. Doing it this way also allows us to respect web conventions where
the web content can prevent the contextmenu event from firing by calling
preventDefault on the touchstart event; this was not possible when dispatching
the contextmenu event directly from the widget code.

This also makes long-pressing on browser chrome components work properly, as
it just shifts the point in time that the contextmenu event is fired without
changing any of the code that triggers the XUL popup. However, some changes
were needed to have the widget code ignore the synthetic mouse events that
the Windows platform sends us, because those would otherwise immediately
dismiss the contextmenu popup after it appeared.

MozReview-Commit-ID: 9HFZLC6xUAi

--HG--
extra : rebase_source : aea932d9f95454c585bcdf962d151c946b5c6ec2
2016-08-30 17:32:08 -04:00
..
tests Bug 1284674 - Remove NUWA r=cyu 2016-08-02 14:54:00 +02:00
AppProcessChecker.cpp Bug 1262590 - [e10s] AppProcessChecker.cpp has DEUBG typo preventing DEBUG messages. r=mconley 2016-04-15 16:40:00 +02:00
AppProcessChecker.h
Blob.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
BlobChild.h Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug 2016-03-20 11:56:10 +01:00
BlobParent.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
BlobTypes.ipdlh Bug 1268151: Clean up some dependencies in IPDL headers; r=billm 2016-05-17 16:01:25 -06:00
CPOWManagerGetter.h Bug 1235576 - Fix the indentation in dom/ipc, r=smaug 2016-01-05 09:59:30 +00:00
ColorPickerParent.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
ColorPickerParent.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
ContentBridgeChild.cpp Clean up Transport memory management in IPDL. (bug 1283744, r=billm) 2016-07-06 18:51:20 -07:00
ContentBridgeChild.h Bug 1275398 - Use shmem for sending image data in IPCDataTransfer. r=nical 2016-06-16 00:57:46 +08:00
ContentBridgeParent.cpp Clean up Transport memory management in IPDL. (bug 1283744, r=billm) 2016-07-06 18:51:20 -07:00
ContentBridgeParent.h Bug 1234583 -Expose OS Pid in nsITabParent. r=billm 2016-08-01 12:26:48 +02:00
ContentChild.cpp Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
ContentChild.h Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
ContentParent.cpp Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
ContentParent.h Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
ContentProcess.cpp Backed out changeset 0f53bc1a9aea (bug 1290619) a=merge 2016-08-29 17:40:59 -07:00
ContentProcess.h Backed out changeset 0f53bc1a9aea (bug 1290619) a=merge 2016-08-29 17:40:59 -07:00
ContentProcessManager.cpp Bug 1172870 - Part 2 - Enable ServiceWorkerClients::OpenWindow on e10s desktop. r=smaug 2015-10-30 01:30:57 +02:00
ContentProcessManager.h Bug 1235576 - Fix the indentation in dom/ipc, r=smaug 2016-01-05 09:59:30 +00:00
CrashReporterChild.cpp Bug 1226200: Don't assume a TCPSocket has only one managee (and rename LoneManagedOrNull) r=jdm 2015-12-22 10:14:23 -05:00
CrashReporterChild.h Bug 1235576 - Fix the indentation in dom/ipc, r=smaug 2016-01-05 09:59:30 +00:00
CrashReporterParent.cpp Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
CrashReporterParent.h Backed out changeset c1dd7376263e (bug 1262852) which caused crashdumps from plugin hangs to be without a signature. 2016-06-12 00:25:25 +02:00
DOMTypes.ipdlh Bug 1289254 - Support dnd for webkitdirectory, r=baku 2016-07-29 14:41:38 +03:00
DatePickerParent.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
DatePickerParent.h Bug 825294 - Add framework for datepicker widgets to input[type=date]. r=smaug 2016-06-20 15:55:00 +02:00
FilePickerParent.cpp Bug 1295914, improve the label of the button of folder picker, r=baku,mstange,karlt,jimm 2016-08-24 02:07:21 +03:00
FilePickerParent.h Bug 1295914, improve the label of the button of folder picker, r=baku,mstange,karlt,jimm 2016-08-24 02:07:21 +03:00
IdType.h Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
PBlob.ipdl Bug 1289254 - Support dnd for webkitdirectory, r=baku 2016-07-29 14:41:38 +03:00
PBlobStream.ipdl Bug 1268151: Clean up some dependencies in IPDL headers; r=billm 2016-05-17 16:01:25 -06:00
PBrowser.ipdl Backed out changeset 4bc6e2713327 (bug 1289650) 2016-08-24 23:15:35 +02:00
PBrowserOrId.ipdlh
PColorPicker.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PContent.ipdl Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
PContentBridge.ipdl Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj 2016-08-23 00:40:47 +08:00
PContentDialog.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PContentPermission.ipdlh
PContentPermissionRequest.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PCrashReporter.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PCycleCollectWithLogs.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PDatePicker.ipdl Bug 825294 - Add framework for datepicker widgets to input[type=date]. r=smaug 2016-06-20 15:55:00 +02:00
PDocumentRenderer.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PFilePicker.ipdl Bug 1295914, improve the label of the button of folder picker, r=baku,mstange,karlt,jimm 2016-08-24 02:07:21 +03:00
PMemoryReportRequest.ipdl Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
PPluginWidget.ipdl Bug 1252877 Part 2: On Windows capture an image for windowed plugins to be displayed during APZ scroll. r=jimm, r=mattwoodrow 2016-07-18 09:54:02 +01:00
PProcessHangMonitor.ipdl Backed out 2 changesets (bug 1279086) for causing painting issues a=backout 2016-08-22 16:00:34 -07:00
PScreenManager.ipdl Bug 1288760 patch 2.3 - Support GetContentsScaleFactor and GetDefaultCSSScaleFactor in ScreenProxy. r=emk 2016-08-18 08:31:31 +01:00
PTabContext.ipdlh Bug 1174798, propagate keyboard indicator state down to child processes, r=smaug 2016-06-09 07:59:31 -04:00
PermissionMessageUtils.cpp Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
PermissionMessageUtils.h Backed out changeset effbc83efa08 (bug 1279186) 2016-07-18 12:11:07 +08:00
PreallocatedProcessManager.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
PreallocatedProcessManager.h Bug 1284674 - Remove NUWA r=cyu 2016-08-02 14:54:00 +02:00
ProcessHangMonitor.cpp Backed out 2 changesets (bug 1279086) for causing painting issues a=backout 2016-08-22 16:00:34 -07:00
ProcessHangMonitor.h Backed out 2 changesets (bug 1279086) for causing painting issues a=backout 2016-08-22 16:00:34 -07:00
ProcessHangMonitorIPC.h
ProcessPriorityManager.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
ProcessPriorityManager.h
ScreenManagerParent.cpp Bug 1288760 patch 2.3 - Support GetContentsScaleFactor and GetDefaultCSSScaleFactor in ScreenProxy. r=emk 2016-08-18 08:31:31 +01:00
ScreenManagerParent.h
ServiceWorkerConfiguration.ipdlh Bug 1285947 - Rename BrowserConfiguration to ServiceWorkerConfiguration, r=gabor 2016-07-11 16:04:04 +02:00
StructuredCloneData.cpp Bug 1264642 - Part 4. Use BufferList to replace raw buffers in StructuredClone. r=baku r=billm r=jorendorff 2016-08-23 00:40:46 +08:00
StructuredCloneData.h Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj 2016-08-23 00:40:47 +08:00
TabChild.cpp Bug 1298908 - On Windows, fire the contextmenu and long-tap events on the long-tap-up user action. r=botond,jimm 2016-08-30 17:32:08 -04:00
TabChild.h Backed out changeset 9fa5ccaa8c6c (bug 1289650) 2016-08-24 23:15:49 +02:00
TabContext.cpp Bug 1295103 - Check OriginAttributes::PopulateFromSuffix return value in TabContext and ContentChild. r=smaug 2016-08-15 18:21:53 +08:00
TabContext.h Bug 1284674 - Remove NUWA r=cyu 2016-08-02 14:54:00 +02:00
TabMessageUtils.cpp Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
TabMessageUtils.h Bug 1174798, propagate keyboard indicator state down to child processes, r=smaug 2016-06-09 07:59:31 -04:00
TabParent.cpp Bug 1299488 - Remove TabParent::InjectTouchEvent as it is unused but error-prone. r=botond 2016-08-31 16:54:23 -04:00
TabParent.h Backed out 2 changesets (bug 1279086) for causing painting issues a=backout 2016-08-22 16:00:34 -07:00
extensions.js Bug 1296079 - Disable dump() calls in dom/browser-element. r=kanru 2016-08-22 13:44:51 -05:00
jar.mn
manifestMessages.js Bug 1265279 - Web Manifest: Implement window.oninstall. r=baku 2016-05-30 18:52:00 +02:00
moz.build Bug 1165309 - Make view source and print preview work in e10s-multi. r=mconley 2016-08-18 16:47:28 -07:00
nsIBrowser.idl Bug 1165309 - Make view source and print preview work in e10s-multi. r=mconley 2016-08-18 16:47:28 -07:00
nsICachedFileDescriptorListener.h
nsIContentChild.cpp Bug 1292892 part 7 - Remove unnecessary JSContext arguments from IPC classes. r=bz 2016-08-11 14:39:23 +02:00
nsIContentChild.h Bug 1275398 - Use shmem for sending image data in IPCDataTransfer. r=nical 2016-06-16 00:57:46 +08:00
nsIContentParent.cpp Bug 1292892 part 7 - Remove unnecessary JSContext arguments from IPC classes. r=bz 2016-08-11 14:39:23 +02:00
nsIContentParent.h Backed out changeset 262a71c958db (bug 1291202) for build bustage. r=backout on a CLOSED TREE 2016-08-22 11:17:14 +02:00
nsIHangReport.idl Bug 1119442 - Update hang ui, remove drop down options and replace with simpler 'just fix it' button interface. r=mconley 2015-11-02 06:37:25 -06:00
nsIRemoteBlob.h
preload.js Bug 1217515 - Clean up the way touch event support is configured. r=roc 2015-10-26 16:06:27 -04:00
remote-test.js
test.xul