Chromium Code Reviews| 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 a DialogSurface with the given parameters. | |
| 13 * | |
| 14 * @param pid | |
| 15 * @param frame_id | |
| 16 * (pid, frame_id) should be replaced by a single token that's obtained | |
| 17 * by the renderer. | |
| 18 * @param callback object to receive callbacks about the surface. | |
| 19 * @param x Initial position in compositor (not screen) coordinates. | |
| 20 * @param y Initial position in compositor (not screen) coordinates. | |
| 21 * @param width Initial width in pixels. | |
| 22 * @param height Initial height in pixels. | |
| 23 */ | |
| 24 IDialogSurface createSurface(int pid, int frame_id, IDialogSurfaceCallback c allback, int x, int y, int width, int height); | |
|
watk
2016/07/26 21:34:31
could you write rendererPid and renderFrameId to b
liberato (no reviews please)
2016/07/26 22:49:16
Done.
| |
| 25 } | |
| OLD | NEW |