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 interface IDialogSurface { |
| 8 /** |
| 9 * Close the surface and clean up. This DialogSurface can't be re-used |
| 10 * after this, though additional calls to release() are okay. |
| 11 */ |
| 12 void release(); |
| 13 |
| 14 /** |
| 15 * Return the android Surface, if we have one. |
| 16 */ |
| 17 Surface getSurface(); |
| 18 |
| 19 /** |
| 20 * Schedule an asynchronous layout of the surface. |
| 21 */ |
| 22 void scheduleLayoutSurface(int x, int y, int width, int height); |
| 23 } |
OLD | NEW |