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 [Client=NativeViewportClient]
41 interface NativeViewport {
46 SetBounds(Rect bounds);
47 CreateGLES2Context(handle<message_pipe> gles2_client);
50 interface NativeViewportClient {
52 OnBoundsChanged(Rect bounds);
54 OnEvent(Event event) => ();