Descriptionevents: Introduce PlatformEventDispatcher and PlatformEventSource.
This patch introduces PlatformEventSource and PlatformEventDispatcher for
dispatching events from native system. The event dispatch mechanism in
message-pumps will be replaced by this. In brief:
* PlatformEventSource is a singleton instance that receives events from
the platform.
* Any number of PlatformEventDispatcher can be installed on a source for
receiving events from the source. The dispatchers can then choose to
dispatch the event or not. PlatformEventDispatcher will replace
MessagePumpDispatcher.
* Any number of PlatformEventObserver can be installed on a source.
PlatformEventObserver will replace MessagePumpObserver.
The linked-to bug has a link to a more detail design doc.
BUG=354062
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259417
Patch Set 1 #Patch Set 2 : glib #Patch Set 3 : . #Patch Set 4 : cleanups #Patch Set 5 : tests #
Total comments: 17
Patch Set 6 : . #Patch Set 7 : tests #Patch Set 8 : tot-merge #Messages
Total messages: 6 (0 generated)
|