gecko-dev/widget/windows
Jim Chen 53a1107cd1 Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin
Bug 1343075 - 1a. Add TextEventDispatcherListener::GetIMEUpdatePreference; r=masayuki

Add a GetIMEUpdatePreference method to TextEventDispatcherListener to
optionally control which IME notifications are received by NotifyIME.
This patch also makes nsBaseWidget forward its GetIMEUpdatePreference
call to the widget's native TextEventDispatcherListener.

Bug 1343075 - 1b. Implement GetIMEUpdatePreference for all TextEventDispatcherListener; r=masayuki

This patch implements GetIMEUpdatePreference for all
TextEventDispatcherListener implementations, by moving previous
implementations of nsIWidget::GetIMEUpdatePreference.

Bug 1343075 - 2. Allow setting a PuppetWidget's native TextEventDispatcherListener; r=masayuki

In PuppetWidget, add getter and setter for the widget's native
TextEventDispatcherListener. This allows overriding of PuppetWidget's
default IME handling. For example, on Android, the PuppetWidget's native
TextEventDispatcherListener will communicate directly with Java IME code
in the main process.

Bug 1343075 - 3. Add AIDL interface for main process; r=rbarker

Add AIDL definition and implementation for an interface for the main
process that child processes can access.

Bug 1343075 - 4. Set Gecko thread JNIEnv for child process; r=snorp

Add a JNIEnv* parameter to XRE_SetAndroidChildFds, which is used to set
the Gecko thread JNIEnv for child processes. XRE_SetAndroidChildFds is
the only Android-specific entry point for child processes, so I think
it's the most logical place to initialize JNI.

Bug 1343075 - 5. Support multiple remote GeckoEditableChild; r=esawin

Support remote GeckoEditableChild instances that are created in the
content processes and connect to the parent process GeckoEditableParent
through binders.

Support having multiple GeckoEditableChild instances in GeckoEditable by
keeping track of which child is currently focused, and only allow
calls to/from the focused child by using access tokens.

Bug 1343075 - 6. Add method to get GeckoEditableParent instance; r=esawin

Add IProcessManager.getEditableParent, which a content process can call
to get the GeckoEditableParent instance that corresponds to a given
content process tab, from the main process.

Bug 1343075 - 7. Support GeckoEditableSupport in content processes; r=esawin

Support creating and running GeckoEditableSupport attached to a
PuppetWidget in content processes.

Because we don't know PuppetWidget's lifetime as well as nsWindow's,
when attached to PuppetWidget, we need to attach/detach our native
object on focus/blur, respectively.

Bug 1343075 - 8. Connect GeckoEditableSupport on PuppetWidget creation; r=esawin

Listen to the "tab-child-created" notification and attach our content
process GeckoEditableSupport to the new PuppetWidget.

Bug 1343075 - 9. Update auto-generated bindings; r=me
2017-03-07 22:34:39 -05:00
..
res
tests Bug 1309698 - Remove usage of nsISupportsArray from nsIDragService. r=smaug 2016-10-18 11:56:20 -07:00
AudioSession.cpp Bug 1265386: Fix white-space errors in widget/, r=nfroyd 2016-07-22 10:56:13 +02:00
AudioSession.h
CompositorWidgetChild.cpp Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
CompositorWidgetChild.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
CompositorWidgetParent.cpp Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
CompositorWidgetParent.h Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
GfxInfo.cpp Bug 1242659 - Only check for version if DLLs are in the recognized list. r=jrmuizel 2017-02-10 12:08:00 -05:00
GfxInfo.h Bug 1285563: Part 1. Track two GPU infos in arrays, easier for swap if the second is active. r=milan 2016-12-16 11:56:59 -05:00
IEnumFE.cpp
IEnumFE.h Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
IMMHandler.cpp Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
IMMHandler.h
InProcessWinCompositorWidget.cpp Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
InProcessWinCompositorWidget.h Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
InkCollector.cpp Bug 1315264: Set InkCollector.AutoRedraw to false to prevent repainting when the window is invalidated. r=jimm 2016-11-29 16:43:49 +08:00
InkCollector.h Bug 1258808 - Part 2: Enhance Widget for Windows (Widget). r=smaug, f=btseng 2016-09-01 16:12:15 +08:00
JumpListBuilder.cpp Bug 1265386: Fix white-space errors in widget/, r=nfroyd 2016-07-22 10:56:13 +02:00
JumpListBuilder.h
JumpListItem.cpp Bug 1337299 - Remove old version compatibility into WinUtils. r=jimm 2017-02-10 12:06:23 +09:00
JumpListItem.h Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
KeyboardLayout.cpp Bug 1343446 NativeKey::GetFollowingCharMessage() should ignore found message if PeekMessage(PM_REMOVE) retrieves different char message but the found odd char message was odd r=m_kato 2017-03-01 14:48:05 +09:00
KeyboardLayout.h Bug 1337739 Create an enum eKeyLocation* for avoiding to use nsIDOMKeyEvent::DOM_KEY_LOCATION_* r=smaug 2017-02-08 21:04:22 +09:00
LSPAnnotator.cpp Bug 1336778 - Part 2: Remove always-false #if WINVER < 0x0600 (Windows Vista) checks in widget/windows. r=jimm 2017-01-25 00:28:09 -08:00
PCompositorWidget.ipdl Bug 1289236. Remove ResizeTransparentWindow. r=dvander 2016-07-29 09:29:35 -04: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 1325503 - Remove Windows {XP, Server 2003, Vista} support from widget/. r=jimm. 2016-12-23 13:13:31 +11:00
TSFTextStore.h Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
TaskbarPreview.cpp Bug 1337299 - Remove old version compatibility into WinUtils. r=jimm 2017-02-10 12:06:23 +09:00
TaskbarPreview.h
TaskbarPreviewButton.cpp
TaskbarPreviewButton.h Bug 1265386: Fix white-space errors in widget/, r=nfroyd 2016-07-22 10:56:13 +02:00
TaskbarTabPreview.cpp
TaskbarTabPreview.h
TaskbarWindowPreview.cpp
TaskbarWindowPreview.h
WidgetTraceEvent.cpp Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
WinCompositorWidget.cpp Bug 1326292 - Add null check of drawTarget in WinCompositorWidget.cpp, to avoid crash. r=jimm 2017-02-08 09:06:49 -06:00
WinCompositorWidget.h Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
WinIMEHandler.cpp Bug 1337299 - Remove old version compatibility into WinUtils. r=jimm 2017-02-10 12:06:23 +09:00
WinIMEHandler.h
WinMessages.h Bug 1325368 - Assume Win7 or later when testing Windows version. r=jimm 2017-01-29 16:42:46 +09:00
WinModifierKeyState.h Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
WinMouseScrollHandler.cpp Bug 1325368 - Assume Win7 or later when testing Windows version. r=jimm 2017-01-29 16:42:46 +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
WinPointerEvents.cpp Bug 1031362 follow-up - Fix local unified compilation bustage by including required headers. r=sparky 2016-12-24 21:53:23 +00:00
WinPointerEvents.h Bug 1031362 follow-up - Fix local unified compilation bustage by including required headers. r=sparky 2016-12-24 21:53:23 +00:00
WinTaskbar.cpp Bug 1325368 - Assume Win7 or later when testing Windows version. r=jimm 2017-01-29 16:42:46 +09:00
WinTaskbar.h
WinTextEventDispatcherListener.cpp Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin 2017-03-07 22:34:39 -05:00
WinTextEventDispatcherListener.h Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin 2017-03-07 22:34:39 -05:00
WinUtils.cpp Bug 1338553 - Fix missing include in WinUtils. r=m_kato 2017-02-11 18:36:52 +08:00
WinUtils.h Bug 1337299 - Remove old version compatibility into WinUtils. r=jimm 2017-02-10 12:06:23 +09:00
WindowHook.cpp
WindowHook.h Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
WindowsUIUtils.cpp Bug 1336778 - Part 2: Remove always-false #if WINVER < 0x0600 (Windows Vista) checks in widget/windows. r=jimm 2017-01-25 00:28:09 -08:00
WindowsUIUtils.h
moz.build Backed out changeset 1413fa802632 (bug 1031362) for test failures in pointerevents/test_touch_action.html 2016-12-20 14:52:23 +01:00
nsAppShell.cpp Bug 1341915: Make win32 nsAppShell's event window message-only; r=jimm 2017-02-22 16:24:29 -07:00
nsAppShell.h
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp Bug 1317322 - Part 2: Fix shutdown leak when win32 holds nsDataObj with temp file until shutdown, r=jimm 2017-03-06 14:37:44 -05:00
nsClipboard.h
nsColorPicker.cpp
nsColorPicker.h
nsDataObj.cpp merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
nsDataObj.h Bug 1317322 - Part 2: Fix shutdown leak when win32 holds nsDataObj with temp file until shutdown, r=jimm 2017-03-06 14:37:44 -05:00
nsDataObjCollection.cpp
nsDataObjCollection.h Bug 1265386: Fix white-space errors in widget/, r=nfroyd 2016-07-22 10:56:13 +02:00
nsDeviceContextSpecWin.cpp Bug 1324064: Stop accessing printer devices in the child when printing via parent. r=jimm 2017-01-06 11:29:11 +00:00
nsDeviceContextSpecWin.h Bug 1313525 - Remove the nsIPrintOptions interface. r=mstange 2016-10-28 00:31:14 +01:00
nsDragService.cpp Bug 1309596, implementation of UpdateDragImage by adjusting image and calling DragEnter of the drag feedback helper, r=jimm 2016-12-23 18:09:44 -05:00
nsDragService.h Bug 1309596, implementation of UpdateDragImage by adjusting image and calling DragEnter of the drag feedback helper, r=jimm 2016-12-23 18:09:44 -05:00
nsFilePicker.cpp Bug 1337299 - Remove old version compatibility into WinUtils. r=jimm 2017-02-10 12:06:23 +09:00
nsFilePicker.h Bug 1336778 - Part 2: Remove always-false #if WINVER < 0x0600 (Windows Vista) checks in widget/windows. r=jimm 2017-01-25 00:28:09 -08:00
nsIdleServiceWin.cpp
nsIdleServiceWin.h
nsImageClipboard.cpp
nsImageClipboard.h Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
nsLookAndFeel.cpp Bug 894245 part 1 - Align windows widget behavior with other widgets to return failure when the specified color is unknown. r=jimm 2016-12-30 14:17:55 +11:00
nsLookAndFeel.h Bug 1336778 - Part 3a: Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsLookAndFeel.h. r=jimm 2017-02-06 13:25:17 -08:00
nsNativeDragSource.cpp
nsNativeDragSource.h Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
nsNativeDragTarget.cpp Bug 1309596, implementation of UpdateDragImage by adjusting image and calling DragEnter of the drag feedback helper, r=jimm 2016-12-23 18:09:44 -05:00
nsNativeDragTarget.h Bug 1309596, implementation of UpdateDragImage by adjusting image and calling DragEnter of the drag feedback helper, r=jimm 2016-12-23 18:09:44 -05:00
nsNativeThemeWin.cpp Bug 1328423 - Avoid calling into JS from Windows theming code (r=jimm) 2017-01-17 13:29:26 -08:00
nsNativeThemeWin.h Bug 1325503 - Remove Windows {XP, Server 2003, Vista} support from widget/. r=jimm. 2016-12-23 13:13:31 +11:00
nsPrintOptionsWin.cpp
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
nsScreenManagerWin.cpp
nsScreenManagerWin.h
nsScreenWin.cpp
nsScreenWin.h Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
nsSound.cpp Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj 2016-12-09 10:00:01 -10:00
nsSound.h
nsToolkit.cpp
nsToolkit.h
nsUXThemeConstants.h Bug 1325503 - Remove Windows {XP, Server 2003, Vista} support from widget/. r=jimm. 2016-12-23 13:13:31 +11:00
nsUXThemeData.cpp Bug 1337299 - Remove old version compatibility into WinUtils. r=jimm 2017-02-10 12:06:23 +09:00
nsUXThemeData.h
nsWidgetFactory.cpp Initialize nsAppShell in the GPU process. (bug 1294350 part 5, r=nfroyd) 2016-08-22 22:57:36 -07:00
nsWinGesture.cpp Bug 1321244 - Lazily init global variables that could implicitly initialize NSPR. r=froydnj 2016-12-01 11:48:32 +08:00
nsWinGesture.h Bug 1336778 - Part 3b: Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsWinGesture.h. r=jimm 2017-02-06 13:25:40 -08:00
nsWindow.cpp Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin 2017-03-07 22:34:39 -05:00
nsWindow.h Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin 2017-03-07 22:34:39 -05:00
nsWindowBase.cpp Bug 1339609: Add #include for gfxPrefs.h to all source code that calls gfxPrefs APIs. r=jgilbert 2017-02-14 14:01:59 -08:00
nsWindowBase.h Bug 1300003 part.6 NativeKey shouldn't try to dispatch plugin events for removed char messages when mWidget won't dispatch plugin events r=m_kato 2016-09-15 00:16:18 +09:00
nsWindowDbg.cpp Bug 1321244 - Lazily init global variables that could implicitly initialize NSPR. r=froydnj 2016-12-01 11:48:32 +08:00
nsWindowDbg.h
nsWindowDefs.h Bug 1322465 part 14 - Use explicit/MOZ_IMPLICIT for the unary constructors in widget/. r=Ehsan 2016-12-16 16:00:43 +08:00
nsWindowGfx.cpp Merge m-c to graphics 2017-01-18 13:48:56 -05:00
nsWindowGfx.h
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