| Index: media/base/android/java/src/org/chromium/media/IDialogSurfaceManager.aidl
|
| diff --git a/media/base/android/java/src/org/chromium/media/IDialogSurfaceManager.aidl b/media/base/android/java/src/org/chromium/media/IDialogSurfaceManager.aidl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f0b0de304e89672870fedfb7c413c7ccb8851e57
|
| --- /dev/null
|
| +++ b/media/base/android/java/src/org/chromium/media/IDialogSurfaceManager.aidl
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2016 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.media;
|
| +
|
| +import org.chromium.media.IDialogSurfaceCallback;
|
| +import org.chromium.media.IDialogSurface;
|
| +
|
| +interface IDialogSurfaceManager {
|
| + /**
|
| + * Create a DialogSurface with the given parameters.
|
| + *
|
| + * @param rendererPid pid of the renderer that will own this DialogSurface.
|
| + * @param renderFrameId render frame ID within rendererPid.
|
| + * (pid, frame_id) should be replaced by a single token that's obtained
|
| + * by the renderer.
|
| + * @param callback object to receive callbacks about the surface.
|
| + * @param x Initial position in compositor (not screen) coordinates.
|
| + * @param y Initial position in compositor (not screen) coordinates.
|
| + * @param width Initial width in pixels.
|
| + * @param height Initial height in pixels.
|
| + */
|
| + IDialogSurface createSurface(int rendererPid, int renderFrameId,
|
| + IDialogSurfaceCallback callback, int x, int y, int width, int height);
|
| +}
|
|
|