Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / mojo / services / native_viewport / native_viewport.mojom
index 3967aa5..eef750c 100644 (file)
@@ -37,7 +37,7 @@ struct Event {
   TouchData touch_data;
 };
 
-[Peer=NativeViewportClient]
+[Client=NativeViewportClient]
 interface NativeViewport {
   Create(Rect bounds);
   Show();
@@ -45,15 +45,13 @@ interface NativeViewport {
   Close();
   SetBounds(Rect bounds);
   CreateGLES2Context(handle<message_pipe> gles2_client);
-  AckEvent(Event event);
 };
 
-[Peer=NativeViewport]
 interface NativeViewportClient {
   OnCreated();
   OnBoundsChanged(Rect bounds);
   OnDestroyed();
-  OnEvent(Event event);
+  OnEvent(Event event) => ();
 };
 
 }