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.IDialogSurfaceController; |
| 9 |
| 10 interface IDialogSurfaceManager { |
| 11 /** |
| 12 * Create a DialogSurfaceController with the given parameters. Once |
| 13 * created, you must wait for a callback telling you that the surface is |
| 14 * ready for use. |
| 15 * |
| 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 IDialogSurfaceController createSurface(IDialogSurfaceCallback callback, int
x, int y, int width, int height); |
| 23 } |
OLD | NEW |