0600a4dd260a4d73644d6cc5c18de6adb1339ecb
[platform/framework/web/crosswalk.git] / src / content / public / android / java / src / org / chromium / content / common / IChildProcessCallback.aidl
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
3 // found in the LICENSE file.
4
5 package org.chromium.content.common;
6
7 import org.chromium.content.common.SurfaceWrapper;
8 import android.view.Surface;
9
10 interface IChildProcessCallback {
11
12   // Conduit to pass a Surface from the sandboxed renderer to the plugin.
13   void establishSurfacePeer(
14       int pid, in Surface surface, int primaryID, int secondaryID);
15
16   SurfaceWrapper getViewSurface(int surfaceId);
17
18   void registerSurfaceTextureSurface(
19       int surfaceTextureId, int clientId, in Surface surface);
20
21   void unregisterSurfaceTextureSurface(int surfaceTextureId, int clientId);
22
23   SurfaceWrapper getSurfaceTextureSurface(int surfaceTextureId);
24 }