UI Framework-1: Aura Event Handling
阿新 • • 發佈:2018-12-05
Event Handling
A diagram of the architecture of this system:
HWNDMessageHandler owns the WNDPROC, and is code that is shared with the non-Aura windows build. This code is in production and "should work."
On this diagram, the new classes are DesktopRootWindowHostWin(**) and DesktopNativeWidgetAura. DesktopNativeWidgetAura is a new views::NativeWidgetPrivate implementation that wraps an aura::Window* hosted in a special RootWindow/Host, which is implemented by DesktopRootWindowHost[Win|Linux].
DesktopNativeWidgetAura is cross platform code, DesktopRootWindowHostWin|Linux is platform-specific.
Basically there are a bunch of functions on these two new classes that need to be connected together.
I've made a list of these functions here:
|