Chromium Code Reviews| 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; |
| 6 | 6 |
| 7 interface VideoHost { | 7 interface VideoHost { |
| 8 // Notifies Chrome a request for ipc channel of video acceleration. | 8 // Notifies Chrome a request for ipc channel of video acceleration. |
|
Owen Lin
2016/03/14 08:45:52
... for an ipc channel ... ?
But why the name is
kcwu
2016/03/14 12:55:49
The naming "On..." follows other arc interfaces (*
| |
| 9 OnRequestArcVideoAcceleratorChannel() => (handle channel_handle); | 9 OnRequestArcVideoAcceleratorChannel(uint32 pid) => (handle channel_handle, |
| 10 string token); | |
| 10 }; | 11 }; |
| 11 | 12 |
| 12 interface VideoInstance { | 13 interface VideoInstance { |
| 13 // Establishes full-duplex communication with the host. | 14 // Establishes full-duplex communication with the host. |
| 14 Init(VideoHost host_ptr); | 15 Init(VideoHost host_ptr); |
| 15 }; | 16 }; |
| OLD | NEW |