Descriptionmustash: Implement basic input event routing in renderer
This CL does the following:
1. It introduces CompositorMusConnection. The connection to
the Mus Window server is now managed on the compositor
thread. RenderWidgetMusConnection is the corresponding main
thread object. CompositorMusConnection deals with
postTasking information RenderWidgetMusConnection wants to
the main thread and passing information from
RenderWidgetMusConnection to the compositor thread.
2. Input events are routed directly to InputHandlerManager
on the compositor thread. Unconsumed input events make
their way to RenderWidgetMusConnection where they're
currently dropped on the floor.
TEST=./out/mandoline_Debug/mojo_runner mojo:example_main --use-mus-in-renderer --use-zero-copy
BUG=551250
Committed: https://crrev.com/2e7bf2f61d4d5082769314c90ad557bdf330791c
Cr-Commit-Position: refs/heads/master@{#363030}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Simplify code and move work on compositor to CompositorMusConnection #Patch Set 4 : Cleanup #Patch Set 5 : Main thread input #Patch Set 6 : Some hacks for main thread events #Patch Set 7 : Introduce Get in addition to GetOrCreate on RenderWidgetMusConnection #Patch Set 8 : Add a comment #Patch Set 9 : Cleanup + Diffed against Peng's patch #Patch Set 10 : The right diff #
Total comments: 18
Patch Set 11 : Addressed Sadrul's comments #
Total comments: 2
Patch Set 12 : Fixed copyright #
Total comments: 8
Patch Set 13 : Addressed Ben's comments #Patch Set 14 : Added comment, use InterfaceRequest to pass across threads and use std::move instead of .Pass() #Patch Set 15 : Fixed dependency for unit test #Messages
Total messages: 27 (12 generated)
|