gecko-dev/widget/windows
Kartikaya Gupta 570f040947 Bug 1256339 - Fix up handling for touch-derived contextmenu events on desktop. r=mconley,jimm
This patch stops the widget code from passing along touch-derived contextmenu
events straight from Windows to Gecko, and instead lets the APZ gesture
detection code handle it. This allows the contextmenu event to be prevented
according to web standards, e.g. if the touchstart event is cancelled.

This changes to browser.js will affect both Linux and Windows, but the behaviour
implemented is in line with native Windows touch behaviour. We may want to
add an alternate codepath for Linux to better simulate "native" Linux behavior,
if there is such a thing for touch-derived contextmenu.

MozReview-Commit-ID: 18qzK15ic8E
2016-07-05 13:24:54 -04:00
..
res
tests Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
AudioSession.cpp Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
AudioSession.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
CompositorWidgetChild.cpp Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm) 2016-07-01 01:15:16 -07:00
CompositorWidgetChild.h Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm) 2016-07-01 01:15:16 -07:00
CompositorWidgetParent.cpp Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm) 2016-07-01 01:15:16 -07:00
CompositorWidgetParent.h Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm) 2016-07-01 01:15:16 -07:00
GfxInfo.cpp Bug 1268638 - Bitrot. 2016-07-01 13:15:31 -07:00
GfxInfo.h Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan 2016-04-13 17:12:47 -04:00
IEnumFE.cpp
IEnumFE.h
IMMHandler.cpp Bug 1282668 Get rid of nsIMEUpdatePreference::NOTIFY_SELECTION_CHANGE r=m_kato 2016-06-28 15:23:12 +09:00
IMMHandler.h Bug 1137561 part.3 Make IMMHandler use TextEventDispatcher r=m_kato 2016-03-16 13:47:48 +09:00
InkCollector.cpp Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
InkCollector.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
JumpListBuilder.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
JumpListBuilder.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
JumpListItem.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
JumpListItem.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
KeyboardLayout.cpp Bug 1281387 KeyboardLayout.cpp should use LazyLogModule instead of PR_NewLogModule() for making aware of MOZ_LOG* r=m_kato 2016-06-22 15:39:58 +09:00
KeyboardLayout.h Bug 1261880 NativeKey should decide printable KeyboardEvent.key value of keydown and keypress events with following WM_CHAR message of WM_KEYDOWN r=m_kato 2016-05-11 16:47:38 +09:00
LSPAnnotator.cpp Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
PCompositorWidget.ipdl Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm) 2016-07-01 01:15:16 -07:00
PlatformWidgetTypes.ipdlh Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm) 2016-07-01 01:15:16 -07:00
TSFTextStore.cpp Bug 1224994 part.13 Fix some comments which say "locked content" in TSFTextStore.cpp r=m_kato 2016-07-04 15:53:58 +09:00
TSFTextStore.h Bug 1224994 part.11 Rename TSFTextStore::CurrentSelection() to TSFTextStore::SelectionForTSF() r=m_kato 2016-07-01 14:09:52 +09:00
TaskbarPreview.cpp Bug 1277156 - TaskbarPreview::Disable should check whether window is destroyed. r=jimm 2016-06-01 14:30:23 +09:00
TaskbarPreview.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
TaskbarPreviewButton.cpp
TaskbarPreviewButton.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
TaskbarTabPreview.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TaskbarTabPreview.h
TaskbarWindowPreview.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TaskbarWindowPreview.h Bug 1233444 - add override declarations for widget/windows/; r=roc 2015-12-16 11:58:46 -05:00
WidgetTraceEvent.cpp Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
WinCompositorWidget.cpp Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm) 2016-07-01 01:15:16 -07:00
WinCompositorWidget.h Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm) 2016-07-01 01:15:16 -07:00
WinIMEHandler.cpp Bug 1275906 part.1 Rename NOTIFY_IME_OF_COMPOSITION_UPDATE to NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED r=m_kato 2016-05-31 11:39:15 +09:00
WinIMEHandler.h Bug 1137561 part.1 Implement WinTextEventDispatcherListener as a singleton class for using TextEventDispatcher at handling native keyboard and IME events r=m_kato 2016-03-16 13:47:48 +09:00
WinMessages.h Bug 1257759 part.9 Implement nsWindow::OnKeyEventInPluginProcess() on Windows r=jimm 2016-04-15 17:02:36 +09:00
WinModifierKeyState.h Bug 1257759 part.3 ModifierKeyState should be available in plugin module r=jimm 2016-04-09 15:45:06 +09:00
WinMouseScrollHandler.cpp Bug 1280513 part.2 WinMouseScrollHandler should use LazyLogModule instead of PR_NewLogModule() r=m_kato 2016-06-17 03:10:06 +09:00
WinMouseScrollHandler.h Bug 1280513 part.1 Rename LogKeyStateImpl() to MouseScrollHandler::MaybeLogKeyState() r=m_kato 2016-06-17 03:03:44 +09:00
WinNativeEventData.h Bug 1257759 part.5 PluginInstanceChild should post received native key event to chrome process if the key combination may be a shortcut key r=jimm 2016-04-19 20:09:37 +09:00
WinTaskbar.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
WinTaskbar.h
WinTextEventDispatcherListener.cpp Add WinCompositorWidgetProxy. (bug 1265975 part 1, r=jimm) 2016-05-04 22:00:13 -07:00
WinTextEventDispatcherListener.h Bug 1137561 part.1 Implement WinTextEventDispatcherListener as a singleton class for using TextEventDispatcher at handling native keyboard and IME events r=m_kato 2016-03-16 13:47:48 +09:00
WinUtils.cpp Bug 1254026 - When Win10 dpi-awareness-context APIs are available, run the Open File and Save As dialogs as system-dpi-aware windows, so that they are auto-scaled by the system appropriately for any secondary display's resolution. r=emk 2016-07-01 23:42:32 +01:00
WinUtils.h Bug 1254026 - When Win10 dpi-awareness-context APIs are available, run the Open File and Save As dialogs as system-dpi-aware windows, so that they are auto-scaled by the system appropriately for any secondary display's resolution. r=emk 2016-07-01 23:42:32 +01:00
WindowHook.cpp
WindowHook.h
WindowsUIUtils.cpp Bug 1263677 - Disable windows.ui.viewmanagement.h usage on mingw. r=jimm 2016-04-12 12:38:00 +02:00
WindowsUIUtils.h
moz.build Implement remote CompositorWidgets on Windows. (bug 1281998 part 7, r=billm) 2016-07-01 01:15:16 -07:00
mozwrlbase.h
nsAppShell.cpp Bug 1041599 - Maintain a single volume control session between browser, content, and plugins on Windows. r=aklotz 2016-03-13 08:25:23 -05:00
nsAppShell.h
nsBidiKeyboard.cpp Bug 1260091 - Move using SendBidiKeyboardNotify to WidgetUtils. r=masayuki 2016-05-19 17:47:49 +09:00
nsBidiKeyboard.h Bug 1033488 - Send RTL information to child process by WM_INPUTLANGCHANGE. r=masayuki 2016-03-11 17:48:10 +09:00
nsClipboard.cpp Bug 860857, support custom datatransfer types using a special type, r=smaug,jmathies,mstange 2016-04-21 14:11:14 -04:00
nsClipboard.h Bug 860857, support custom datatransfer types using a special type, r=smaug,jmathies,mstange 2016-04-21 14:11:14 -04:00
nsColorPicker.cpp Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsColorPicker.h Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsDataObj.cpp Backed out changeset 36e71bcb0266 (bug 1192945) 2016-06-10 02:24:08 -04:00
nsDataObj.h Backed out changeset 36e71bcb0266 (bug 1192945) 2016-06-10 02:24:08 -04:00
nsDataObjCollection.cpp
nsDataObjCollection.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsDeviceContextSpecWin.cpp Bug 1279788 - Create a PrintTargetWindows subclass of PrintTarget. r=eflores 2016-06-14 19:26:35 +01:00
nsDeviceContextSpecWin.h Bug 1278269 - Make a PrintTarget class and PrintTargetThebes subclass and convert all nsIDeviceContextSpec subclasses to use them. r=Bas 2016-06-03 11:27:31 +01:00
nsDragService.cpp Backed out changeset 36e71bcb0266 (bug 1192945) 2016-06-10 02:24:08 -04:00
nsDragService.h bug 1216916 clean up when InvokeDragSession() fails r=roc 2015-10-21 22:16:40 +13:00
nsFilePicker.cpp Bug 1254026 - When Win10 dpi-awareness-context APIs are available, run the Open File and Save As dialogs as system-dpi-aware windows, so that they are auto-scaled by the system appropriately for any secondary display's resolution. r=emk 2016-07-01 23:42:32 +01:00
nsFilePicker.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsIdleServiceWin.cpp
nsIdleServiceWin.h Bug 1233444 - add override declarations for widget/windows/; r=roc 2015-12-16 11:58:46 -05:00
nsImageClipboard.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsImageClipboard.h
nsLookAndFeel.cpp Bug 1243720 - Send accessibility theme state down to the content process on Windows. r=jimm 2016-02-03 15:49:36 -05:00
nsLookAndFeel.h Bug 1243720 - Send accessibility theme state down to the content process on Windows. r=jimm 2016-02-03 15:49:36 -05:00
nsNativeDragSource.cpp
nsNativeDragSource.h
nsNativeDragTarget.cpp Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug 2016-04-18 23:09:02 +09:00
nsNativeDragTarget.h 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
nsNativeThemeWin.cpp Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley 2016-05-19 10:58:00 +02:00
nsNativeThemeWin.h Bug 1255214 - Only repaint GTK scrollbar button if its enablement actually changed. r=mstange 2016-04-20 19:49:09 -04:00
nsPrintOptionsWin.cpp Bug 1270447 Part 4: Remove redundant lines in nsPrintOptionsWin::DeserializeToPrintSettings. r=jimm 2016-05-29 19:53:40 +01:00
nsPrintOptionsWin.h
nsPrintSettingsWin.cpp Bug 1280159: Let paper type drive page size units on Windows. r=jimm 2016-06-30 10:01:10 +01:00
nsPrintSettingsWin.h Bug 1238964 Part 1: Hold new printable page sizes in print nsIPrintSettingsWin. r=jimm 2016-01-22 16:05:19 +00:00
nsScreenManagerWin.cpp Bug 890156 - patch 3 - Remove gfxWindowsPlatform::GetDPIScale and replace it with methods in WinUtils, ready for per-monitor DPI support. r=emk 2015-12-02 15:09:29 +00:00
nsScreenManagerWin.h Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
nsScreenWin.cpp Bug 1251624 - patch 2 - Check for scaling override (devPixelsPerPx setting) in nsScreenWin::GetDefaultCSSScaleFactor, for proper window positioning when a custom scale factor is used. r=emk 2016-02-27 15:44:59 +00:00
nsScreenWin.h Bug 1246382 - Screen rect in desktop pixels should not be affected by devPixelsPerPx override. r=emk 2016-02-08 12:53:10 +00:00
nsSound.cpp Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsSound.h
nsToolkit.cpp Bug 506815 - Replace MouseTrailer with TrackMouseEvent. r=jimm 2015-11-20 07:42:00 +01:00
nsToolkit.h Bug 506815 - Replace MouseTrailer with TrackMouseEvent. r=jimm 2015-11-20 07:42:00 +01:00
nsUXThemeConstants.h
nsUXThemeData.cpp Bug 1203574 - use ShowNA for everything except aero basic / aero lite, to get caption button metrics, r=jimm 2015-10-20 11:40:15 +01:00
nsUXThemeData.h
nsWidgetFactory.cpp Bug 1033488 - Send RTL information to child process by WM_INPUTLANGCHANGE. r=masayuki 2016-03-11 17:48:10 +09:00
nsWinGesture.cpp Bug 1259667 - part5: rename WidgetSimpleGestureEvent.delta to mDelta. r=masayuki 2016-05-10 04:16:55 +09:00
nsWinGesture.h Bug 1259666 part 1 - rename variable and definition change - r=masayuki 2016-04-21 19:32:59 -07:00
nsWindow.cpp Bug 1256339 - Fix up handling for touch-derived contextmenu events on desktop. r=mconley,jimm 2016-07-05 13:24:54 -04:00
nsWindow.h Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm) 2016-07-01 01:15:16 -07:00
nsWindowBase.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsWindowBase.h Bug 1250505 - Convert SynthesizeNativeTouchPoint and SynthesizeNativeTouchTap to take a LayoutDeviceIntPoint instead of a ScreenPoint. r=njn 2016-04-15 06:39:36 -04:00
nsWindowDbg.cpp
nsWindowDbg.h
nsWindowDefs.h Bug 1257759 part.2 Separate Windows' message and related definitions from nsWindowDefs.h to mozilla/widget/WinMessages.h r=jimm 2016-04-09 15:15:31 +09:00
nsWindowGfx.cpp Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm) 2016-07-01 01:15:16 -07:00
nsWindowGfx.h Bug 1207741 - Remove gfxIntSize. r=nical. 2015-09-23 11:49:05 -07:00
nsdefs.h Bug 1275744 - Reference MOZ_LOG in windows widget comments. r=erahm 2016-05-26 11:19:40 -07:00
resource.h
touchinjection_sdk80.h
widget.rc