OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 arc; | 5 module arc; |
Luis Héctor Chávez
2016/04/14 21:42:14
module arc.mojom;
https://codereview.chromium.org
| |
6 | 6 |
7 interface VideoHost { | 7 interface VideoHost { |
8 // Notifies Chrome a request for ipc channel of video acceleration. | 8 // Requests an ipc channel from Chrome to be used in the video accelerator. |
9 OnRequestArcVideoAcceleratorChannel() => (handle channel_handle); | 9 // Replies with |channel_handle| of mojo initial message pipe and |token| for |
10 // creating the client end of VideoAcceleratorService message pipe. | |
11 // Replys invalid handle and empty token if any failure. | |
12 OnRequestArcVideoAcceleratorChannel() => (handle channel_handle, | |
13 string token); | |
10 }; | 14 }; |
11 | 15 |
12 interface VideoInstance { | 16 interface VideoInstance { |
13 // Establishes full-duplex communication with the host. | 17 // Establishes full-duplex communication with the host. |
14 Init(VideoHost host_ptr); | 18 Init(VideoHost host_ptr); |
15 }; | 19 }; |
OLD | NEW |