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
3 // found in the LICENSE file.
40 [Peer=NativeViewportClient]
41 interface NativeViewport {
46 SetBounds(Rect bounds);
47 CreateGLES2Context(handle<message_pipe> gles2_client);
48 AckEvent(Event event);
52 interface NativeViewportClient {
54 OnBoundsChanged(Rect bounds);