OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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.media; |
| 6 |
| 7 import org.chromium.media.IDialogSurfaceCallback; |
| 8 import org.chromium.media.IDialogSurface; |
| 9 |
| 10 interface IDialogSurfaceManager { |
| 11 /** |
| 12 * Create an IDialogSurface with the given parameters. |
| 13 * |
| 14 * @param rendererPid pid of the renderer that will own this DialogSurface. |
| 15 * @param renderFrameId render frame ID within rendererPid. |
| 16 * @param callback object to receive callbacks about the surface. |
| 17 * @param x Initial position in compositor (not screen) coordinates. |
| 18 * @param y Initial position in compositor (not screen) coordinates. |
| 19 * @param width Initial width in pixels. |
| 20 * @param height Initial height in pixels. |
| 21 */ |
| 22 IDialogSurface createSurface(int rendererPid, int renderFrameId, |
| 23 IDialogSurfaceCallback callback, int x, int y, int width, int height
); |
| 24 } |
OLD | NEW |