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
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
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
ContentProcessManager.h
CPOWManagerGetter.h
CrashReporterChild.cpp
CrashReporterChild.h
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
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
DOMTypes.ipdlh Bug 1289254 - Support dnd for webkitdirectory, r=baku 2016-07-29 14:41:38 +03:00
extensions.js Bug 1296079 - Disable dump() calls in dom/browser-element. r=kanru 2016-08-22 13:44:51 -05: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
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
nsIRemoteBlob.h
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
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
PContentPermission.ipdlh
PContentPermissionRequest.ipdl
PCrashReporter.ipdl
PCycleCollectWithLogs.ipdl
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
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
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
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
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
preload.js
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
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
remote-test.js
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
test.xul