gecko-dev/gfx/ipc
Masayuki Nakano d6e921676c Bug 1377672 - part3: IMEStateManager::NotifyIME() should ignore notifications and requests which comes from unexpected process r=m_kato,smaug
IME should receive notifications and requests only from proper process.  E.g., IME shouldn't commit composition by a request which came from previous focused process.

This patch makes that IMEStateManager::NotifyIME() takes pointer to TabParent optionally.  If the request or notification came from remote process, it should be non-nullptr.  Then, this makes it ignore notifications and requests from unexpected process.

Note that this patch also touches some gfx headers because they use |ipc::| but compiler is confused at the ambiguousness between |mozilla::ipc::| and |mozilla::dom::ipc::|.

Finally, this patch changes the NS_ASSERTION in IMEHandler::OnDestroyWindow() to MOZ_ASSERT because the orange caused by the NS_ASSERTION was not realized since there was already an intermittent orange bug caused by different NS_ASSERTION.

MozReview-Commit-ID: 9CgKXQRJWmN

--HG--
extra : source : f3b5711908870c5e0e852a399a07e0ae721a12f1
2017-07-06 00:47:40 +09:00
..
CompositorOptions.h Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow) 2017-06-23 14:23:12 -07:00
CompositorSession.cpp Add a remote implementation of CompositorSession. (bug 1282348 part 5, r=billm) 2016-07-17 21:24:28 -07:00
CompositorSession.h Remove old device reset and compositor swapping code. (bug 1363126 part 3, r=rhunt) 2017-05-11 22:44:28 -07:00
CompositorWidgetVsyncObserver.cpp Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
CompositorWidgetVsyncObserver.h Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
D3DMessageUtils.cpp Bug 1337063: Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander 2017-06-22 13:45:48 -04:00
D3DMessageUtils.h Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
GPUChild.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GPUChild.h Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow) 2017-06-23 14:23:12 -07:00
GPUParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GPUParent.h Bug 1365927 - Part 4. Replace PCompositorBridge integration hooks with PCompositorManager. r=dvander 2017-06-14 11:39:59 -04:00
GPUProcessHost.cpp Bug 1373088 - Don't use a timeout for compositor process startup when debugging child process. r=milan 2017-06-19 13:12:00 -04:00
GPUProcessHost.h Bug 1377672 - part3: IMEStateManager::NotifyIME() should ignore notifications and requests which comes from unexpected process r=m_kato,smaug 2017-07-06 00:47:40 +09:00
GPUProcessImpl.cpp Bug 1347710 - Enable sandbox protections for the Windows GPU process. r=bobowen 2017-04-24 09:46:09 -07:00
GPUProcessImpl.h bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
GPUProcessListener.h Handle remote device resets by recreating the entire rendering stack. (bug 1363126 part 1, r=rhunt, ipc_r=billm) 2017-05-11 22:44:27 -07:00
GPUProcessManager.cpp Fix race where in-process GPU endpoints could have the wrong PID. (bug 1374258, r=rhunt) 2017-06-29 11:35:45 -07:00
GPUProcessManager.h Bug 1377672 - part3: IMEStateManager::NotifyIME() should ignore notifications and requests which comes from unexpected process r=m_kato,smaug 2017-07-06 00:47:40 +09:00
GfxMessageUtils.h Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow) 2017-06-23 14:23:12 -07:00
GraphicsMessages.ipdlh Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow) 2017-06-23 14:23:12 -07:00
InProcessCompositorSession.cpp Bug 1274663 - Expose API to trigger device reset. r=dvander 2017-06-15 14:34:00 -04:00
InProcessCompositorSession.h Bug 1274663 - Expose API to trigger device reset. r=dvander 2017-06-15 14:34:00 -04:00
PGPU.ipdl Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow) 2017-06-23 14:23:12 -07:00
PVsyncBridge.ipdl Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
RemoteCompositorSession.cpp Bug 1274663 - Expose API to trigger device reset. r=dvander 2017-06-15 14:34:00 -04:00
RemoteCompositorSession.h Bug 1274663 - Expose API to trigger device reset. r=dvander 2017-06-15 14:34:00 -04:00
SharedDIB.cpp
SharedDIB.h Bug 1194948 - Build gfx/ipc in unified mode and mark as FAIL_ON_WARNINGS. r=BenWa 2015-08-13 20:46:47 -07:00
SharedDIBSurface.cpp Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel. 2016-01-07 20:57:38 -08:00
SharedDIBSurface.h
SharedDIBWin.cpp Bug 1256502 - Use a uint32_t cast to avoid C4319 on VS2015; r=botond 2016-03-23 15:12:30 -07:00
SharedDIBWin.h
VsyncBridgeChild.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
VsyncBridgeChild.h Bug 792652 - Move FatalError to IProtocol (r=dvander) 2016-11-08 15:22:45 -08:00
VsyncBridgeParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
VsyncBridgeParent.h Fix a race condition between VideoBridge and Compositor thread shutdown. (bug 1356365, r=mattwoodrow) 2017-04-20 19:32:48 -07:00
VsyncIOThreadHolder.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
VsyncIOThreadHolder.h Add a top-level protocol for sending vsync messages to the GPU process. (bug 1285625 part 1, r=billm) 2016-07-19 11:56:06 -07:00
moz.build Bug 1330399 - determine proper bug_components for gfx/* files. r=milan 2017-01-23 11:10:05 -05:00