blob: 95866f1257ba36ed0529ee2dcacb20b4cfc69938 [file] [log] [blame]
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.content.common;
import org.chromium.content.common.SurfaceWrapper;
import android.view.Surface;
interface IChildProcessCallback {
// Conduit to pass a Surface from the sandboxed renderer to the plugin.
void establishSurfacePeer(
int pid, in Surface surface, int primaryID, int secondaryID);
SurfaceWrapper getViewSurface(int surfaceId);
void registerSurfaceTextureSurface(
int surfaceTextureId, int clientId, in Surface surface);
void unregisterSurfaceTextureSurface(int surfaceTextureId, int clientId);
SurfaceWrapper getSurfaceTextureSurface(int surfaceTextureId, int clientId);
}