Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Side by Side Diff: mojo/services/native_viewport/native_viewport.mojom

Issue 218763002: Change AckEvent into request / response (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix early return Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mojo { 5 module mojo {
6 6
7 struct Point { 7 struct Point {
8 float x; 8 float x;
9 float y; 9 float y;
10 }; 10 };
(...skipping 27 matching lines...) Expand all
38 }; 38 };
39 39
40 [Peer=NativeViewportClient] 40 [Peer=NativeViewportClient]
41 interface NativeViewport { 41 interface NativeViewport {
42 Create(Rect bounds); 42 Create(Rect bounds);
43 Show(); 43 Show();
44 Hide(); 44 Hide();
45 Close(); 45 Close();
46 SetBounds(Rect bounds); 46 SetBounds(Rect bounds);
47 CreateGLES2Context(handle<message_pipe> gles2_client); 47 CreateGLES2Context(handle<message_pipe> gles2_client);
48 AckEvent(Event event);
49 }; 48 };
50 49
51 [Peer=NativeViewport] 50 [Peer=NativeViewport]
52 interface NativeViewportClient { 51 interface NativeViewportClient {
53 OnCreated(); 52 OnCreated();
54 OnBoundsChanged(Rect bounds); 53 OnBoundsChanged(Rect bounds);
55 OnDestroyed(); 54 OnDestroyed();
56 OnEvent(Event event); 55 OnEvent(Event event) => ();
57 }; 56 };
58 57
59 } 58 }
OLDNEW
« no previous file with comments | « mojo/examples/view_manager/view_manager.cc ('k') | mojo/services/native_viewport/native_viewport_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698