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.
5 import "../../public/interfaces/geometry/geometry.mojom"
27 [Client=NativeViewportClient]
28 interface NativeViewport {
33 SetBounds(Rect bounds);
34 CreateGLES2Context(handle<message_pipe> gles2_client);
37 interface NativeViewportClient {
39 OnBoundsChanged(Rect bounds);
41 OnEvent(Event event) => ();