| 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 org.chromium.content.common.SurfaceWrapper; | 7 import org.chromium.content.common.SurfaceWrapper; |
| 8 import android.view.Surface; | 8 import android.view.Surface; |
| 9 | 9 |
| 10 interface IChildProcessCallback { | 10 interface IChildProcessCallback { |
| 11 | 11 |
| 12 // Conduit to pass a Surface from the sandboxed renderer to the plugin. | 12 // Conduit to pass a Surface from the sandboxed renderer to the plugin. |
| 13 void establishSurfacePeer( | 13 void establishSurfacePeer( |
| 14 int pid, in Surface surface, int primaryID, int secondaryID); | 14 int pid, in Surface surface, int primaryID, int secondaryID); |
| 15 | 15 |
| 16 void forwardSurfaceForSurfaceRequest( | 16 void forwardSurfaceForSurfaceRequest( |
| 17 long requestTokenHigh, long requestTokenLow, in Surface surface); | 17 long requestTokenHigh, long requestTokenLow, in Surface surface); |
| 18 | 18 |
| 19 SurfaceWrapper getViewSurface(int surfaceId); | 19 SurfaceWrapper getViewSurface(int surfaceId); |
| 20 | 20 |
| 21 void registerSurfaceTextureSurface( | 21 void registerSurfaceTextureSurface( |
| 22 int surfaceTextureId, int clientId, in Surface surface); | 22 int surfaceTextureId, int clientId, in Surface surface); |
| 23 | 23 |
| 24 void unregisterSurfaceTextureSurface(int surfaceTextureId, int clientId); | 24 void unregisterSurfaceTextureSurface(int surfaceTextureId, int clientId); |
| 25 | 25 |
| 26 SurfaceWrapper getSurfaceTextureSurface(int surfaceTextureId); | 26 SurfaceWrapper getSurfaceTextureSurface(int surfaceTextureId); |
| 27 |
| 28 // Return the DialogSurfaceManager instance. |
| 29 IBinder getDialogSurfaceManager(); |
| 27 } | 30 } |
| OLD | NEW |