| 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.mojom; | 5 module arc.mojom; |
| 6 | 6 |
| 7 interface VideoHost { | 7 interface VideoHost { |
| 8 // Requests an ipc channel from Chrome to be used in the video accelerator. | 8 // Requests an ipc channel from Chrome to be used in the video accelerator. |
| 9 // Replies with |channel_handle| of mojo initial message pipe and |token| for | 9 // Replies with |channel_handle| of mojo initial message pipe and |token| for |
| 10 // creating the client end of VideoAcceleratorService message pipe. | 10 // creating the client end of VideoAcceleratorService message pipe. |
| 11 // Replys invalid handle and empty token if any failure. | 11 // Replys invalid handle and empty token if any failure. |
| 12 [MinVersion=1] | 12 [MinVersion=2] |
| 13 OnRequestArcVideoAcceleratorChannel() => (handle channel_handle, | 13 OnRequestArcVideoAcceleratorChannel() => (handle channel_handle, |
| 14 string token); | 14 string token); |
| 15 }; | 15 }; |
| 16 | 16 |
| 17 interface VideoInstance { | 17 interface VideoInstance { |
| 18 // Establishes full-duplex communication with the host. | 18 // Establishes full-duplex communication with the host. |
| 19 Init(VideoHost host_ptr); | 19 Init(VideoHost host_ptr); |
| 20 }; | 20 }; |
| OLD | NEW |