1 // Copyright 2014 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 "mojo/services/gles2/command_buffer.mojom"
6 import "mojo/services/public/interfaces/geometry/geometry.mojom"
7 import "mojo/services/public/interfaces/input_events/input_events.mojom"
11 [Client=NativeViewportClient]
12 interface NativeViewport {
17 SetBounds(Rect? bounds);
20 interface NativeViewportClient {
21 OnCreated(uint64 native_viewport_id);
22 OnBoundsChanged(Rect? bounds);
24 OnEvent(Event? event) => ();