gecko-dev/dom/plugins/ipc
David Parks 33f854d97a Bug 1384260: Part 3 - Remove GetKeyState from Windows content proc plugin code r=jmathies
As part of sandboxing the content process for Windows, we want to remove these calls from it.  These instances of GetKeyState should not be in actual use since plugin mouse events are handled through different means.  When they come to nsPluginInstanceOwner::ProcessEvent, they come with a pre-filled-in mPluginEvent, and this code is conditional on that not happening.  Despite that, I am preserving the existing behavior by moving the GetKeyState calls to the plugin process (where they are brokered to the parent process).  This fix is more robust to change than just removing the code would be.

Differential Revision: https://phabricator.services.mozilla.com/D47937

--HG--
extra : moz-landing-system : lando
2019-10-16 21:21:57 +00:00
..
hangui
interpose
AStream.h
BrowserStreamChild.cpp
BrowserStreamChild.h
BrowserStreamParent.cpp
BrowserStreamParent.h
ChildTimer.cpp
ChildTimer.h
D3D11SurfaceHolder.cpp
D3D11SurfaceHolder.h
FunctionBroker.cpp
FunctionBroker.h
FunctionBrokerChild.cpp
FunctionBrokerChild.h
FunctionBrokerIPCUtils.cpp
FunctionBrokerIPCUtils.h Bug 1562642 - Add missing MPL2 headers r=mhoye 2019-07-05 17:05:57 +00:00
FunctionBrokerParent.cpp
FunctionBrokerParent.h
FunctionBrokerThread.h
FunctionHook.cpp
FunctionHook.h
IpdlTuple.h Bug 1562642 - Add missing MPL2 headers r=mhoye 2019-07-05 17:05:57 +00:00
MiniShmParent.cpp
MiniShmParent.h
moz.build Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
NPEventAndroid.h
NPEventOSX.h
NPEventUnix.h
NPEventWindows.h
PBrowserStream.ipdl
PFunctionBroker.ipdl
PluginBackgroundDestroyer.cpp
PluginBackgroundDestroyer.h
PluginBridge.h
PluginHangUIParent.cpp Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug 2019-06-08 21:26:12 +00:00
PluginHangUIParent.h
PluginInstanceChild.cpp Bug 1384260: Part 3 - Remove GetKeyState from Windows content proc plugin code r=jmathies 2019-10-16 21:21:57 +00:00
PluginInstanceChild.h Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies 2019-07-10 03:27:43 +00:00
PluginInstanceParent.cpp Bug 1384260: Part 2 - Remove GetForegroundWindow from Windows plugin code path r=jmathies 2019-10-16 21:21:50 +00:00
PluginInstanceParent.h
PluginInterposeOSX.h
PluginInterposeOSX.mm
PluginLibrary.h Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies 2019-07-10 03:27:43 +00:00
PluginMessageUtils.cpp
PluginMessageUtils.h Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
PluginModuleChild.cpp Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies 2019-07-10 03:27:43 +00:00
PluginModuleChild.h Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies 2019-07-10 03:27:43 +00:00
PluginModuleParent.cpp Bug 1282776 - Finalize crash reports for child process crashes happening too early r=froydnj 2019-08-09 14:23:19 +00:00
PluginModuleParent.h Bug 1282776 - Finalize crash reports for child process crashes happening too early r=froydnj 2019-08-09 14:23:19 +00:00
PluginProcessChild.cpp
PluginProcessChild.h
PluginProcessParent.cpp
PluginProcessParent.h
PluginQuirks.cpp
PluginQuirks.h
PluginScriptableObjectChild.cpp Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies 2019-07-10 03:27:43 +00:00
PluginScriptableObjectChild.h Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies 2019-07-10 03:27:43 +00:00
PluginScriptableObjectParent.cpp Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies 2019-07-10 03:27:43 +00:00
PluginScriptableObjectParent.h Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies 2019-07-10 03:27:43 +00:00
PluginScriptableObjectUtils-inl.h
PluginScriptableObjectUtils.h Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/plugins/ r=jmathies 2019-07-10 03:27:43 +00:00
PluginSurfaceParent.cpp
PluginSurfaceParent.h
PluginTypes.ipdlh Bug 1580282 - Remove checks for plugins that are part of extensions and support for loading plugins from the app and profile dir, r=mconley,mixedpuppy 2019-09-12 23:15:49 +00:00
PluginUtilsOSX.h
PluginUtilsOSX.mm Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
PluginUtilsWin.cpp
PluginUtilsWin.h
PluginWidgetChild.cpp Bug 1534395 - Rename TabChild to BrowserChild. r=nika 2019-04-09 17:39:01 -05:00
PluginWidgetChild.h
PluginWidgetParent.cpp Bug 1553769 - Make nsIWidget::SetFocus infallible, and make it take an enum class. r=NeilDeakin 2019-05-31 22:13:56 +00:00
PluginWidgetParent.h Bug 1534395 - Rename TabParent to BrowserParent. r=nika 2019-04-09 16:38:15 -05:00
PPluginBackgroundDestroyer.ipdl
PPluginInstance.ipdl Bug 1540002 - Remove intr __delete__ from PPluginInstance; r=nika,mccr8 2019-04-02 21:10:20 +00:00
PPluginModule.ipdl
PPluginScriptableObject.ipdl
PPluginSurface.ipdl
PStreamNotify.ipdl
StreamNotifyChild.h
StreamNotifyParent.h