OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 package org.chromium.content.common; | 5 package org.chromium.content.common; |
6 | 6 |
7 import android.view.Surface; | 7 import android.view.Surface; |
8 | 8 |
9 interface IChildProcessCallback { | 9 interface IChildProcessCallback { |
10 | 10 |
11 // Conduit to pass a Surface from the sandboxed renderer to the plugin. | 11 // Conduit to pass a Surface from the sandboxed renderer to the plugin. |
12 void establishSurfacePeer( | 12 void establishSurfacePeer( |
13 int pid, in Surface surface, int primaryID, int secondaryID); | 13 int pid, in Surface surface, int primaryID, int secondaryID); |
14 | 14 |
15 Surface getViewSurface(int surfaceId); | 15 Surface getViewSurface(int surfaceId); |
| 16 |
| 17 Surface getSurfaceTextureSurface(int surfaceTextureId); |
16 } | 18 } |
OLD | NEW |