DescriptionAdds the skeleton of a NativeViewport concept.
This is a platform-specific View (output surface and event sink). We listen for events and other disposition changes and forward them to app code. In this case I just do something ad-hoc (stringify some event metadata and post to our existing sample app). Once we have bindings, we can surface a better API here. I would also like for the app to request the NativeViewportService from the Service Service, and get a separate pipe for that, rather than reusing the one that is passed through MojoMain (which I think is supposed to only be for surfacing the ServiceService).
Anyway WDYT? If we agree on this I can figure out how to wrap the org.chromium.mojo_shell_apk.MojoView in a NativeViewport.
BUG=
R=abarth@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232210
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Total comments: 7
Patch Set 4 : cleanup #Patch Set 5 : rebase #Patch Set 6 : add files #Patch Set 7 : android build, windows ownership #Patch Set 8 : . #Patch Set 9 : stubs #Patch Set 10 : more files #Patch Set 11 : override #Patch Set 12 : . #Patch Set 13 : nl #Messages
Total messages: 10 (0 generated)
|