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

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

Issue 131153007: Send size to NativeViewportClient::OnCreated instead of GLES2Client::DidCreateContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix TODO Created 6 years, 11 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 12 matching lines...) Expand all
23 [Peer=NativeViewportClient] 23 [Peer=NativeViewportClient]
24 interface NativeViewport { 24 interface NativeViewport {
25 void Open(); 25 void Open();
26 void Close(); 26 void Close();
27 void CreateGLES2Context(handle<message_pipe> gles2_client); 27 void CreateGLES2Context(handle<message_pipe> gles2_client);
28 void AckEvent(Event event); 28 void AckEvent(Event event);
29 }; 29 };
30 30
31 [Peer=NativeViewport] 31 [Peer=NativeViewport]
32 interface NativeViewportClient { 32 interface NativeViewportClient {
33 void OnCreated(); 33 void OnCreated(uint32 width, uint32 height);
34 void OnDestroyed(); 34 void OnDestroyed();
35 void OnEvent(Event event); 35 void OnEvent(Event event);
36 }; 36 };
37 37
38 } 38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698