Extract InitiateScopedSurfaceRequest from the mojo::Renderer interface |
||||
Issue descriptionCurrently, the mojom::Renderer interface is not aligned with the media::Renderer C++ interface. There is an extra InitiateScopedSurfaceRequest() which is only used when setting up a MediaPlayerRenderer. The MediaPlayerRenderer is only used on Android, and the presence of InitiateScopedSurfaceRequest() leads to some awkward checks for bad message calls for all platforms. This led to a discussion proposing the addition of a mojo::MediaPlayerRenderer (see https://chromiumcodereview.appspot.com/2530613003/?_ga=1.123982018.997515271.1478567349#msg12 and https://codereview.chromium.org/2539703002/) This bug tracks the discussion and changes related to cleaning up the mojo::Renderer interface and MojoRendererService implementation.
,
Nov 29 2016
,
Nov 29 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a2db52064245983d71338e51d330edf256418e81 commit a2db52064245983d71338e51d330edf256418e81 Author: xhwang <xhwang@chromium.org> Date: Tue Nov 29 22:06:46 2016 media: Add |bad_message_cb_| to MojoRendererService This helps move the StrongBindingPtr out of MojoRendererService, so that we can bind MojoRendererService using other type of bindings, e.g. mojo::Binding. When we do use MojoRendererService::Create(), which uses mojo::StrongBinding, now the StrongBindingPtr isimplicitly owned by the MojoRendererService through the |bad_message_cb_|. BUG= 604912 ,669606 TEST=Covered by media_mojo_unittests Review-Url: https://codereview.chromium.org/2539703002 Cr-Commit-Position: refs/heads/master@{#435088} [modify] https://crrev.com/a2db52064245983d71338e51d330edf256418e81/media/mojo/clients/mojo_renderer_unittest.cc [modify] https://crrev.com/a2db52064245983d71338e51d330edf256418e81/media/mojo/services/mojo_renderer_service.cc [modify] https://crrev.com/a2db52064245983d71338e51d330edf256418e81/media/mojo/services/mojo_renderer_service.h
,
Dec 11 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Dec 11 2017
tguilbert@: Is this something we still want to do? |
||||
►
Sign in to add a comment |
||||
Comment 1 Deleted