| Index: mojo/services/public/interfaces/native_viewport/native_viewport.mojom
|
| diff --git a/mojo/services/public/interfaces/native_viewport/native_viewport.mojom b/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
|
| index 61e32e71d09155e348d053b0351fa5ef64b1039f..3d20ff41cc0592352514270cac79769ee7fbb29f 100644
|
| --- a/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
|
| +++ b/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
|
| @@ -19,6 +19,11 @@ interface NativeViewport {
|
| Close();
|
| SetSize(Size size);
|
| SubmittedFrame(SurfaceId surface_id);
|
| + SetEventDispatcher(NativeViewportEventDispatcher dispatcher);
|
| +};
|
| +
|
| +interface NativeViewportEventDispatcher {
|
| + OnEvent(Event event) => ();
|
| };
|
|
|
| interface NativeViewportClient {
|
| @@ -26,7 +31,6 @@ interface NativeViewportClient {
|
| // called.
|
| OnSizeChanged(Size size);
|
| OnDestroyed();
|
| - OnEvent(Event event) => ();
|
| };
|
|
|
| }
|
|
|